TikTokAPI.io MCP Server
Real-time TikTok Data, 1080p No-Watermark Video & Creative Center Ads MCP Server (https://tiktokapi.io/mcp)
Documentation
@tiktokapi/mcp-server — Official TikTok MCP Server for Claude, Cursor & AI Agents
Official Model Context Protocol (MCP) server for TikTokAPI.io. Connect Claude Desktop, Cursor, Windsurf, Cline, or any MCP-compatible AI agent to real-time TikTok videos, 1080p HD no-watermark video streams, creator profiles, follower graphs, comments, regional trending feeds, and the TikTok Creative Center Commercial Ads Library.
- Zero runtime dependencies (pure Node.js >= 18
stdioJSON-RPC 2.0 server) - No TikTok OAuth, cookies, or residential proxies required
- 2,000 Free Credits on sign-up at https://tiktokapi.io/signup (no credit card required)
- Industry-low pricing: $0.20 per 1,000 videos ($0.08–$0.115 with volume bonus), $0.10 per 1,000 comments or followers, and 0 Credits charged on failed lookups
Quick Setup (Claude Desktop / Cursor / Windsurf)
- Get your instant
tk_...API key (with 2,000 free Credits) at https://tiktokapi.io/signup. - Add the following to your
claude_desktop_config.jsonor.cursor/mcp.json:
{
"mcpServers": {
"tiktokapi": {
"command": "npx",
"args": ["-y", "github:kaitoInfra/tiktokapi-mcp-server"],
"env": {
"TIKTOKAPI_KEY": "tk_your_api_key_here"
}
}
}
}
10 Built-In TikTok MCP Tools
| Tool Name | Upstream Endpoint | Description | Cost |
|---|---|---|---|
tiktok_video_detail | GET /v1/video/detail | Fetch full metadata, engagement metrics, audio info, and 1080p HD no-watermark MP4 URL (hdplay) for any TikTok URL or ID | 10 Credits ($0.001) |
tiktok_video_search | GET /v1/video/search | Search TikTok videos by keyword with region, sort_type (Relevance/Most Liked/Newest), and publish_time window | 2 Credits / video |
tiktok_user_info | GET /v1/user/info | Resolve any @username to numeric user_id, secUid, bio, verification status, and follower/heart counts | 10 Credits ($0.001) |
tiktok_user_posts | GET /v1/user/posts | Fetch a creator's public video posts (up to 35 per call) including 1080p no-watermark stream URLs | 2 Credits / video |
tiktok_user_followers | GET /v1/user/followers | Paginate a creator's followers (up to 200 users per call) by numeric user_id | 1 Credit / user |
tiktok_comment_list | GET /v1/comment/list | Fetch top-level comments on any TikTok video (up to 50 comments per call) | 1 Credit / comment |
tiktok_trending_feed | GET /v1/feed/list | Fetch currently trending TikTok videos in 60+ countries (US, GB, DE, JP, BR, etc.) | 2 Credits / video |
tiktok_top_ads | GET /v1/ads/top/ads | Search top-performing commercial ads from TikTok Creative Center by keyword, country, and 7/30/180-day window | 10 Credits / ad |
tiktok_ad_detail | GET /v1/ads/top/ads/detail | Inspect full ad creative telemetry, CTR benchmark, and destination landing page URL | 10 Credits ($0.001) |
tiktok_ad_keywords | GET /v1/ads/top/keywords | Discover breakout commercial ad keywords and impression share by country | 10 Credits / item |
Example Prompts for Claude & Cursor
- "Search TikTok for videos about 'AI coding agents' posted in the US over the last 7 days, sorted by most liked, and summarize the top 5 hooks."
- "Fetch the profile and latest 15 videos of
@tiktok, and give me the direct 1080p no-watermark MP4 download link for their most-viewed post." - "Query the TikTok Creative Center Ads Library for top-performing 'bracelet' ads in the US over the past 30 days and list their landing page URLs."
- "Read the top 50 comments on
https://www.tiktok.com/@tiktok/video/7231338487075638570and categorize user sentiment."
Developer Resources & Engineering Guides
- Website & Live Playground: https://tiktokapi.io
- Full API Reference (17 Endpoints): https://tiktokapi.io/docs
- Free Online TikTok Video ID, User ID &
secUidFinder: https://tiktokapi.io/tools/tiktok-id-finder - Engineering Guides:
- Provider Benchmarks & Pricing Comparisons:
- LLM Full Technical Context: https://tiktokapi.io/llms-full.txt
License
MIT © TikTokAPI.io