Model Context Protocol · AI Agent Integration
Give Claude & Cursor live TikTok intelligence.
Our official zero-dependency MCP server (@tiktokapi/mcp-server) exposes TikTok video search, creator analytics, comment extraction, and Creative Center ad research directly to any MCP-compatible AI assistant.
1. Add to claude_desktop_config.json or .cursor/mcp.json
{
"mcpServers": {
"tiktokapi": {
"command": "npx",
"args": ["-y", "@tiktokapi/mcp-server"],
"env": {
"TIKTOKAPI_KEY": "tk_your_api_key_here"
}
}
}
}Need an API key? Sign up for 2,000 free Credits and copy your key from the dashboard.
No-Code Alternative
Prefer spreadsheets over code?
Run our pre-built TikTok scrapers in the browser on Apify and export results directly to CSV, Excel, JSON, or Google Sheets without writing a single line of code.
Included MCP Tools
tiktok_video_detailGET /v1/video/detailParse any TikTok URL or ID into 1080p HD no-watermark stream links, audio tracks, carousel images, and engagement metrics.
tiktok_video_searchGET /v1/video/searchSearch videos by keyword with region (US, GB, JP), sort order (Relevance, Most Liked, Newest), and publish time window.
tiktok_user_infoGET /v1/user/infoRetrieve creator profile metadata, verification badge, bio, secUid, and follower/heart/video counts.
tiktok_user_postsGET /v1/user/postsFetch a creator's latest video posts with no-watermark playback URLs and statistics.
tiktok_comment_listGET /v1/comment/listPull top-level comments on a TikTok video for sentiment analysis and audience research.
tiktok_trending_feedGET /v1/feed/listDiscover trending TikTok videos in any country code.
tiktok_top_adsGET /v1/ads/top/adsQuery top-performing commercial ads from TikTok Creative Center by country, period, and CTR/impressions.