Skip to content
MCP server

ClawFetch

Pay-per-call web fetch, render, extraction and research tools for agents via x402

Runs locally

ClawFetch is an open-source MCP server for web search and scraping. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, Self-hosted, API
Runs
Locally
Access
Needs a secret key or token
Version
0.4.0

Similar MCP servers

Install

Add with the CLI

Run in a terminal

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.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

Add to claude_desktop_config.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.

Claude Desktop setup guide

Add to ~/.cursor/mcp.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.

Cursor setup guide

Add to ~/.copilot/mcp-config.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.

VS Code setup guide

Add with the CLI

Run in a terminal

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

Or add to config.toml

Add to ~/.codex/config.toml

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

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@clawfetch/mcp"
      ],
      "env": {
        "CLAWFETCH_PRIVATE_KEY": "<CLAWFETCH_PRIVATE_KEY>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.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

    Antigravity

    Add to ~/.gemini/config/mcp_config.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.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.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.

    Cline setup guide

  • Zed

    Add to Zed settings.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.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "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.

    Junie

    Add to ~/.junie/mcp/mcp.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.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.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.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • CLAWFETCH_PRIVATE_KEYEVM private key for a Base wallet holding USDC (pays x402 micropayments gaslessly)Required

About ClawFetch

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.

Tools this server provides (11)

Taken from the project documentation; the running server may differ.

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_urlName 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_domainsName 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_extractorsName suggests: reads
List supported extractors
health_checkName suggests: reads
Check API health
wallet_info
Show payment wallet address

What it does

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

Pricing

Open source

MIT-licensed package; tool calls cost $0.001 to $0.02 each in USDC on Base.

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

How AIPoweredBot checks servers