LamaTok MCP Server
TikTok data via LamaTok: profiles, videos, comments, followers, hashtags, search, downloads.
LamaTok scores 62 (Good), licensed MIT and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Search. GitHub shows 1 stars. Package registries report about 69 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
62 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
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 62 comes from
22 + 15 + 4 + 10 + 4 + 7 = 62. 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: 15 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 4 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: 7 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": { "subzeroid-lamatok-mcp": { "command": "npx", "args": [ "-y", "lamatok-mcp@1.1.2" ], "env": { "LAMATOK_KEY": "YOUR_LAMATOK_KEY", "LAMATOK_TOOLS": "core" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
LAMATOK_KEYSecret | Required | LamaTok access key — get one at https://lamatok.com (100 free requests on signup) |
LAMATOK_TOOLS | Optional | core (default): 23 curated tools, one per task. all: every endpoint. |
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
lamatok-mcp
MCP server for LamaTok — TikTok data API. Available on npm: lamatok-mcp.
Generates MCP tools from the LamaTok OpenAPI spec at startup. Tools map 1:1 to REST endpoints (GET /v1/user/by/username → get_v1_user_by_username). By default you get a core set of ~23 tools, one per task, each with a description that tells the assistant when to use it; LAMATOK_TOOLS=all exposes every non-deprecated endpoint.
Get 100 Free API Requests
Sign up with this link and get 100 free LamaTok requests — no credit card required. Enough to wire up the MCP server, try a few prompts in Claude/Cursor/Codex, and evaluate the data quality before committing.
Quick start
- Get an API key at lamatok.com.
- Add the server to your AI assistant.
- Ask your assistant something like:
- "Get the TikTok profile for @nasa."
- "List the last 10 videos by user_id 6707206320333226502."
- "Find recent TikTok videos for the hashtag
photography."
Claude Code
claude mcp add lamatok -e LAMATOK_KEY=your-api-key -- npx -y lamatok-mcp
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"lamatok": {
"command": "npx",
"args": ["-y", "lamatok-mcp"],
"env": {
"LAMATOK_KEY": "your-api-key"
}
}
}
}
Cursor / Windsurf
Same shape as Claude Desktop — put the block under mcpServers in the app's MCP config file.
Zed
Add to ~/.config/zed/settings.json:
{
"context_servers": {
"lamatok": {
"command": "npx",
"args": ["-y", "lamatok-mcp"],
"env": {
"LAMATOK_KEY": "your-api-key"
}
}
}
}
OpenAI Codex
Append to ~/.codex/config.toml:
[mcp_servers.lamatok]
command = "npx"
args = ["-y", "lamatok-mcp"]
[mcp_servers.lamatok.env]
LAMATOK_KEY = "your-api-key"
Tools
Tools are generated at startup from the live LamaTok OpenAPI spec. The default core set keeps one endpoint per task and drops version duplicates:
| Group | Tools | Examples |
|---|---|---|
| Profiles and audience | 12 | get_v1_user_by_username, get_v2_user_medias_by_secUid, get_v1_user_followers_by_username |
| Videos and comments | 4 | get_v1_media_by_url, get_v1_media_by_id, get_v1_media_comments_by_id |
| Download links | 4 | get_v1_media_video_download_by_url, get_v1_media_music_download_by_id |
| Hashtags and search | 3 | get_v1_hashtag_info, get_v1_hashtag_medias, get_v2_search |
Core tools carry hand-written descriptions (what the tool does, when to prefer a sibling, pagination, billing) and every tool is annotated read-only. The list lives in src/curated.ts.
Set LAMATOK_TOOLS=all to expose every non-deprecated endpoint instead — same tool names as before, so existing prompts keep working. Tool names mirror their endpoint (GET /v1/user/by/username → get_v1_user_by_username); call tools/list over MCP for the current list with parameter schemas. /sys, Legacy, and System tag groups are excluded in both modes.
Configuration
| Variable | Description | Required |
|---|---|---|
LAMATOK_KEY | Your LamaTok access key (sent as x-access-key header) | yes |
LAMATOK_URL | Base URL. Default: https://api.lamatok.com | no |
LAMATOK_SPEC_URL | OpenAPI spec URL. Default: ${LAMATOK_URL}/openapi.json | no |
LAMATOK_TOOLS | core (default): curated set, one tool per task. all: every non-deprecated endpoint | no |
LAMATOK_TAGS | Whitelist: only include operations with these tags (comma-separated) | no |
LAMATOK_EXCLUDE_TAGS | Blacklist: additional tags to exclude (on top of Legacy, System, /sys) | no |
LAMATOK_TIMEOUT_MS | Per-request timeout for API calls. Default: 30000 | no |
LAMATOK_SPEC_TIMEOUT_MS | Timeout for the startup spec fetch. Default: 60000 | no |
LAMATOK_SPEC_RETRY_DELAY_MS | Base delay between the 3 startup spec fetch attempts. Default: 2000 | no |
LAMATOK_MAX_RESPONSE_BYTES | Max bytes read from each API response. Default: 10485760 (10 MB) | no |
LAMATOK_MAX_SPEC_BYTES | Max bytes read from the OpenAPI spec. Default: 8388608 (8 MB) | no |
Legacy, System, and /sys tags are excluded by default. Deprecated operations are also skipped.
If LAMATOK_URL points to a host other than api.lamatok.com, the server prints a warning on startup — your key will be sent there, so only use it for a self-hosted or proxied LamaTok.
Requests are sent with User-Agent: lamatok-mcp/<version>.
How it works
AI Assistant ←stdio→ lamatok-mcp ──https──> api.lamatok.com
│
└─ fetches /openapi.json once on startup,
builds one MCP tool per GET endpoint
(core set by default)
Tool arguments map to the endpoint's query and path parameters. The response body is returned as-is (JSON text). Non-2xx responses are surfaced as tool errors with the HTTP status and body.
Development
git clone https://github.com/subzeroid/lamatok-mcp.git
cd lamatok-mcp
npm install
npm run build
LAMATOK_KEY=your-key node dist/index.js
Run in watch mode:
LAMATOK_KEY=your-key npm run dev
Run tests (unit + stdio smoke tests against a local mock server, no network/API key required):
npm test
License
MIT
Frequently asked questions
What is LamaTok MCP Server?
TikTok data via LamaTok: profiles, videos, comments, followers, hashtags, search, downloads.
How do I install LamaTok 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. LamaTok MCP Server runs locally from the npm package lamatok-mcp with the command npx -y lamatok-mcp@1.1.2.
Is LamaTok MCP Server free and open source?
Yes. LamaTok 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 LamaTok MCP Server support remote (HTTP) connections?
No remote endpoint is listed for LamaTok MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is LamaTok MCP Server's trust score calculated?
LamaTok MCP Server scores 62 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.