Skip to content
MCP serverOfficial: Published to the official MCP Registry by the GitHub account or domain it is named after, which owns its code or website.

readfetch

Stdio proxy that pays ReadFetch tools in USDC over x402 for hosts that can't sign payments

Runs locally

readfetch is a paid MCP server for web search and scraping. It runs locally on your machine and is started by your AI client.

Pricing
Paid
Platforms
CLI, API
Runs
Locally
Version
0.1.17
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add mcp-x402-proxy --env EVM_PRIVATE_KEY='<EVM_PRIVATE_KEY>' -- npx -y @readfetch/mcp-x402-proxy

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-x402-proxy": {
      "command": "npx",
      "args": [
        "-y",
        "@readfetch/mcp-x402-proxy"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>"
      }
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-x402-proxy": {
      "command": "npx",
      "args": [
        "-y",
        "@readfetch/mcp-x402-proxy"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>"
      }
    }
  }
}

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

Claude Desktop setup guide

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-x402-proxy": {
      "command": "npx",
      "args": [
        "-y",
        "@readfetch/mcp-x402-proxy"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "<EVM_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-x402-proxy": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@readfetch/mcp-x402-proxy"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "<EVM_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-x402-proxy --env EVM_PRIVATE_KEY='<EVM_PRIVATE_KEY>' -- npx -y @readfetch/mcp-x402-proxy

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.mcp-x402-proxy]
command = "npx"
args = ["-y", "@readfetch/mcp-x402-proxy"]
env = { EVM_PRIVATE_KEY = "<EVM_PRIVATE_KEY>" }

Codex setup guide

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

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

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "mcp-x402-proxy": {
          "command": "npx",
          "args": [
            "-y",
            "@readfetch/mcp-x402-proxy"
          ],
          "env": {
            "EVM_PRIVATE_KEY": "<EVM_PRIVATE_KEY>"
          }
        }
      }
    }

    Or run: gemini mcp add -s user -e EVM_PRIVATE_KEY='<EVM_PRIVATE_KEY>' mcp-x402-proxy npx -- -y @readfetch/mcp-x402-proxy

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "mcp-x402-proxy": {
          "command": "npx",
          "args": [
            "-y",
            "@readfetch/mcp-x402-proxy"
          ],
          "env": {
            "EVM_PRIVATE_KEY": "<EVM_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-x402-proxy": {
          "command": "npx",
          "args": [
            "-y",
            "@readfetch/mcp-x402-proxy"
          ],
          "env": {
            "EVM_PRIVATE_KEY": "<EVM_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-x402-proxy": {
          "command": "npx",
          "args": [
            "-y",
            "@readfetch/mcp-x402-proxy"
          ],
          "env": {
            "EVM_PRIVATE_KEY": "<EVM_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-x402-proxy": {
          "command": "npx",
          "args": [
            "-y",
            "@readfetch/mcp-x402-proxy"
          ],
          "env": {
            "EVM_PRIVATE_KEY": "<EVM_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-x402-proxy": {
          "command": "npx",
          "args": [
            "-y",
            "@readfetch/mcp-x402-proxy"
          ],
          "env": {
            "EVM_PRIVATE_KEY": "<EVM_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-x402-proxy": {
          "command": "npx",
          "args": [
            "-y",
            "@readfetch/mcp-x402-proxy"
          ],
          "env": {
            "EVM_PRIVATE_KEY": "<EVM_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-x402-proxy": {
          "command": "npx",
          "args": [
            "-y",
            "@readfetch/mcp-x402-proxy"
          ],
          "env": {
            "EVM_PRIVATE_KEY": "<EVM_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

  • EVM_PRIVATE_KEYBase mainnet wallet for paid tools; omit for readfetch_probe and tools/list only
  • READFETCH_MAX_PAYMENT_USDMaximum USD per x402 authorization (default 1, max 100)
  • READFETCH_MCP_URLUpstream MCP URL for tools/list (default https://readfetch.com/mcp)
  • READFETCH_DEVSet to 1 for localhost/Sepolia dev only; never with production READFETCH_MCP_URL

About readfetch

Most MCP hosts cannot attach a payment signature to a tool call, so ReadFetch's paid tools would hit an HTTP 402 and stop. This proxy runs locally over stdio, lists the tools from readfetch.com/mcp, runs each call against the matching /v1 endpoint, and signs the x402 payment retry with a wallet key you provide.

The default path is readfetch_probe (free, may include a preview of about 400 characters), then readfetch_text for the same URL. If the probe reports a bot challenge, the README points to readfetch_scrape, then readfetch_scrape_residential. Paid calls draw USDC on Base mainnet. Listing tools does not load your key; the first paid call does.

The README warns that any tool the model invokes can spend from the wallet until it is empty, subject to a per-payment cap (default $1, up to $100), so use a dedicated low-balance wallet. Upstream redirects are rejected, and payments must match the expected payee. Requires Node.js 20 or later.

Tools this server provides (6)

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

From the tool list in its README, going by the names, 6 names don't say.

From the server's own tool labels and tool names; not verified by us.

readfetch_probe
Free check of a URL that may include a preview of about 400 characters.
readfetch_text
Paid fetch of a page's text.
readfetch_scrape
Paid scrape used when the probe reports a bot challenge.
readfetch_scrape_residential
Paid scrape through residential routing when needed.
readfetch_crawl
Paid crawl tool that can spend from the wallet.
readfetch_feedback
Free tool to report integration issues with a request ID.

What it does

x402 signing
Signs payment retries automatically after a 402 response.
Free probe
Checks a URL and may return a short preview before any paid call.
Per-payment cap
READFETCH_MAX_PAYMENT_USD limits each authorization, default $1.
Payee and host checks
Rejects upstream redirects and requires payments to match the expected payee.
Free feedback tool
Report integration problems without a wallet key.

Good for

  • Let an agent fetch page text from a host that cannot sign payments
  • Pay per call for scraping with a small USDC balance
  • Probe a URL for a bot wall before choosing a scrape tool
  • Cap what an agent can spend per request

Pricing

Paid

Pay-per-call in USDC on Base; per-call prices not published here

readfetch FAQ

What do I need to run paid tools?

A Base mainnet wallet with some USDC and its private key in EVM_PRIVATE_KEY, plus Node.js 20 or later.

Can the agent drain my wallet?

The README says tools can spend USDC until the wallet is empty, within the per-payment cap, so use a dedicated low-balance wallet.

Is anything free?

Yes, readfetch_probe, readfetch_feedback and tool listing need no key.

What is the default spending cap?

$1 per x402 authorization, configurable up to $100.

How do I add readfetch to Claude Code?

Run this command in your terminal: claude mcp add mcp-x402-proxy --env EVM_PRIVATE_KEY='<EVM_PRIVATE_KEY>' -- npx -y @readfetch/mcp-x402-proxy

What are the best alternatives to readfetch?

The closest alternatives to readfetch are Scrapling MCP Server, Firecrawl MCP Server, Douyin_TikTok_Download_API, SearXNG Search and Solana MCP by Vybe.

Where this comes from

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

How AIPoweredBot checks servers