HasData TikTok MCP Server
by hasdatacom.hasdata/tiktokv1.0.7
Public TikTok data as JSON: profile lookup, account videos, comments and reply threads, and keyword search over videos or creators.
context tax
~1,017 tok/turn4 tools
security
97/100
cold start
pending
freshness
Active31d ago
Our reading of HasData TikTok, from the data
HasData TikTok is a social media MCP server from hasdata, listed in the official MCP Registry.
Its 4 tools add about 1,017 tokens to every model turn, lighter than the social media median of 2,043 tokens across 120 measured servers (measured 2026-10-19).
Maintenance is active: the last public signal was 31 days ago (2026-10-12). For comparison, 74% of social media servers are active or maintained.
With 10 GitHub stars it ranks #79 of 798 social media servers we index.
It runs either locally over stdio or as a hosted endpoint and needs one secret (HASDATA_API_KEY); use a scoped, least-privilege key.
Install HasData TikTok MCP server
Install in Claude Code
claude mcp add tiktok -e HASDATA_API_KEY='<hasdata-api-key>' -- npx -y @hasdata/tiktok-mcpInstall in Cursor
{
"mcpServers": {
"tiktok": {
"command": "npx",
"args": [
"-y",
"@hasdata/tiktok-mcp"
],
"env": {
"HASDATA_API_KEY": "<hasdata-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"tiktok": {
"command": "npx",
"args": [
"-y",
"@hasdata/tiktok-mcp"
],
"env": {
"HASDATA_API_KEY": "<hasdata-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"tiktok": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@hasdata/tiktok-mcp"
],
"env": {
"HASDATA_API_KEY": "<hasdata-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"tiktok": {
"command": "npx",
"args": [
"-y",
"@hasdata/tiktok-mcp"
],
"env": {
"HASDATA_API_KEY": "<hasdata-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test @hasdata/tiktok-mcp --env HASDATA_API_KEY
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| HASDATA_API_KEY | yes | yes | HasData API key, created at app.hasdata.com. 1,000 free credits every month, no card. |
Remote endpoints
- streamable-http
https://mcp.hasdata.com/mcp?apis=tiktok
Context tax
Connecting this server adds ~1,017 tokens of tool definitions to every model turn (moderate, 4 tools). Measured 2026-10-19 via its hosted endpoint; o200k tokenizer, worst case for clients that load all tools up front. How we measure
| Model | Per 1,000 turns | With prompt caching |
|---|---|---|
| Claude Opus 5.5 | $4.07 | $0.203 |
| Claude Sonnet 5.5 | $2.03 | $0.203 |
| Claude Haiku 5.5 | $0.102 | — |
Input prices as of 2026-10-06. Excludes your own prompt and output.
Tools (4)
hasdata_tiktok_comments_getTikTokComments300 tokGet 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 s
hasdata_tiktok_search_getTikTokSearch244 tokSearch 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.
hasdata_tiktok_posts_getTikTokPosts241 tokGet 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.
hasdata_tiktok_profile_getTikTokProfile161 tokGet 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.
Security signals
97/100 — no known issues found as of 2026-10-19, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
- No security policy (SECURITY.md)-3
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ✓Tool descriptions (prompt-injection and hidden-text heuristics)
- ○Package metadata (install scripts, provenance) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Active — last maintenance signal 31d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-12 · 31d ago · GitHub
Latest release
2026-08-27 · 3mo ago · GitHub · v1.0.2
Package published
no data · npm/PyPI
Registry entry updated
2026-09-24 · 49d ago · official registry · v1.0.7
How it compares in Social Media
Against the most-starred social media servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| HasData TikTok (this) | 10 | 4 | 1,017 | Active | local + hosted |
| Openshorts | 6,821 | — | not measured | Active | hosted |
| Memlab | 5,075 | 149 | 72,035 | Active | local |
| NotFair | 3,959 | — | not measured | Active | hosted |
| Meta Ads | 1,313 | — | not measured | Active | — |
| Reddit MCP Buddy | 859 | 5 | 1,447 | Maintained | local |
FAQ
›How do I install the HasData TikTok MCP server in Claude Code?
Run: claude mcp add tiktok -e HASDATA_API_KEY='<hasdata-api-key>' -- npx -y @hasdata/tiktok-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does HasData TikTok require an API key?
Yes. It expects HASDATA_API_KEY, of which 1 is a secret.
›Can I use HasData TikTok as a remote (hosted) MCP server?
Yes — it offers both a hosted endpoint and a local stdio package.
›Is HasData TikTok in the official MCP registry?
Yes, as com.hasdata/tiktok.
›How many tokens does HasData TikTok add to my context?
Its tool definitions total about 1,017 tokens, resent on every turn.
Sources and method
- Official MCP Registry entry
- updated 2026-09-24
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Tool list (tools/list), measured by us
- 2026-10-19
- Security signals, computed by us
- 2026-10-19
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.
Alternatives to HasData TikTok
Other social media MCP servers.