tokdata MCP Server
TikTok public data as JSON: profile by handle, account videos, video comments, keyword search.
tokdata scores 66 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 4 tools. Filed under Uncategorized. GitHub shows 0 stars. Package registries report about 76 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
66/100 for listing completeness. Lost points: 4 of 4 tools barely described, short summary, no docs link.
How quality is graded
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "cloudcorprecords-tokdata": { "command": "npx", "args": [ "-y", "@reneturcios/tokdata@0.1.0" ] } }}
Environment variables
This server does not declare environment variables.
Tools4Tool docs quality grade D
All capabilitiesfetch
fetch one
fetch a
search by
About
tokdata
tokdata is a small local bridge to the hosted HasData TikTok MCP server, which returns public TikTok data as JSON. It can look up a public profile from its handle, walk the videos a public account has posted page by page, read the comments on a public video (or the replies to one comment), and search TikTok by keyword for videos or for users.
The bridge keeps no TikTok data of its own. It answers the tool list locally, exactly as captured from the live endpoint, and forwards each tool call upstream, returning whatever comes back untouched. The captured surface is four read-only fetches over public content: nothing is posted, sent, or stored by any tool, and no tool in the surface carries contact details for any individual.
Tools
hasdata_tiktok_profile_getTikTokProfile— fetch a public profile. Required:handle(the username, with or without the@). Returns nickname, biography, bio link, avatar URLs, verified and private flags, account creation time, and the followers, follows, likes, videos, and friends counts.hasdata_tiktok_posts_getTikTokPosts— fetch one page of an account's videos. Required:handle. Optional:nextPageTokento walk further back through the account's history. Each video comes back with its description, hashtags, mentions, like, comment, share, play, and collect counts, cover and playable URLs, music, duration, and timestamp.hasdata_tiktok_comments_getTikTokComments— fetch the comments on a public video. Required:videoId(the numeric id from the video's URL). Optional:commentId(return the replies to that comment instead of the top-level comments) andnextPageTokenfor paging. The first page of top-level comments also carries the video itself.hasdata_tiktok_search_getTikTokSearch— search by keyword. Required:keyword. Optional:type(videooruser; videos are the default) andnextPageTokenfor paging. Video results carry the usual counts, URLs, music, and author; user results carry nickname, bio, avatar, verified flag, and follower count.
Configuration
HASDATA_TIKTOK_MCP_URL(optional) — override the upstream endpoint. Defaults tohttps://mcp.hasdata.com/api/mcp?apis=tiktok— note the/api/segment, which is part of the pinned URL. (The override hook is this rebuild's own labelled reconstruction.)HASDATA_API_KEY(optional) — when set, every upstream request carries anx-api-key: <key>header, for the caller's own HasData API key. When it is not set, no key header is sent. (The header name and the env name are pinned by the original's registry record; forwarding the key from this env var is a labelled reconstruction — the original surface was captured keyless.)
Forwarding mechanics
On the first tool call the client opens a streamable
HTTP session upstream: a JSON-RPC initialize request
(protocolVersion 2025-03-26, clientInfo name
tokdata), then a notifications/initialized
notification, then the tools/call request carrying
the caller's arguments unchanged. When the upstream
answers initialize with an Mcp-Session-Id header,
that value rides on every later request of the
session, which is reused for the life of the process.
Replies may arrive as plain JSON or as server-sent
events; both are read.
Successful upstream results pass through verbatim,
including any isError flag the upstream sets.
Failures — a JSON-RPC error, a non-2xx status, an
unreadable response, or a request that cannot be
completed — come back as an isError result whose
text starts with tokdata error: (this rendering is
this rebuild's own labelled reconstruction).
CLI
Each tool is also a subcommand taking one JSON argument string:
npx @reneturcios/tokdata hasdata_tiktok_profile_getTikTokProfile '{"handle":"tiktok"}'
npx @reneturcios/tokdata hasdata_tiktok_posts_getTikTokPosts '{"handle":"tiktok"}'
npx @reneturcios/tokdata hasdata_tiktok_comments_getTikTokComments '{"videoId":"0000000000000000000"}'
npx @reneturcios/tokdata hasdata_tiktok_search_getTikTokSearch '{"keyword":"dance","type":"video"}'
npx @reneturcios/tokdata --version
Exit codes: 0 on success, 1 on an isError
result, 2 on a usage error.
MCP server
npx -y @reneturcios/tokdata mcp
MCP client config:
{
"mcpServers": {
"tokdata": {
"command": "npx",
"args": ["-y", "@reneturcios/tokdata", "mcp"]
}
}
}
Docker
docker run -i ghcr.io/cloudcorprecords/tokdata
docker run --rm ghcr.io/cloudcorprecords/tokdata --version
The container's default command is mcp, so the first
form is a stdio MCP server; any other arguments reach
the CLI normally.
Development
npm install
npm run build
npm test
npm run dev
The test suite runs entirely against a stubbed JSON-RPC upstream — no live network calls.
License
MIT — see LICENSE.
Frequently asked questions
What is tokdata MCP Server?
TikTok public data as JSON: profile by handle, account videos, video comments, keyword search.
How do I install tokdata MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. tokdata MCP Server runs locally from the npm package @reneturcios/tokdata with the command npx -y @reneturcios/tokdata@0.1.0.
Is tokdata MCP Server free and open source?
Yes. tokdata MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does tokdata MCP Server support remote (HTTP) connections?
No remote endpoint is listed for tokdata MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does tokdata MCP Server provide?
tokdata MCP Server provides 4 tools: hasdata_tiktok_comments_getTikTokComments, hasdata_tiktok_posts_getTikTokPosts, hasdata_tiktok_profile_getTikTokProfile, and hasdata_tiktok_search_getTikTokSearch. See the full tool list for descriptions and parameters.
How is tokdata MCP Server's trust score calculated?
tokdata MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.