Captapi
v0.7.0Public social media data: profiles, posts, comments, transcripts and ad libraries, 30+ platforms.
Values you need
| Variable | What it is | |
|---|---|---|
CAPTAPI_API_KEY | required secret | Your capt_live_... API key. Create one at https://captapi.com/dashboard/api-keys (100 free credits). |
CAPTAPI_BASE_URL | optional | Override the Captapi API base URL (default https://api.captapi.com). |
CAPTAPI_PLATFORMS | optional | 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-mcpAdd 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
- Ask the user for: CAPTAPI_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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).
- Restart or reload the client so it starts the server.
- 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, ….
- 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