TikTok MCP Server已验证已精选
@HasData
基本信息
关于 TikTok MCP Server
Hosted TikTok MCP server for AI agents: read public profiles, account videos, comments and replies, or search videos and creators. Structured JSON for creator research and content analysis.


TikTok MCP Server 配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"tiktok": {
"url": "https://mcp.hasdata.com/mcp?apis=tiktok",
"headers": {
"x-api-key": "YOUR_HASDATA_API_KEY"
}
}
}
}TikTok MCP Server 工具
4Get TikTok Comments Fetches the comments on a public TikTok video by its numeric video id, or the replies to a specific comment when commentId is given. Each comment returns text, like count, timestamp, reply count, and author (username, nickname, avatar, plus hasdataLink to the profile endpoint and hasdataPostsLink to the posts endpoint). The first page of top-level comments also returns `post` with the video's description, author, music, cover and video URLs, duration, hashtags, and its like, comment, share, play, and save counts. Supports token-based pagination via nextPageToken. Use for sentiment analysis, engagement research, or building comment datasets from a video discovered via the posts or search APIs.
Get TikTok Posts Fetches a page of videos for a public TikTok account by username (handle) and returns each video with description, hashtags, mentions, like/comment/share/play/collect counts, cover and playable video URLs, music, duration, and timestamp. Returns a page of ~30 videos plus a `nextPageToken`; pass that token back to walk the account history one page at a time. Use to monitor competitor content, track engagement of creator videos, or build datasets of account content for vetting and analytics.
Get TikTok Profile Fetches a public TikTok profile by username (handle) and returns nickname, biography, bio link, avatar URLs, verified/private flags, account creation time, and followers, follows, likes, videos, and friends counts. Use to enrich CRM/lead records, verify influencer reach before outreach, monitor competitor accounts, or build datasets of creator metadata for vetting and analytics.
Search TikTok Searches TikTok by keyword and returns either videos (with description, hashtags, mentions, like/comment/share/play counts, cover and playable video URLs, music, and author) or users (nickname, bio, avatar, verified flag, follower count). Each author and each user carries a hasdataLink to their profile endpoint and a hasdataPostsLink to their posts endpoint. Supports token-based pagination via nextPageToken. Use for content discovery, trend research, influencer discovery, or building datasets from a keyword.
概览
TikTok creator, video and comment research for AI agents
TikTok MCP Server gives Claude, Cursor, Windsurf and other MCP clients access to public TikTok profiles, account videos, comments and keyword search. Maintained by HasData, it returns structured JSON for creator research, content comparisons and audience feedback analysis. The server supplies the data; your AI agent calculates rankings, compares metrics and summarizes comments. Repository and setup guide.
HasData hosts the server. You need an MCP client and a HasData account, with no TikTok developer application or TikTok login required.
Prompts to try
- Creator discovery: “Search for TikTok creators matching ‘specialty coffee’. Compare the returned accounts by follower count and bio, and explain which appear relevant to a coffee equipment brand.”
- Content comparison: “Read @nasa’s profile and the first two pages of its videos. Calculate median plays across the returned videos and link the five with the most shares.”
- Audience feedback: “Read the first page of comments on this TikTok video, then fetch replies to the comment with the most likes in that page. Summarize recurring questions and distinguish the sample from the full discussion.”
These are research prompts, not saved reports. Results and metrics depend on the data returned by each call.
Four available tools
| Tool | Parameters and returned data |
|---|---|
hasdata_tiktok_profile_getTikTokProfile | Required handle, with or without @. Returns profile details such as bio, verification status, follower count, total likes and video count. |
hasdata_tiktok_posts_getTikTokPosts | Required handle; optional nextPageToken. Returns a page of account videos with descriptions, URLs, timestamps and engagement counters including plays, likes, comments and shares. |
hasdata_tiktok_comments_getTikTokComments | Required videoId; optional commentId and nextPageToken. Returns comment text, author details, likes, timestamps and reply counts. Supply commentId to retrieve replies. |
hasdata_tiktok_search_getTikTokSearch | Required keyword; optional type and nextPageToken. type defaults to video; use user for creator results with handles, bios and follower counts. |
The tool reference documents every parameter. Posts, comments and search support pagination: pass the previous response’s nextPageToken for another page. Keep video and comment IDs as strings. Optional fields, including hashtags or a bio link, may be absent.
Connect
Use streamable HTTP at https://mcp.hasdata.com/api/mcp?apis=tiktok with your HasData API key in the x-api-key header. For Cursor:
{
"mcpServers": {
"tiktok": {
"url": "https://mcp.hasdata.com/api/mcp?apis=tiktok",
"headers": {
"x-api-key": "YOUR_HASDATA_API_KEY"
}
}
}
}
Create a key in the HasData dashboard. Compatible OAuth clients can instead connect and sign in with HasData. Clients requiring stdio can use the @hasdata/tiktok-mcp npm launcher or hasdata-tiktok-mcp Python launcher. See client-specific setup.
Free allowance and cost
Each successful TikTok tool call costs 10 credits. The free plan provides 1,000 credits every month, with no credit card required: 100 TikTok calls if the allowance is used entirely here. A profile lookup plus two pages of videos uses three calls, or 30 credits. Additional pages and reply requests are separate calls. See current plans and limits.
Common questions
Is this an official TikTok service?
No. HasData maintains this independent service for reading publicly accessible TikTok data. It does not provide private account access, posting or direct messages.
Can I retrieve one video’s details or transcript by URL?
There is no dedicated video-detail or transcript tool in this server. Obtain video metadata through account posts or keyword search. For comments, extract the numeric ID after /video/ from the URL.
Where can I inspect the underlying API?
The TikTok Scraper API page includes search and account-post request builders. The TikTok Profile API page covers profile lookups. These show the underlying APIs; MCP connection instructions are in the MCP documentation.
数据与分析 分类下的更多 MCP 服务器

Ultimate Web Scraper
Ultimate Web ScraperExtract products, prices, images and reviews from any page in one click — or connect your AI agent and let it do the scraping for you. Works great for: - Ecommerce: extract every product from a Shopify, WooCommerce or
ProLevelMax
ProLevelMaxThe real-time social data source for AI. Public posts, comments, profiles, search and trends from TikTok, Instagram, YouTube, Reddit, X, Xiaohongshu, Douyin, Weibo, Amazon reviews, Google Maps and more: 157 platforms in
SocialAPIs — Facebook & Instagram Data
SocialAPIsHubFacebook & Instagram data for AI agents — pages, posts, groups, Ads Library, Marketplace, profiles and reels. 47 read-only tools with structured output.

Airside Labs Aviation Tools
Airside LabsValidated aviation reference tools for AI agents: resolve airports, airlines, aircraft types, registrations and flight designators to canonical entities with confidence, alternates, validity dates and per-field provenanc

Rivalize
DownshiftCompetitive intelligence for AI agents: competitor teardowns, pricing, ads, reviews and momentum, cited and dated. Read-only by default.
评论