Skip to main content
Glama

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.

npm version License: MIT Sponsor


🚀 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.js

That's it! Start using these FREE tools immediately:

  • search_trending_videos — Find trending TikTok videos by keyword

  • analyze_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_trending_videos

Search TikTok trending videos (via web)

✅ Works immediately

analyze_hashtag

Analyze hashtag views, video count, trend

✅ Works immediately

draft_video_script

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

optimize_posting_time

AI-powered optimal posting times

3x more views

generate_hashtag_strategy

AI-generated hashtag mix (broad + niche + trending)

2x more discoverability

draft_video_script (AI mode)

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

Use `search_trending_videos` with keyword "#AI"
→ Returns: TikTok search URL, manual research checklist

2. Analyze a hashtag before using it

Use `analyze_hashtag` with hashtag "#marketing"
→ Returns: Hashtag URL, manual research checklist

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

Repo

3 tools

🐦 Twitter/X Marketing

Repo

3 tools

💬 Discord AI Marketing

Repo

3 tools

⭐ GitHub Stars Growth

Repo

4 tools

💼 LinkedIn B2B Marketing

Repo

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

Star History Chart


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

FREE: Analyze a TikTok hashtag (public data). Returns view count, video count, trend direction.

ParametersJSON Schema
NameRequiredDescriptionDefault
hashtagYesHashtag to analyze (e.g. "#AI", "#marketing", "#viral")

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Without annotations, the description must disclose behavioral traits. It states the tool is free and returns three metrics, which is helpful. However, it lacks details on authentication, rate limits, or any side effects. This is adequate but not comprehensive for a tool with no annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence that efficiently conveys the tool's purpose and return values. It is front-loaded with 'FREE: Analyze...' and contains zero wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity (one parameter, no output schema), the description adequately covers what the tool does and returns. It could mention the scope (public data only, which it does) and potential limitations, but overall it is fairly complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with a clear description of the required 'hashtag' parameter. The description adds little beyond the schema, only implying the parameter's role. With high schema coverage, baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it analyzes a TikTok hashtag and lists the specific return data (view count, video count, trend direction). This distinguishes it from sibling tools like generate_hashtag_strategy (strategy vs analysis) and search_trending_videos (search vs analysis).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description indicates it's free and uses public data, which implies a usage context, but it does not explicitly guide when to use this tool vs alternatives like generate_hashtag_strategy or search_trending_videos. No exclusions or prerequisites are mentioned.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

draft_video_scriptB

FREE: Draft a TikTok video script. Template-based (no API key needed).

ParametersJSON Schema
NameRequiredDescriptionDefault
topicYesVideo topic (e.g. "AI marketing tools", "productivity hacks")
hook_typeNoHook type: "question", "story", "tutorial", "challenge"

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden. It only reveals that the tool is free, template-based, and requires no API key. It does not disclose whether it uses AI, the format of the output (full script or outline), or any constraints like length or language.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Extremely concise at two sentences, with no wasted words. However, 'FREE' is front-loaded which may be slightly out of place for pure functional description, but it is not misleading.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with no output schema and 2 parameters, the description lacks details about return value (script length, format), usage limitations, and how the template works. Sibling tools are present but no context on how this complements them.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with both parameters described. The description adds no extra meaning beyond what the schema provides (topic and hook_type). Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Draft a TikTok video script' which is a specific verb+resource. It distinguishes from sibling tools (hashtag analysis, posting time optimization, trend search) by focusing on script creation. The mention of 'Template-based (no API key needed)' further clarifies the tool's nature.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool vs alternatives. The description does not mention prerequisites, scenarios, or when not to use it. Sibling tools exist but no differentiation is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

generate_hashtag_strategyA

PREMIUM: Generate a hashtag strategy for your niche. Requires DEESEEK_API_KEY.

ParametersJSON Schema
NameRequiredDescriptionDefault
nicheYesYour niche (e.g. "AI tools", "fitness", "cooking")
competitor_hashtagsNoComma-separated list of competitor hashtags (optional)

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided. The description adds the behavioral trait that it is 'PREMIUM' and requires a specific API key, indicating cost or access restrictions. However, it does not disclose other behaviors such as rate limits or how the strategy is generated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise with two sentences. The first sentence defines the purpose, and the second adds a critical prerequisite. No redundant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given that the tool has 2 parameters and no output schema, the description is somewhat under-specified. It does not explain what the hashtag strategy output looks like, how to interpret results, or any edge cases. The 'PREMIUM' indicator is helpful but does not fully compensate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% (both parameters have descriptions). The description does not add additional meaning beyond the schema. The mention of 'Requires DEESEEK_API_KEY' is about authentication, not parameter semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Generate a hashtag strategy for your niche'. The verb 'Generate' and resource 'hashtag strategy' are specific. It distinguishes from sibling 'analyze_hashtag' which focuses on analyzing a single hashtag.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description mentions 'Requires DEESEEK_API_KEY' as a prerequisite but does not provide explicit guidance on when to use this tool versus siblings like 'analyze_hashtag' or 'search_trending_videos'. There is no mention of when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

optimize_posting_timeC

PREMIUM: Get optimal posting times for your audience. Requires DEESEEK_API_KEY.

ParametersJSON Schema
NameRequiredDescriptionDefault
target_audienceYesTarget audience (e.g. "Gen Z", "marketers", "entrepreneurs")

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden. It only states the API key requirement, but does not disclose whether the tool is read-only, destructive, or any side effects. The behavioral context is minimal, which is insufficient for safe agentic use.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise with only two sentences, no redundant information, and key details (premium status, key requirement) are front-loaded. Every sentence serves a purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has only one parameter and no output schema, the description should hint at the return format or structure of optimal times. It does not, leaving the agent uncertain about what response to expect. The completeness is insufficient for a tool without an output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the schema already documents the parameter 'target_audience' with examples. The description adds no additional meaning beyond what the schema provides, so baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Get' and the resource 'optimal posting times for your audience'. It distinguishes itself from sibling tools like analyze_hashtag or draft_video_script by focusing specifically on timing optimization, though the 'PREMIUM' label adds context but also implies a restriction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description mentions it is a premium feature requiring 'DEESEEK_API_KEY', which provides a prerequisite but does not specify when to use this tool over alternatives or any exclusions. No guidance on scenarios where this tool is appropriate or not.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

TDQS

A3.7/5.0
Disambiguation5/5

Each tool targets a distinct marketing function: hashtag analysis, script drafting, strategy generation, posting optimization, and trending search. No overlap in purpose.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern in snake_case (e.g., analyze_hashtag, draft_video_script). No mixing of conventions.

Tool Count5/5

With 5 tools, the server covers key TikTok marketing tasks without being too sparse or bloated. The scope is well-balanced.

Completeness4/5

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

ActivitySlowing
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    Not graded
    maintenance
    A 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.
    12
    2
    -
  • F
    license
    B
    quality
    D
    maintenance
    MCP 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
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    An 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
    -
  • F
    license
    A
    quality
    C
    maintenance
    A 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.
    5
    -

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/1036007003-wq/tiktok-marketing-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server