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. Every tool declares its exact inputs (and the precise
URL type expected — video, profile, playlist, sound, group, …):
- Most tools take a
url. The description tells you which URL type. - Search tools take
q; list/comments tools also accept an optionallimit. - Comment-replies tools (
*_comment_replies) additionally requirecomment_id. tiktok_trending_feedtakescountry(ISO-2, defaultUS);tiktok_popular_hashtagstakesquery(defaulttrending).- Transcript / summarize tools accept an optional
language.
Cached results (24h) are free. Failed or empty results are never charged.
License
MIT