CleanFetch

Public web data API and hosted MCP server: 85 networks, 1,111 operations, one key and one JSON envelope with credits and latency in every response.

Hosted MCP Server

npx add-mcp 'https://api.cleanfetch.dev/mcp'

Installs into Claude Code, Codex, Cursor and more

Documentation

Hosted MCP

Use all 1111 endpoints as typed tools from an MCP client. Billing, cache and limits match REST exactly.

POST https://api.cleanfetch.dev/mcp

Connect

Add a streamable HTTP MCP server at https://api.cleanfetch.dev/mcp. Authenticate with x-api-key or Authorization: Bearer <api-key>. The server exposes one tool per live endpoint, named with an underscore instead of a slash.

Tool calls

Each tool accepts the same query parameters as its REST endpoint and returns structuredContent plus a text JSON block. Tool errors use the REST status and error code, including plan_required, free_tier_exhausted and rate_limited.

No separate bill

MCP calls pass through the same gateway as REST. There is no second credit pool and no separate cache. A cached tool result costs zero and a 5xx tool result is not charged.