> ## Documentation Index
> Fetch the complete documentation index at: https://docs.geekflare.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP Server

> Connect Geekflare to AI assistants and coding tools using the Model Context Protocol (MCP).

The Geekflare MCP server exposes all Geekflare tools — web scraping, search, screenshots, DNS lookups, and more directly inside AI assistants and coding tools that support the [Model Context Protocol](https://modelcontextprotocol.io).

Once connected, you can ask your AI assistant to scrape a page, search the internet, or check DNS records without leaving your editor or chat interface.

## Connection Methods

<CardGroup cols={2}>
  <Card title="Remote URL" icon="globe">
    Point your client directly at the hosted MCP
    server. `https://mcp.geekflare.com/{API_KEY}/mcp`
  </Card>

  <Card title="Local via npx" icon="terminal">
    Run the MCP server locally using Node.js. No global install needed. `bash
            npx -y @geekflare/mcp `
  </Card>
</CardGroup>

## Available Tools

| Tool | Description |
| - | - |
| `webScrape` | Scrape full page content — Markdown, HTML, JSON, or LLM-ready text |
| `metaScrape` | Extract meta tags, Open Graph, and Twitter card data |
| `screenshot` | Capture full-page screenshots with ad blocking and CAPTCHA bypass |
| `search` | Web, news, and image search with optional AI-grounded answers or full Google SERP results |
| `brand` | Extract brand data such as logos, colors, fonts, and social profiles |
| `dnsRecord` | Look up A, AAAA, CNAME, MX, TXT, and other DNS records |
| `siteStatus` | Check if a site is up or down from any location |
| `redirectCheck` | Trace the full redirect chain of a URL |
| `brokenLink` | Find all broken links on a webpage |
| `url2Pdf` | Convert any URL to a downloadable PDF |
| `openPorts` | Scan open ports on a host |
| `tlsScan` | Inspect TLS/SSL configuration and certificate details |
| `loadTime` | Measure full page load time from any location |
| `ttfb` | Measure Time To First Byte (TTFB) |
| `httpHeader` | Retrieve HTTP response headers |
| `httpProtocol` | Detect HTTP/1.1, HTTP/2, and HTTP/3 support |
| `mixedContent` | Find HTTP resources loaded on HTTPS pages |
| `dnsSec` | Check DNSSEC configuration |
| `mtr` | Run MTR network diagnostic tests |
| `ping` | Ping a host and return latency |
| `lighthouse` | Run Lighthouse audits for performance, SEO, and accessibility |

## Client Guides

<CardGroup cols={2}>
  <Card title="Cursor" icon="arrow-pointer" href="/mcp/cursor" />

  <Card title="Claude Desktop" icon="robot" href="/mcp/claude-desktop" />

  <Card title="Claude Code" icon="terminal" href="/mcp/claude-code" />

  <Card title="Devin Desktop" icon="wind" href="/mcp/windsurf" />

  <Card title="VS Code" icon="code" href="/mcp/vscode" />

  <Card title="Cline" icon="brackets-curly" href="/mcp/cline" />

  <Card title="Roo Code" icon="kangaroo" href="/mcp/roo-code" />

  <Card title="Zed" icon="bolt" href="/mcp/zed" />

  <Card title="n8n" icon="diagram-project" href="/mcp/n8n" />

  <Card title="BoltAI" icon="bolt" href="/mcp/boltai" />

  <Card title="LM Studio" icon="brain" href="/mcp/lm-studio" />

  <Card title="Amazon Q" icon="amazon" href="/mcp/amazon-q" />

  <Card title="Others" icon="ellipsis" href="/mcp/others" />
</CardGroup>

## Test Your Connection

Use the official MCP Inspector to verify your server is running and tools are accessible.

**Option 1 — Remote server**

```bash theme={null}
npx @modelcontextprotocol/inspector https://mcp.geekflare.com/YOUR_API_KEY/mcp
```

**Option 2 — Local server**

```bash theme={null}
API_KEY=YOUR_API_KEY npx @modelcontextprotocol/inspector npx @geekflare/mcp
```

This opens a browser UI at `http://localhost:5173` where you can:

1. Click **Connect** to establish the connection
2. Go to the **Tools** tab to see all 20 available tools
3. Click any tool and run it with a test URL to verify it works

<Info>
  Replace `YOUR_API_KEY` with your Geekflare API key. Get one at
  [geekflare.com/api/](https://geekflare.com/api/).
</Info>

## Get Your API Key

<Card title="Get your API key" icon="key" href="https://auth.geekflare.com/register?service=geekflare_api">
  Sign up for a free account to generate your key.
</Card>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.