> ## 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.

# Claude Desktop

> Connect Geekflare API to Claude Desktop using MCP to give web context, take a screenshot, run network test, and more.

[Claude Desktop](https://claude.ai/download) is Anthropic's native desktop app for Mac and Windows. With the Geekflare MCP server connected, Claude can use web scraping, search, DNS lookups, and screenshots as tools in any conversation.

<Info>MCP support in Claude Desktop requires a **Pro plan** or higher.</Info>

## Setup

<Steps>
  <Step title="Open the config file">
    * **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
    * **Windows:** `%APPDATA%\Claude\claude_desktop_config.json`

    If the file doesn't exist, create it.
  </Step>

  <Step title="Add the Geekflare MCP server">
    <Tabs>
      <Tab title="Remote URL (Recommended)">
        ```json theme={null}
        {
          "mcpServers": {
            "geekflare": {
              "url": "https://mcp.geekflare.com/YOUR_API_KEY/mcp"
            }
          }
        }
        ```
      </Tab>

      <Tab title="Local via npx">
        Requires [Node.js](https://nodejs.org) installed locally.

        ```json theme={null}
        {
          "mcpServers": {
            "geekflare": {
              "command": "npx",
              "args": ["-y", "@geekflare/mcp"],
              "env": {
                "API_KEY": "YOUR_API_KEY"
              }
            }
          }
        }
        ```
      </Tab>
    </Tabs>

    Replace `YOUR_API_KEY` with your Geekflare API key.
  </Step>

  <Step title="Restart Claude Desktop">
    Quit and reopen Claude Desktop. You should see a tools icon (🔧) in the chat input bar confirming the server is connected.
  </Step>
</Steps>

## Usage Examples

Once connected, ask Claude naturally in any conversation:

**Scrape a webpage**

```
Scrape https://news.ycombinator.com and give me a summary of the top stories.
```

**Search with grounded answer**

```
Search for "Claude MCP tutorial" and give me a grounded answer about what MCP is.
```

**Screenshot**

```
Take a screenshot of https://apple.com and describe the layout.
```

**Metadata scraping**

```
Fetch the meta tags from https://sonos.com and tell me the SEO title and description.
```

## Troubleshooting

**Tools icon not visible** — Make sure you are on a Pro plan. MCP is not available on the free tier.

**`spawn npx ENOENT` error** — Node.js is not installed or not in your PATH. Install it from [nodejs.org](https://nodejs.org), then fully restart Claude Desktop. On Windows, you can use the full path to npx (e.g. `C:\\Program Files\\nodejs\\npx.cmd`) as the `command` value.

**Connection refused on remote URL** — Check that your API key is valid at [API Dashboard](https://dash.geekflare.com).
