BUILD WITH AI AGENTS

Let your agent fetch the data.

Connect FetchGoblin to Claude, Cursor or any MCP client. Your agent can find the right endpoint, check its cost and return structured public data from TikTok, Instagram, YouTube, X, Reddit, LinkedIn and 30 more platforms.

One remote MCP server.

The server uses Streamable HTTP at https://fetchgoblin.com/mcp. Send your API key in the x-api-key header, or as Authorization: Bearer. You don't need a key to browse the catalog. Running an endpoint needs a key and uses that endpoint's normal credit cost.

ToolWhat it doesCost
search_endpointsFind endpoints by task, for example “tiktok comments” or “youtube transcript”.Free
get_endpointParameters, body schema, cost and an example response for one endpoint.Free
call_endpointRun an endpoint with your key and return its JSON result.Endpoint cost
get_balanceRemaining credits, key platform scope and the top-up link.Free

Create an account to get 50 free trial credits, then create a key in the dashboard.

Add it to your client.

Claude Code

claude mcp add --transport http fetchgoblin https://fetchgoblin.com/mcp \
  --header "x-api-key: $FETCHGOBLIN_API_KEY"

Cursor

Add this to ~/.cursor/mcp.json or your project's .cursor/mcp.json.

{
  "mcpServers": {
    "fetchgoblin": {
      "url": "https://fetchgoblin.com/mcp",
      "headers": {
        "x-api-key": "YOUR_FETCHGOBLIN_API_KEY"
      }
    }
  }
}

VS Code

Add this to .vscode/mcp.json. VS Code asks for the key once and stores it securely.

{
  "inputs": [
    {
      "type": "promptString",
      "id": "fetchgoblin-key",
      "description": "FetchGoblin API key",
      "password": true
    }
  ],
  "servers": {
    "fetchgoblin": {
      "type": "http",
      "url": "https://fetchgoblin.com/mcp",
      "headers": {
        "x-api-key": "${input:fetchgoblin-key}"
      }
    }
  }
}

Claude Desktop and other stdio-only clients

Use the open-source mcp-remote bridge to connect to the remote server.

{
  "mcpServers": {
    "fetchgoblin": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://fetchgoblin.com/mcp",
        "--header",
        "x-api-key:${FETCHGOBLIN_API_KEY}"
      ],
      "env": {
        "FETCHGOBLIN_API_KEY": "YOUR_FETCHGOBLIN_API_KEY"
      }
    }
  }
}

Clients that only support OAuth sign-in, such as web-based connector directories, are not supported yet.

Give coding agents the full reference.

Agents read plain text better than web pages. Each of these is generated from the live catalog:

Paste this into Claude Code, Cursor or Copilot:

Use the FetchGoblin API for public social media data.
Reference: https://fetchgoblin.com/llms.txt (append .md to any https://fetchgoblin.com/docs/ URL for Markdown).
- Read the endpoint's Markdown reference before writing the request.
- Authenticate with the x-api-key header from the FETCHGOBLIN_API_KEY environment variable. Call it only from server-side code.
- Handle 402 insufficient_credits (show top_up_url), 429 (respect Retry-After) and 5xx (retry with a new Idempotency-Key).
- Send an Idempotency-Key header on requests that may be retried.

Keep agent spending predictable.

  • Create a separate key for each agent and limit it to the platforms it needs. You can revoke it at any time.
  • Credits are prepaid, so an agent can never spend more than your balance. Failed requests are not charged.
  • get_endpoint shows each endpoint's cost before it runs, and every result includes credits_charged and credits_remaining.
  • Use cache_max_age on supported endpoints to get recent cached results for zero credits.
See credit pricing