TikTok Marketing MCP
The TikTok Marketing MCP server automates TikTok marketing tasks, offering free tools for trend research and content creation, plus premium AI-powered tools via the DeepSeek API.
Free Tools (No API Key Required)
search_trending_videos: Search for trending TikTok videos by keyword or hashtag, returning video titles, views, and likes.analyze_hashtag: Analyze a TikTok hashtag's performance, including view count, video count, and trend direction.draft_video_script: Generate a template-based video script for a given topic and hook type (question,story,tutorial, orchallenge).
Premium Tools (Requires DeepSeek API Key)
optimize_posting_time: Use AI to determine the best posting times for a specific target audience to maximize views.generate_hashtag_strategy: Generate a tailored hashtag mix (broad, niche, and trending) for a given content niche, with optional competitor hashtag input for better targeting.
Provides tools for searching trending videos, analyzing hashtag performance, and drafting video scripts for viral marketing on TikTok.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TikTok Marketing MCP search trending videos for #AI"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
TikTok Marketing MCP v1.0.0
Free MCP server to automate TikTok viral marketing — search trending videos, analyze hashtags, draft video scripts. Premium features powered by DeepSeek AI.
🚀 Quick Start (FREE, no API key needed)
# Install
npm install -g tiktok-marketing-mcp
# Add to your MCP client (e.g., Cline, Claude Desktop)
# No API key needed for FREE features!
node /path/to/tiktok-marketing-mcp/index.jsThat's it! Start using these FREE tools immediately:
search_trending_videos— Find trending TikTok videos by keywordanalyze_hashtag— Analyze a hashtag's performance (public data)draft_video_script— Template-based video script drafts
Related MCP server: tiktok-mcp
🔧 FREE Features (no API key)
Tool | What it does | No API key? |
| Search TikTok trending videos (via web) | ✅ Works immediately |
| Analyze hashtag views, video count, trend | ✅ Works immediately |
| Draft a video script (template) | ✅ Works immediately |
💎 PREMIUM Features (requires DeepSeek API key)
Set DEEPSEEK_API_KEY in your .env file to unlock:
Tool | What it does | Why it's worth paying for |
| AI-powered optimal posting times | 3x more views |
| AI-generated hashtag mix (broad + niche + trending) | 2x more discoverability |
| AI-generated script based on hook type | 10x better retention |
Get a DeepSeek API key: https://platform.deepseek.com (cheap, ~$0.14/1M tokens)
📦 Installation
For MCP Client Users (Claude Desktop, Cline, etc.)
Add to your MCP client config:
{
"mcpServers": {
"tiktok-marketing": {
"command": "node",
"args": ["/path/to/tiktok-marketing-mcp/index.js"],
"env": {
"DEEPSEEK_API_KEY": "sk-xxx" // Optional, for premium features
}
}
}
}For Developers
git clone https://github.com/1036007003-wq/tiktok-marketing-mcp.git
cd tiktok-marketing-mcp
npm install
node index.js🎯 Use Cases
1. Find trending content ideas
Use `search_trending_videos` with keyword "#AI"
→ Returns: TikTok search URL, manual research checklist2. Analyze a hashtag before using it
Use `analyze_hashtag` with hashtag "#marketing"
→ Returns: Hashtag URL, manual research checklist3. Draft a viral video script
Use `draft_video_script`
→ Returns: Template-based script (or AI script with DeepSeek)4. (Premium) Get optimal posting times
Use `optimize_posting_time` with target audience
→ Returns: AI-generated best posting times (by timezone)5. (Premium) Generate a hashtag strategy
Use `generate_hashtag_strategy` with niche
→ Returns: AI-generated hashtag mix (5 broad + 10 niche + 5 trending)🌏 For China Users (中国用户)
# If you can't access TikTok directly:
# 1. Set proxy
export HTTP_PROXY=http://127.0.0.1:7890
export HTTPS_PROXY=http://127.0.0.1:7890
# 2. Or use a China-friendly API proxy
# (We recommend setting up your own proxy, or use a VPN)🏆 Why This is Better Than...
Alternative | Problem | Our Solution |
Manual TikTok research | Takes hours, algorithm changes fast | Automated trend detection |
Buying TikTok ads | Expensive ($20+ / day) | Free basic features |
Hiring a content strategist | $2000+ / month | One-time setup |
Other TikTok tools | Require TikTok API (complicated) | No API needed for basic features |
🧩 More MCP Tools
Product | Link | Free Features |
🚀 Reddit Marketing | 3 tools | |
🐦 Twitter/X Marketing | 3 tools | |
💬 Discord AI Marketing | 3 tools | |
⭐ GitHub Stars Growth | 4 tools | |
💼 LinkedIn B2B Marketing | 3 tools |
📊 Roadmap
Free: Search trending videos (via web)
Free: Analyze hashtag (public data)
Free: Draft video script (template)
Premium: AI-powered script generation (DeepSeek)
Premium: Optimal posting time prediction
Premium: Hashtag strategy generation
Paid: Auto-post scheduler
Paid: Video performance analytics dashboard
Paid: Viral score predictor
💰 Pricing (GitHub Sponsors)
Tier | Price | What you get |
Free | $0 | 3 basic tools (no API key needed) |
Supporter | $5/mo | All premium features + priority support |
Team | $25/mo | All premium + custom AI prompts + script templates |
One-time | $99 | Lifetime access (no subscription) |
👉 Sponsor here: https://github.com/sponsors/1036007003-wq
🐛 Issues / Feature Requests
Open an issue: https://github.com/1036007003-wq/tiktok-marketing-mcp/issues
⭐ Star History
Built by @1036007003-wq | Sponsor on GitHub ❤️
🔧 Need a Custom MCP Server?
I build custom MCP Servers for any API or system. 5-day delivery, $1,500/project.
Contact: Open an issue or email 1036007003@qq.com
Available Tools
5 toolsanalyze_hashtagA
FREE: Analyze a TikTok hashtag (public data). Returns view count, video count, trend direction.
Inputs: hashtag (required).
draft_video_scriptB
FREE: Draft a TikTok video script. Template-based (no API key needed).
Inputs: topic (required), hook_type.
generate_hashtag_strategyA
PREMIUM: Generate a hashtag strategy for your niche. Requires DEESEEK_API_KEY.
Inputs: niche (required), competitor_hashtags.
optimize_posting_timeC
PREMIUM: Get optimal posting times for your audience. Requires DEESEEK_API_KEY.
Inputs: target_audience (required).
search_trending_videosA
FREE: Search for trending TikTok videos by keyword/hashtag. Returns video titles, views, likes.
Inputs: keyword (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool targets a distinct marketing function: hashtag analysis, script drafting, strategy generation, posting optimization, and trending search. No overlap in purpose.
All tools follow a consistent verb_noun pattern in snake_case (e.g., analyze_hashtag, draft_video_script). No mixing of conventions.
With 5 tools, the server covers key TikTok marketing tasks without being too sparse or bloated. The scope is well-balanced.
The tool set covers analysis, content drafting, strategy, timing, and discovery. Missing features like post scheduling or account analytics, but the core marketing loop is present.
Maintenance
Related MCP Connectors
Post to 6 social networks, track TikTok trends and make AI videos from any MCP client.
Tokfluence's hosted MCP server connects Claude, ChatGPT, Cursor or any MCP client to the Tokfluence TikTok creator index. Give your agent a brief and it plans the search, pages through keyword and structured results, reads creators' latest posts as evidence, ranks the pool, and saves the list to your Tokfluence dashboard. For niches the index doesn't cover yet, it can start a crawl (it asks you first and shows the credit cost) or hand the brief to Ultra Search for a judged list with a tier, fit and reason for each creator. It's a remote server with nothing to install: sign in with OAuth, or use an API key. Free accounts include 50 API credits; paid plans add more. Creators whose bio states an age under 18 are always excluded.
TikTok research for AI agents. Ask ChatGPT, Claude, Cursor, Codex or any MCP client what people search, watch, say and buy on TikTok, and get real numbers back. 34 tools: weekly TikTok search volume and 7-day trends, content gaps, videos, creators, comments and caption transcripts, hashtags and sounds, TikTok Shop sales estimates for products, shops, creators, videos and LIVE streams, TikTok’s Top Ads library with CTR and retention, places, and a fair comment-giveaway picker. 17 markets. Built for marketers, agencies, TikTok Shop sellers and creators. Sign in with OAuth or an API key; 50 free credits, no card.
Make, render and auto-post AI faceless videos to YouTube, TikTok and Instagram from any MCP client.
Related MCP Servers
- AlicenseBqualityNot gradedmaintenanceA comprehensive MCP server that enables AI assistants to search, download, and analyze TikTok content while also performing active tasks like publishing videos and interacting with posts. It provides full automation capabilities for TikTok through browser session management and anti-detection features.122MIT
- FlicenseBqualityDmaintenanceMCP server for TikTok that enables searching videos, users, hashtags, and fetching trending content, user profiles, and video details via official API or public scraping.8-
- FlicenseNot gradedqualityDmaintenanceAn MCP server that automates short-form video production for TikTok, Instagram Reels, and YouTube Shorts, using AI agents and behavioral science to generate production-ready videos from a topic and vibe.1-
- AlicenseAqualityDmaintenanceA free MCP server for growing Discord communities, offering tools to search public servers, analyze engagement, and draft messages, with optional premium AI features powered by DeepSeek.5MIT