toktokdata.live
v0.3.1TikTok LIVE rankings, creators, LIVE sessions, gifters and agencies from toktokdata.live
Values you need
| Variable | What it is | |
|---|---|---|
TOKTOKDATA_API_KEY | required secret | toktokdata.live API key (Settings > API keys), ttk_live_... |
TOKTOKDATA_BASE_URL | optional | API base URL Default: https://api.toktokdata.live |
TOKTOKDATA_MCP_MAX_WAIT_SECONDS | optional | How long a tool waits while fresh data is collected Default: 40 |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add toktokdata -e 'TOKTOKDATA_API_KEY=<TOKTOKDATA_API_KEY>' -- npx -y --package=@toktokdata.live/mcp@0.3.1 toktokdata-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"toktokdata": {
"args": [
"-y",
"--package=@toktokdata.live/mcp@0.3.1",
"toktokdata-mcp"
],
"command": "npx",
"env": {
"TOKTOKDATA_API_KEY": "<TOKTOKDATA_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"toktokdata": {
"args": [
"-y",
"--package=@toktokdata.live/mcp@0.3.1",
"toktokdata-mcp"
],
"command": "npx",
"env": {
"TOKTOKDATA_API_KEY": "<TOKTOKDATA_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "TOKTOKDATA_API_KEY",
"id": "toktokdata-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"toktokdata": {
"args": [
"-y",
"--package=@toktokdata.live/mcp@0.3.1",
"toktokdata-mcp"
],
"command": "npx",
"env": {
"TOKTOKDATA_API_KEY": "${input:toktokdata-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.toktokdata]
command = "npx"
args = ["-y", "--package=@toktokdata.live/mcp@0.3.1", "toktokdata-mcp"]
env = { "TOKTOKDATA_API_KEY" = "<TOKTOKDATA_API_KEY>" }For AI agents
- Ask the user for: TOKTOKDATA_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: rankings_official, rankings_regions, rankings_history, rankings_day_bars, creators_search, creators_get, creators_analysis, creators_changes, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json