# readfetch

> readfetch is a paid MCP server for web search and scraping. Stdio proxy that pays ReadFetch tools in USDC over x402 for hosts that can't sign payments. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** CLI, API
- **Repository:** https://github.com/readfetch/mcp-x402-proxy
- **MCP Registry name:** io.github.readfetch/mcp-x402-proxy
- **Categories:** [web search and scraping](https://ai-powered.com/categories/web-search-and-scraping), [finance and payments](https://ai-powered.com/categories/finance-and-payments)
- **Listing updated:** 2026-11-23

## About

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.

## Features

- **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

## Install

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

```sh
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.

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

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

### Claude Desktop (claude_desktop_config.json)

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

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

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

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

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

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

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

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

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

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

```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

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

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

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

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

### Cline (cline_mcp_settings.json)

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

### Zed (Zed settings.json)

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

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

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

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

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

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

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

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

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

## Tools

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.

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

## 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.
- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [acrawl](https://ai-powered.com/mcp/acrawl): acrawl is an open-source MCP server for browser automation.
- [NostrPulse](https://ai-powered.com/mcp/nostrpulse): NostrPulse is an open-source MCP server for finance and payments.

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