AI & Integrations

Hosted MCP & skill.md

Give an agent a typed tool surface and a readable spec. No local server, no copied endpoint list.

POST https://api.cleanfetch.dev/mcpSame credit rule as REST
auth: x-api-keycontent-type: application/jsonenvelope: data + meta

Parameters

NameTypeRequiredDescription
toolstringyesTool name, for example linkedin_profile.
argumentsobjectyesTool arguments, matching the REST query parameters.
request.sh
curl -s "https://api.cleanfetch.dev/mcp" \
  -H "content-type: application/json" \
  -H "x-api-key: cf_live_your_key_here" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"linkedin_profile","arguments":{"url":"https://www.linkedin.com/in/williamhgates"}}}'
response.json
200 OK / application/json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"name\":\"Bill Gates\",\"followers\":41200000}"
      }
    ],
    "isError": false
  }
}

Connect

Point a Streamable HTTP MCP client at https://api.cleanfetch.dev/mcp and send the same x-api-key header. The server exposes one tool per public resource, with JSON Schema inputs generated from the REST parameters.

Discover tools

Call tools/list to get names, descriptions and input schemas. Tool names use platform_resource, for example linkedin_profile, youtube_transcript and reddit_thread. The catalog updates when new endpoints ship.

skill.md

Open https://cleanfetch.dev/skill.md for a compact, human-readable contract: auth, envelope, credit rules, retry policy and a short list of example calls. Hand it to an agent that supports file or URL context.

Billing

MCP calls use the same credits as REST. The tool result includes the standard meta block, so an agent can see creditsCharged and lookupStatus without a second request.

ready