Captapi

v0.7.0
io.github.CDCStream/captapi Checked 4 days ago Published 5 days ago

Public social media data: profiles, posts, comments, transcripts and ad libraries, 30+ platforms.

Values you need

VariableWhat it is
CAPTAPI_API_KEYrequired secret Your capt_live_... API key. Create one at https://captapi.com/dashboard/api-keys (100 free credits).
CAPTAPI_BASE_URLoptional Override the Captapi API base URL (default https://api.captapi.com).
CAPTAPI_PLATFORMSoptional Comma-separated platform ids to load, e.g. instagram,tiktok (default: all platforms).

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add captapi -e 'CAPTAPI_API_KEY=<CAPTAPI_API_KEY>' -- npx -y --package=@captapi/mcp@0.7.0 captapi-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "captapi": {
      "args": [
        "-y",
        "--package=@captapi/mcp@0.7.0",
        "captapi-mcp"
      ],
      "command": "npx",
      "env": {
        "CAPTAPI_API_KEY": "<CAPTAPI_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "captapi": {
      "args": [
        "-y",
        "--package=@captapi/mcp@0.7.0",
        "captapi-mcp"
      ],
      "command": "npx",
      "env": {
        "CAPTAPI_API_KEY": "<CAPTAPI_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "CAPTAPI_API_KEY",
      "id": "captapi-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "captapi": {
      "args": [
        "-y",
        "--package=@captapi/mcp@0.7.0",
        "captapi-mcp"
      ],
      "command": "npx",
      "env": {
        "CAPTAPI_API_KEY": "${input:captapi-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.captapi]
command = "npx"
args = ["-y", "--package=@captapi/mcp@0.7.0", "captapi-mcp"]
env = { "CAPTAPI_API_KEY" = "<CAPTAPI_API_KEY>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http captapi https://api.captapi.com/mcp --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "captapi": {
      "args": [
        "-y",
        "mcp-remote",
        "https://api.captapi.com/mcp",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "captapi": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://api.captapi.com/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "captapi": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://api.captapi.com/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.captapi]
command = "npx"
args = ["-y", "mcp-remote", "https://api.captapi.com/mcp", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Ask the user for: CAPTAPI_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: youtube_transcript, youtube_audio_transcript, youtube_summarize, youtube_video_details, youtube_comments, youtube_channel_details, youtube_search, youtube_channel_videos, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json