CCM
/MCP
SkillsMCPMarketplacesDigestToolsAdvertise

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by Category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP Servers by Category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by Category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control

Claude Code Marketplaces

Discover Claude Code plugins, extensions, and tools. Automatically updated directory of Anthropic Claude AI marketplaces with development tools, productivity plugins, and integrations.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Marketplaces
  • Skill index
  • MCP index
  • Marketplace index
  • Plugins Reference

Community

  • About
  • Tools
  • Feedback
  • Privacy Policy
  • Advertise

Built for the Claude Code community with Claude Code by mertbuilds.com

Independent project, not affiliated with Anthropic
lanternrow avatar

Tiktok Organic Mcp

lanternrow/tiktok-organic-mcp
authSTDIOregistry active
Summary

Connects Claude directly to TikTok's organic analytics through their Developer API. You get read access to profile stats (followers, likes, verification status), video listings with pagination, and detailed engagement metrics for up to 20 videos at once (views, comments, shares). Built on native fetch with no external HTTP dependencies. Handles multi-account setups through a JSON array in env vars, and includes a token refresh tool since TikTok access tokens expire after 24 hours. Requires going through TikTok's OAuth flow with Login Kit to get your credentials. Useful if you're building content performance dashboards or asking Claude to analyze your TikTok metrics without switching to the app.

CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
inference shell
inference shell
create and run specialised agents in minutes
build now →
MCP-ready Email SendingMCP-ready Email Sending
MCP-ready Email Sending
Plug Mailtrap into your AI workflow and let it handle the email.
Connect Mailtrap MCP →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Capacitor - Shared memory for your team’s coding agents.
Capacitor - Shared memory for your team’s coding agents.
Make coding agent sessions - Searchable, Shareable, Vendor-neutral & Scored.
Try For Free →
CodeScene MCP ServerCodeScene MCP Server
CodeScene MCP Server
Your agent targets a perfect 10 Code Health score. Deterministic. Every commit.
Try For Free →
Give your AI the whole web as clean markdownGive your AI the whole web as clean markdown
Give your AI the whole web as clean markdown
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
belt - the only tool your agent needs
belt - the only tool your agent needs
belt cli automatically finds the best tools and skills for your agent. image, video, music, tts...
one prompt install →
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
inference shell
inference shell
create and run specialised agents in minutes
build now →
MCP-ready Email SendingMCP-ready Email Sending
MCP-ready Email Sending
Plug Mailtrap into your AI workflow and let it handle the email.
Connect Mailtrap MCP →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Capacitor - Shared memory for your team’s coding agents.
Capacitor - Shared memory for your team’s coding agents.
Make coding agent sessions - Searchable, Shareable, Vendor-neutral & Scored.
Try For Free →
CodeScene MCP ServerCodeScene MCP Server
CodeScene MCP Server
Your agent targets a perfect 10 Code Health score. Deterministic. Every commit.
Try For Free →
Give your AI the whole web as clean markdownGive your AI the whole web as clean markdown
Give your AI the whole web as clean markdown
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
belt - the only tool your agent needs
belt - the only tool your agent needs
belt cli automatically finds the best tools and skills for your agent. image, video, music, tts...
one prompt install →

tiktok-organic-mcp

npm version License: MIT

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 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

  1. Go to the TikTok Developer Portal and log in
  2. Click Manage apps → Connect an app
  3. Fill in your app details and submit for review

Step 2: Add Login Kit and request scopes

  1. In your app dashboard, add the Login Kit product
  2. Request these scopes:
    • user.info.basic — profile name, avatar
    • user.info.profile — bio, verification status
    • user.info.stats — follower/following counts, total likes
    • video.list — access to video listing and metrics

Step 3: Complete the OAuth flow

  1. 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_token tool or set TIKTOK_REFRESH_TOKEN to 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 refresh
  • refresh_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

ToolDescription
list_accountsList all configured TikTok accounts and the default

Read tools

ToolDescription
get_user_infoProfile metadata: username, bio, follower/following counts, total likes, video count, verification status
get_videosPaginated list of public videos with engagement metrics (views, likes, comments, shares)
get_video_detailsDetailed metrics for specific video IDs (batch up to 20)

Utility tools

ToolDescription
refresh_tokenExchange 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)

VariableRequiredDescription
TIKTOK_ACCOUNTSYesJSON array of account objects (see Multi-account support section)

Single account (legacy)

VariableRequiredDescription
TIKTOK_ACCESS_TOKENYesOAuth access token from Login Kit flow
TIKTOK_CLIENT_KEYFor refreshApp Client Key (needed for token refresh)
TIKTOK_REFRESH_TOKENFor refreshRefresh 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.

Featured
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
inference shell
inference shell
create and run specialised agents in minutes
build now →
MCP-ready Email SendingMCP-ready Email Sending
MCP-ready Email Sending
Plug Mailtrap into your AI workflow and let it handle the email.
Connect Mailtrap MCP →
Make your agent a DeFi expert
Make your agent a DeFi expert
Agent, run crypto. Access onchain data & trade routes via 1inch.
Install now →
Capacitor - Shared memory for your team’s coding agents.
Capacitor - Shared memory for your team’s coding agents.
Make coding agent sessions - Searchable, Shareable, Vendor-neutral & Scored.
Try For Free →
CodeScene MCP ServerCodeScene MCP Server
CodeScene MCP Server
Your agent targets a perfect 10 Code Health score. Deterministic. Every commit.
Try For Free →
Give your AI the whole web as clean markdownGive your AI the whole web as clean markdown
Give your AI the whole web as clean markdown
Integrate web data into your AI product. One API to scrape website & brand data.
Get API Key Now →
belt - the only tool your agent needs
belt - the only tool your agent needs
belt cli automatically finds the best tools and skills for your agent. image, video, music, tts...
one prompt install →

Configuration

TIKTOK_ACCESS_TOKEN*secret

TikTok OAuth Access Token from Login Kit flow

TIKTOK_CLIENT_KEYsecret

TikTok App Client Key (for token refresh)

TIKTOK_REFRESH_TOKENsecret

TikTok Refresh Token (for token renewal)

Categories
Monitoring & ObservabilityMedia & Entertainment
Registryactive
Packagetiktok-organic-mcp
TransportSTDIO
AuthRequired
UpdatedMay 25, 2026
View on GitHub

More from lanternrow

  • Facebook Pages Mcp

Related Monitoring & Observability MCP Servers

View all →
listingbureau avatar
Listing Bureau - Amazon Organic Ranking MCP Server

listingbureau/listingbureau-mcp

Amazon organic ranking MCP server. Run campaigns, track positions, monitor rank movement.
logly-uk avatar
Logly

logly-uk/logly-mcp

Query your Logly web analytics — traffic, funnels and real-time visitors — from any MCP client.
manumarri-sudo avatar
Quill

manumarri-sudo/quill

Pre-execution gate for AI-agent tool calls. Touch ID approval. Tamper-evident audit log.
marras0914 avatar
Cordon for MCP

marras0914/cordon

Cordon for MCP. Security gateway with policy enforcement, audit log, and HITL approvals.
me.speedof avatar
Speed Test

me.speedof/speed-test

Official SpeedOf.Me server - Accurate speed tests via 129 global edge servers with analytics.
meshpop avatar
mpop

meshpop/mpop

Server fleet management MCP — monitor, deploy, and manage distributed Linux servers