CleanFetch
Öffentliche Webdaten-API und gehosteter MCP-Server: 85 Netzwerke, 1.111 Operationen, ein Schlüssel und ein JSON-Umschlag mit Credits und Latenz in jeder Antwort.
Gehosteter MCP-Server
npx add-mcp 'https://api.cleanfetch.dev/mcp'Installiert in Claude Code, Codex, Cursor und mehr
Dokumentation
MCP server
Four context-saving tools cover the whole catalog. Connect over hosted HTTP or a local stdio proxy, then let the client search before it spends credits.
POST https://api.cleanfetch.dev/mcp
Two transports, one server
Remote Streamable HTTP needs no install: point the client at https://api.cleanfetch.dev/mcp with x-api-key. The stdio proxy cleanfetch-mcp runs locally with npx and forwards to the same hosted server, for clients that only speak stdio.
The four tools
cleanfetch_search_endpoints searches ids, platforms, paths and titles and costs 0 credits. cleanfetch_call runs any catalog operation with one params object and charges its catalog price. cleanfetch_ask turns a plain-English question into matching endpoints for 0 credits. cleanfetch_balance reads the key balance and paid status for 0 credits. There is no tool per endpoint anymore; the catalog is discovered at runtime.
Cursor
Use the one-click button above, or add the server to ~/.cursor/mcp.json and replace the key. Cursor shows the four tools immediately because discovery does not require a key.
Cursor / Windsurf / Claude Desktop
{
"mcpServers": {
"cleanfetch": {
"command": "npx",
"args": ["-y", "cleanfetch-mcp"],
"env": { "CLEANFETCH_API_KEY": "cf_live_your_key" }
}
}
}
Claude Code
Register the stdio server for the current project. Claude Code inherits the environment variable on each run.
Terminal
claude mcp add cleanfetch \
--env CLEANFETCH_API_KEY=cf_live_your_key \
-- npx -y cleanfetch-mcp
VS Code
VS Code asks for the key once and stores it in its own secret storage. The install link above writes the same config; this is the manual form for.vscode/mcp.json.
.vscode/mcp.json
{
"servers": {
"cleanfetch": {
"type": "stdio",
"command": "npx",
"args": ["-y", "cleanfetch-mcp"],
"env": { "CLEANFETCH_API_KEY": "${input:cleanfetch-key}" }
}
},
"inputs": [
{
"id": "cleanfetch-key",
"type": "promptString",
"description": "CleanFetch API key",
"password": true
}
]
}
Codex
Codex reads MCP servers from ~/.codex/config.toml. Use the same package and key.
~/.codex/config.toml
[mcp_servers.cleanfetch]
command = "npx"
args = ["-y", "cleanfetch-mcp"]
env = { CLEANFETCH_API_KEY = "cf_live_your_key" }
Discovery without a key
initialize and tools/list are open so Smithery, PulseMCP, Glama and the official registry can inspect the server, and so a new client can show the tool list before the user signs in. A billing tool without a key returns a normal tool error that links to https://cleanfetch.dev/settings/apikeys; it does not tear down the MCP session.
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.
Directory listings
Third-party MCP directories index this server so client users can find it without a URL. Each listing resolves to the hosted endpoint POST https://api.cleanfetch.dev/mcp with the same key, billing and cache rules.