Integrations
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/mcpConnect
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.