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

> Add Geekflare MCP server to Claude Code for scraping websites, searching the internet, and retrieving brand details in your terminal.

[Claude Code](https://docs.anthropic.com/claude-code) is Anthropic's agentic coding tool that runs in your terminal. With Geekflare MCP connected, Claude Code can scrape pages, run searches, and look up DNS records as part of any agentic coding task.

## Setup

<Tabs>
  <Tab title="Remote URL (Recommended)">
    ```bash theme={null}
    claude mcp add --transport http geekflare \
      https://mcp.geekflare.com/YOUR_API_KEY/mcp
    ```
  </Tab>

  <Tab title="Local via npx">
    ```bash theme={null}
    claude mcp add geekflare \
      -e API_KEY=YOUR_API_KEY \
      -- npx -y @geekflare/mcp
    ```
  </Tab>
</Tabs>

Replace `YOUR_API_KEY` with your Geekflare API key.

## Verify Installation

Run:

```bash theme={null}
claude mcp list
```

You should see `geekflare` in the list of configured MCP servers.

## Usage Examples

Claude Code automatically uses Geekflare tools when relevant. You can also prompt it explicitly.

### Scrape a Webpage

```bash theme={null}
claude "Scrape https://example.com and extract all links on the page."
```

### DNS Lookup

```bash theme={null}
claude "Look up the MX records for resend.com"
```

### Search the Web

```bash theme={null}
claude "Search for the latest UK news"
```

### Take a Screenshot

```bash theme={null}
claude "Take a screenshot of https://stripe.com/pricing and give me pricing for international payments."
```

## Remove the Server

```bash theme={null}
claude mcp remove geekflare
```
