# ClawFetch

> ClawFetch is an open-source MCP server for web search and scraping. Pay-per-call web fetch, render, extraction and research tools for agents via x402. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted, API
- **Repository:** https://github.com/clawfetch/clawfetch-mcp
- **MCP Registry name:** ai.clawfetch/mcp
- **Categories:** [web search and scraping](https://ai-powered.com/categories/web-search-and-scraping)
- **Listing updated:** 2026-11-23

## About

Each call is paid for individually with USDC on Base through the x402 protocol, so there are no API keys or billing dashboards, only a wallet. You supply an EVM private key in `CLAWFETCH_PRIVATE_KEY`; the README says to keep it in local configuration and never submit it to the ClawFetch website.

The README states that the public hosted MCP endpoint is retired and returns HTTP 410 Gone. The package therefore runs locally over stdio, or as a local Streamable HTTP server on port 3001 that binds to 127.0.0.1 and checks Host headers to block DNS rebinding.

Prices listed per call range from $0.001 for fetching a page as markdown to $0.02 for multi-source research or company enrichment. Extractors cover GitHub, npm, PyPI, X, LinkedIn, YouTube, Product Hunt, Hacker News, Reddit, Crunchbase, Wikipedia and more.

## Features

- **Page fetching:** `fetch_url` returns any URL as clean markdown.
- **JavaScript rendering:** `render_page` handles SPAs and React apps.
- **Structured extraction:** `extract_data` pulls fields from 17+ site types.
- **Topic research:** `research_topic` gathers multi-source results with citations.
- **Domain checks:** Check availability and generate suggestions.
- **Document parsing:** `parse_document` converts office docs and PDFs to markdown.

## Good for

- Turn a web page into markdown for an agent
- Pull structured data from a GitHub or npm page
- Research a topic with citations
- Find an available domain name
- Enrich a company profile from its domain

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add mcp --env CLAWFETCH_PRIVATE_KEY='<CLAWFETCH_PRIVATE_KEY>' -- npx -y @clawfetch/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@clawfetch/mcp"
      ],
      "env": {
        "CLAWFETCH_PRIVATE_KEY": "<CLAWFETCH_PRIVATE_KEY>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@clawfetch/mcp"
      ],
      "env": {
        "CLAWFETCH_PRIVATE_KEY": "<CLAWFETCH_PRIVATE_KEY>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@clawfetch/mcp"
      ],
      "env": {
        "CLAWFETCH_PRIVATE_KEY": "<CLAWFETCH_PRIVATE_KEY>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@clawfetch/mcp"
      ],
      "env": {
        "CLAWFETCH_PRIVATE_KEY": "<CLAWFETCH_PRIVATE_KEY>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp --env CLAWFETCH_PRIVATE_KEY='<CLAWFETCH_PRIVATE_KEY>' -- npx -y @clawfetch/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "@clawfetch/mcp"]
env = { CLAWFETCH_PRIVATE_KEY = "<CLAWFETCH_PRIVATE_KEY>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@clawfetch/mcp"
      ],
      "env": {
        "CLAWFETCH_PRIVATE_KEY": "<CLAWFETCH_PRIVATE_KEY>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e CLAWFETCH_PRIVATE_KEY='<CLAWFETCH_PRIVATE_KEY>' mcp npx -- -y @clawfetch/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@clawfetch/mcp"
      ],
      "env": {
        "CLAWFETCH_PRIVATE_KEY": "<CLAWFETCH_PRIVATE_KEY>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@clawfetch/mcp"
      ],
      "env": {
        "CLAWFETCH_PRIVATE_KEY": "<CLAWFETCH_PRIVATE_KEY>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@clawfetch/mcp"
      ],
      "env": {
        "CLAWFETCH_PRIVATE_KEY": "<CLAWFETCH_PRIVATE_KEY>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@clawfetch/mcp"
      ],
      "env": {
        "CLAWFETCH_PRIVATE_KEY": "<CLAWFETCH_PRIVATE_KEY>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@clawfetch/mcp"
      ],
      "env": {
        "CLAWFETCH_PRIVATE_KEY": "<CLAWFETCH_PRIVATE_KEY>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@clawfetch/mcp"
      ],
      "env": {
        "CLAWFETCH_PRIVATE_KEY": "<CLAWFETCH_PRIVATE_KEY>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@clawfetch/mcp"
      ],
      "env": {
        "CLAWFETCH_PRIVATE_KEY": "<CLAWFETCH_PRIVATE_KEY>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@clawfetch/mcp"
      ],
      "env": {
        "CLAWFETCH_PRIVATE_KEY": "<CLAWFETCH_PRIVATE_KEY>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 4 of 11 tools read data; 7 names don't say. From the server's own tool labels and tool names; not verified by us.

- `fetch_url` (name suggests: reads): Fetch any URL as clean markdown
- `render_page`: Render JS-heavy pages
- `extract_data`: Extract structured data from 17+ site types
- `research_topic`: Multi-source research with citations
- `check_domains` (name suggests: reads): Check domain name availability
- `suggest_domains`: Generate available domain suggestions
- `parse_document`: Parse office docs and PDFs to markdown
- `enrich_company`: Company profile from a domain
- `list_extractors` (name suggests: reads): List supported extractors
- `health_check` (name suggests: reads): Check API health
- `wallet_info`: Show payment wallet address

## FAQ

### Is there a hosted endpoint?

No. The README says the public hosted MCP endpoint is retired and returns HTTP 410; run it locally or call api.clawfetch.ai directly.

### How is ClawFetch paid for?

Per call in USDC on Base using x402, from a wallet whose private key you provide.

### What does a call cost?

From $0.001 for fetch_url up to $0.02 for research_topic and enrich_company; health_check and wallet_info are free.

### What licence is ClawFetch?

MIT.

### How do I add ClawFetch to Claude Code?

Run this command in your terminal: claude mcp add mcp --env CLAWFETCH_PRIVATE_KEY='<CLAWFETCH_PRIVATE_KEY>' -- npx -y @clawfetch/mcp

### What are the best alternatives to ClawFetch?

The closest alternatives to ClawFetch are Scrapling MCP Server, Firecrawl MCP Server, Douyin_TikTok_Download_API, SearXNG Search and acrawl.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Scrapling MCP Server](https://ai-powered.com/mcp/scrapling-mcp-server): Scrapling MCP Server is an open-source MCP server for web search and scraping.
- [Firecrawl MCP Server](https://ai-powered.com/mcp/firecrawl-mcp-server): Firecrawl MCP Server is a freemium MCP server for web search and scraping.
- [Douyin_TikTok_Download_API](https://ai-powered.com/mcp/douyin-tiktok-download-api): Douyin_TikTok_Download_API is an open-source MCP server for web search and scraping.
- [SearXNG Search](https://ai-powered.com/mcp/searxng-search): SearXNG Search is an open-source MCP server for web search and scraping.
- [acrawl](https://ai-powered.com/mcp/acrawl): acrawl is an open-source MCP server for browser automation.
- [machine_internet](https://ai-powered.com/mcp/machine-internet): machine_internet is an open-source MCP server for web search and scraping.
- [Google Maps Reviews Scraper — New Review Alerts](https://ai-powered.com/mcp/google-maps-reviews-scraper-new-review-alerts): Google Maps Reviews Scraper — New Review Alerts is a paid MCP server for web search and scraping.
- [OnTheMarket Property Scraper — New Listings & Price-Drop Alerts](https://ai-powered.com/mcp/onthemarket-property-scraper-new-listings-and-price-drop-ale): OnTheMarket Property Scraper — New Listings & Price-Drop Alerts is a paid MCP server for web search and scraping.

---
Source: https://ai-powered.com/mcp/clawfetch
