Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@captapi/mcp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@captapi/mcp
Official Captapi MCP server. Give Claude, Cursor, VS Code, and any MCP-compatible AI agent direct access to 62 social media data endpoints across YouTube, TikTok, Instagram, and Facebook — transcripts, summaries, comments, channel stats, search, bulk lists, and downloads.
One Captapi key works across every platform. The agent calls a tool, Captapi handles proxies, rate limits, retries, and auth, and returns clean JSON.
Quick start
You need a Captapi API key (capt_live_...). Get one at
captapi.com/dashboard/api-keys.
Cursor
Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per-project):
{
"mcpServers": {
"captapi": {
"command": "npx",
"args": ["-y", "@captapi/mcp"],
"env": {
"CAPTAPI_API_KEY": "capt_live_xxxxxxxxxxxxxxxx"
}
}
}
}Claude Desktop
Add the same block to claude_desktop_config.json
(Settings → Developer → Edit Config).
VS Code
Add to .vscode/mcp.json:
{
"servers": {
"captapi": {
"command": "npx",
"args": ["-y", "@captapi/mcp"],
"env": {
"CAPTAPI_API_KEY": "capt_live_xxxxxxxxxxxxxxxx"
}
}
}
}Configuration
| Env var | Required | Default | Description |
|---|---|---|---|
CAPTAPI_API_KEY |
yes | — | Your capt_live_... / capt_test_... key. |
CAPTAPI_BASE_URL |
no | https://api.captapi.com |
Override the API base URL. |
Tools
Each endpoint is exposed as a tool named <platform>_<action>, e.g.
youtube_transcript, tiktok_comments, instagram_channel_posts,
facebook_profile_posts. Inputs:
- Search tools take
q(query) and optionallimit. - Channel tools take a profile/channel
url. - Comments / list tools take a
urland optionallimit. - Transcript / summarize tools take a
urland optionallanguage. - Details / download tools take a
url.
Cached results (24h) are free. Failed or empty results are never charged.
License
MIT