Tiktok Organic MCP
Overview
Description from the maker (original English)
TikTok organic analytics — video performance, engagement metrics, and profile insights.
PopNx MCP’s three pillars
These three are never merged into one score: opinions, measurements and popularity are different things.
- User voiceiNo reviews yetReviews open together with accounts in a later step
- Our basic checksi1 of 1 passedChecked from public information; code not scanned yet
- UsageiVery new↓ 42/wk · ★ –
What you can do with it
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
- Connection: Runs on your computer
- Transport: stdio
- Category: Marketing & social media
- You need to fill in: TIKTOK_ACCESS_TOKEN, TIKTOK_CLIENT_KEY, TIKTOK_REFRESH_TOKEN
Install
Pick the AI app you use, then copy the settings.
Before you install
- Basic checks: 1 of 1 passed
- Runs on your computer with your user’s permissions (files, network, apps).
- You fill in yourself:
TIKTOK_ACCESS_TOKEN,TIKTOK_CLIENT_KEY,TIKTOK_REFRESH_TOKEN
Values marked secret are keys to your account. Never share them or paste them into a chat.
You need
- npmNode.js installed (for the npx command)
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"tiktok-organic": {
"command": "npx",
"args": [
"-y",
"tiktok-organic-mcp"
],
"env": {
"TIKTOK_ACCESS_TOKEN": "your-value",
"TIKTOK_CLIENT_KEY": "your-value",
"TIKTOK_REFRESH_TOKEN": "your-value"
}
}
}
}Run this in your terminal
claude mcp add tiktok-organic --env TIKTOK_ACCESS_TOKEN=your-value --env TIKTOK_CLIENT_KEY=your-value --env TIKTOK_REFRESH_TOKEN=your-value -- npx -y tiktok-organic-mcpFill in the empty values before running it.
Or copy the settings yourself
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"tiktok-organic": {
"command": "npx",
"args": [
"-y",
"tiktok-organic-mcp"
],
"env": {
"TIKTOK_ACCESS_TOKEN": "your-value",
"TIKTOK_CLIENT_KEY": "your-value",
"TIKTOK_REFRESH_TOKEN": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Or copy the settings yourself
Paste into .vscode/mcp.json in your project
{
"servers": {
"tiktok-organic": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"tiktok-organic-mcp"
],
"env": {
"TIKTOK_ACCESS_TOKEN": "your-value",
"TIKTOK_CLIENT_KEY": "your-value",
"TIKTOK_REFRESH_TOKEN": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
Values you fill in
- TikTok OAuth Access Token from Login Kit flow
- TikTok App Client Key (for token refresh)
- TikTok Refresh Token (for token renewal)
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
What it can do
Runs on your computer; the tool list appears in your AI app after you install it.
Basic checksi
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 10, 2026
- ✓ Pass
Maker matches the repo
The registry name was verified with the GitHub account lanternrow, which owns the repo
- … Not checked yet
Still maintained
We have not read this repo from GitHub yet
- … Not checked yet
Has a licence
We have not read this repo from GitHub yet
- – Not applicable
Endpoint responds
This one runs on your computer; there is no internet endpoint
- – Not applicable
Sign-in with OAuth
Runs on your computer and uses local settings instead
- … Not checked yet
No hidden instructions in tool descriptions
Runs on your computer; we can only read tool lists from internet endpoints
Compared with others in Marketing & social mediai
- More stars than 0% of the other 3691 servers in this category
- Published to the registry more recently than 13% of the other 3691 servers in this category
- Basic checks equal to or better than 100% of the other 3691 servers in this category
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
Common questions
Is Tiktok Organic MCP safe?
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
What keys or codes does it need?
You need to fill in: TIKTOK_ACCESS_TOKEN, TIKTOK_CLIENT_KEY, TIKTOK_REFRESH_TOKEN
Does it run on my computer or in the cloud?
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
Is it still maintained?
The GitHub repo last changed –, and the latest version (1.1.1) reached the registry 4 months ago.
Which apps can use it?
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
What can I use instead?
In the same category: MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer
Alternatives
Servers in the same category from other makers, sorted by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Google Analytics MCP
GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.
BibiGPT YouTube Video Summarizer
AI video summarizer: summarize and transcribe YouTube, Bilibili, TikTok and podcast videos.
README from the maker
Open the README
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
tiktok-organic-mcp
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](https://lanternrow.com/seo-engine/) toolkit by Rex Jones — AI-powered SEO and social media tooling for agencies and businesses.
Why this exists
- No open-source TikTok organic MCP existed. Ads MCPs exist. Organic analytics? Nobody built one.
- Paid alternatives cost money. The commercial options require monthly subscriptions. This is free and open source.
- Your AI should see your TikTok data. Ask "how are my TikTok videos performing?" and get a real answer.
Quick start
Option 1: npx (no install)
Single account:
{
"mcpServers": { "tiktok-organic": { "command": "npx", "args": ["-y", "tiktok-organic-mcp"], "env": { "TIKTOK_ACCESS_TOKEN": "your_access_token" } } } }
Multiple accounts:
{
"mcpServers": { "tiktok-organic": { "command": "npx", "args": ["-y", "tiktok-organic-mcp"], "env": { "TIKTOK_ACCOUNTS": "[{\"name\":\"mybrand\",\"access_token\":\"act.xxx\",\"client_key\":\"abc123\",\"refresh_token\":\"rft.xxx\"},{\"name\":\"otherbrand\",\"access_token\":\"act.yyy\",\"client_key\":\"def456\",\"refresh_token\":\"rft.yyy\"}]" } } } }
Option 2: Clone and build
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" } } } }
Getting your TikTok Access Token
Step 1: Create a TikTok Developer App
- Go to the TikTok Developer Portal and log in
- Click Manage apps → Connect an app
- Fill in your app details and submit for review
Step 2: Add Login Kit and request scopes
- In your app dashboard, add the Login Kit product
- Request these scopes:
user.info.basic— profile name, avataruser.info.profile— bio, verification statususer.info.stats— follower/following counts, total likesvideo.list— access to video listing and metrics
Step 3: Complete the OAuth flow
- Direct users to TikTok's authorization URL:
https://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}
2. Exchange the authorization code for tokens:
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}
3. Save the `access_token` and `refresh_token` from the response
Tip: Access tokens expire after 24 hours. Use the
refresh_tokentool or setTIKTOK_REFRESH_TOKENto enable automatic renewal.
Multi-account support
Monitor multiple TikTok accounts from a single MCP server. Set the TIKTOK_ACCOUNTS environment variable as a JSON array:
[
{ "name": "mybrand", "access_token": "act.xxx", "client_key": "abc123", "refresh_token": "rft.xxx" }, { "name": "otherbrand", "access_token": "act.yyy", "client_key": "def456", "refresh_token": "rft.yyy" } ]
Each account object requires:
name— a unique label you pick (used in tool calls)access_token— the OAuth access token
Optional:
client_key— needed for token refreshrefresh_token— needed for token refresh
Using accounts in tools: Every tool accepts an optional account parameter. If omitted, the first account in the array is used as default.
get_user_info(account: "mybrand")
get_videos(account: "otherbrand", max_count: 10)
Backward compatible: If you only have one account, the legacy single-env-var format (TIKTOK_ACCESS_TOKEN) still works. It creates a default account named "default".
Tools
Account tools
| Tool | Description |
|---|---|
list_accounts | List all configured TikTok accounts and the default |
Read tools
| 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) |
Utility tools
| Tool | Description |
|---|---|
refresh_token | Exchange refresh token for a new access token (requires client_key and refresh_token in account config) |
All read and utility tools accept an optional account parameter to target a specific account.
Architecture
src/
index.ts # MCP server entry point, tool registration accounts.ts # Multi-account resolution and configuration 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
- Zero external HTTP dependencies — uses Node 18+ native
fetch - Multi-account support — monitor multiple TikTok accounts from one server
- Backward compatible — single-token env var still works
- Cursor-based pagination — video listing supports pagination via cursor
- Zod validation — all tool inputs validated with descriptive error messages
- Batch video queries — get details for up to 20 videos in one request
Environment variables
Multi-account (recommended)
| Variable | Required | Description |
|---|---|---|
TIKTOK_ACCOUNTS | Yes | JSON array of account objects (see Multi-account support section) |
Single account (legacy)
| 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) |
Development
npm run dev # Watch mode — recompiles on save
npm run build # Production build npm start # Run the server
Contributing
Issues and PRs welcome. If TikTok changes their API, please open an issue.
License
MIT — see LICENSE.
Built as part of The SEO Engine by Rex Jones.