Server data from the Official MCP Registry
TikTok organic analytics — video performance, engagement metrics, and profile insights.
TikTok organic analytics — video performance, engagement metrics, and profile insights.
This is a well-architected MCP server for TikTok organic analytics with solid security fundamentals. Authentication is properly implemented via OAuth tokens passed through environment variables, and dangerous operations like shell execution are absent. Minor code quality issues around error handling breadth and input validation do not materially impact security posture. The server's permissions (network_http, env_vars) are appropriate for its stated purpose of querying TikTok's API. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 3 high severity). Package verification found 1 issue.
7 files analyzed · 9 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Set these up before or after installing:
Environment variable: TIKTOK_ACCESS_TOKEN
Environment variable: TIKTOK_CLIENT_KEY
Environment variable: TIKTOK_REFRESH_TOKEN
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-lanternrow-tiktok-organic-mcp": {
"env": {
"TIKTOK_CLIENT_KEY": "your-tiktok-client-key-here",
"TIKTOK_ACCESS_TOKEN": "your-tiktok-access-token-here",
"TIKTOK_REFRESH_TOKEN": "your-tiktok-refresh-token-here"
},
"args": [
"-y",
"tiktok-organic-mcp"
],
"command": "npx"
}
}
}From the project's GitHub README.
MCP server for TikTok organic analytics — video performance, engagement metrics, and profile insights via the TikTok Developer API.
Built for Claude Code and any MCP-compatible AI tool. Gives your AI assistant direct access to your TikTok account data — videos, views, likes, comments, shares, and follower stats.
Part of The SEO Engine toolkit by Lantern Row — AI-powered SEO and social media tooling for agencies and businesses.
{
"mcpServers": {
"tiktok-organic": {
"command": "npx",
"args": ["-y", "tiktok-organic-mcp"],
"env": {
"TIKTOK_ACCESS_TOKEN": "your_access_token"
}
}
}
}
git clone https://github.com/lanternrow/tiktok-organic-mcp.git
cd tiktok-organic-mcp
npm install
npm run build
Then add to your Claude Code MCP settings:
{
"mcpServers": {
"tiktok-organic": {
"command": "node",
"args": ["/path/to/tiktok-organic-mcp/dist/index.js"],
"env": {
"TIKTOK_ACCESS_TOKEN": "your_access_token"
}
}
}
}
user.info.basic — profile name, avataruser.info.profile — bio, verification statususer.info.stats — follower/following counts, total likesvideo.list — access to video listing and metricshttps://www.tiktok.com/v2/auth/authorize/
?client_key={your_client_key}
&scope=user.info.basic,user.info.profile,user.info.stats,video.list
&response_type=code
&redirect_uri={your_redirect_uri}
POST https://open.tiktokapis.com/v2/oauth/token/
Content-Type: application/x-www-form-urlencoded
client_key={client_key}
&client_secret={client_secret}
&code={auth_code}
&grant_type=authorization_code
&redirect_uri={redirect_uri}
access_token and refresh_token from the responseTip: Access tokens expire after 24 hours. Use the
refresh_tokentool or setTIKTOK_REFRESH_TOKENto enable automatic renewal.
| Tool | Description |
|---|---|
get_user_info | Profile metadata: username, bio, follower/following counts, total likes, video count, verification status |
get_videos | Paginated list of public videos with engagement metrics (views, likes, comments, shares) |
get_video_details | Detailed metrics for specific video IDs (batch up to 20) |
| Tool | Description |
|---|---|
refresh_token | Exchange refresh token for a new access token (requires TIKTOK_CLIENT_KEY and TIKTOK_REFRESH_TOKEN) |
src/
index.ts # MCP server entry point, tool registration
client.ts # TikTok API HTTP client (native fetch, no dependencies)
types.ts # TypeScript interfaces for API responses
tools/
user.ts # get_user_info
videos.ts # get_videos, get_video_details
utils.ts # refresh_token
fetch| Variable | Required | Description |
|---|---|---|
TIKTOK_ACCESS_TOKEN | Yes | OAuth access token from Login Kit flow |
TIKTOK_CLIENT_KEY | For refresh | App Client Key (needed for token refresh) |
TIKTOK_REFRESH_TOKEN | For refresh | Refresh token (needed for token refresh) |
npm run dev # Watch mode — recompiles on save
npm run build # Production build
npm start # Run the server
Issues and PRs welcome. If TikTok changes their API, please open an issue.
MIT — see LICENSE.
Built as part of The SEO Engine by Lantern Row.
Be the first to review this server!
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption