Skip to main content
Glama
trendsmcp-ai

tiktok-trends-mcp

TikTok Trends MCP

Live trend data for AI agents. Google, TikTok, YouTube, Amazon, Reddit, and 30+ other sources. One MCP connection, one API key.

PyPI License: MIT CI MCP Free tier Glama

Get a free API key · Docs · Pricing · Data sources · PyPI · Glama

You: Using TrendsMCP, compare 6-month growth for GLP-1 on Google, TikTok, and Amazon.

Agent: Google Search  +84%
       TikTok         +212%
       Amazon         +61%

Three tools. Normalized 0–100 where the pipeline supports it. No per-platform keys. No scraping on your side.

Quick install

Same four clients as the site hero. Get a free key first (100 req/mo). Claude and ChatGPT sign you in with OAuth. Cursor and VS Code: click, then put your key from /account if the deeplink used a placeholder.

Client

After you click

Claude

Connector name and URL are prefilled (https://www.trendsmcp.ai/mcp). Confirm, then authorize.

Cursor

Approve the MCP install. Replace YOUR_API_KEY if prompted.

ChatGPT

Enable Developer mode (Profile → Settings → Security). Name Trends MCP, URL https://www.trendsmcp.ai/mcp, then authorize.

VS Code

Sign in on the account page and use the VS Code button so the key is included.

Then ask: Using TrendsMCP, what's trending on Google right now?

Tools · Sources · Feeds · REST · Install in other clients


Related MCP server: tiktok-trends-mcp

What this is

Hosted MCP at https://api.trendsmcp.ai/mcp. Same Bearer key for POST https://api.trendsmcp.ai/api. This repo also has a stdio adapter for Glama and local hosts.

Tool

Use when

Needs a keyword?

get_time_series

History for one keyword on one source

Yes

get_growth

Percent change over 7D–5Y (several windows in one call)

Yes

get_top_trends

What is ranking on a platform right now

No


Install in other clients

Replace YOUR_API_KEY with the key from your account.

claude mcp add --scope user --transport http trends-mcp https://api.trendsmcp.ai/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"

~/.cursor/mcp.json (Windows: %USERPROFILE%\.cursor\mcp.json)

{
  "mcpServers": {
    "trends-mcp": {
      "url": "https://api.trendsmcp.ai/mcp",
      "transport": "http",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

.vscode/mcp.json or Command Palette → MCP: Add Server. Prefer the account-page VS Code button so the key is wired for you.

{
  "servers": {
    "trends-mcp": {
      "type": "http",
      "url": "https://api.trendsmcp.ai/mcp",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

Uses serverUrl, not Cursor’s url + transport. File: ~/.codeium/windsurf/mcp_config.json.

{
  "mcpServers": {
    "trends-mcp": {
      "serverUrl": "https://api.trendsmcp.ai/mcp",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

Remote server, type exactly streamableHttp. See llms-install.md.

{
  "mcpServers": {
    "trends-mcp": {
      "type": "streamableHttp",
      "url": "https://api.trendsmcp.ai/mcp",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" },
      "disabled": false
    }
  }
}
{
  "mcpServers": {
    "trends-mcp": {
      "command": "npx",
      "args": [
        "-y", "mcp-remote",
        "https://api.trendsmcp.ai/mcp",
        "--header", "Authorization:${AUTH_HEADER}"
      ],
      "env": { "AUTH_HEADER": "Bearer YOUR_API_KEY" }
    }
  }
}

Settings → Connectors → add https://www.trendsmcp.ai/mcp. This path uses OAuth on www.trendsmcp.ai. Do not put a Bearer key in that connector config.

Hosted HTTP is still the product default. This process lists tools with no key; paid calls need TRENDSMCP_API_KEY and bill the same quota.

pip install -e .
python -m trends_mcp_server
{
  "mcpServers": {
    "trends-mcp": {
      "command": "python",
      "args": ["-m", "trends_mcp_server"],
      "env": { "TRENDSMCP_API_KEY": "YOUR_API_KEY" }
    }
  }
}

Say “using TrendsMCP” so the model picks these tools instead of web search. More clients: docs.


Tools

Always-current parameter lists: docs.

get_time_series

Weekly (or daily) history for one source + keyword. Same name on MCP and REST (mode: "get_time_series"). REST also accepts get_trends as an alias.

Argument

Required

Notes

keyword

yes

Format depends on source (table below)

source

yes

One source per call. Lowercase catalog names

data_mode

no

REST only. weekly (default) or daily

Index is 0–100 where the pipeline supports it (100 = peak in the returned window). volume is present when that source has an absolute series.

get_growth

Point-to-point percent change. Several windows in one call still count as one request for that source + keyword.

Argument

Required

Notes

keyword

yes

Same formats as get_time_series

source

yes

One source, or a comma-separated list (google search, tiktok, amazon)

percent_growth

no

Default ["12M"]. Presets below, or { "recent", "baseline", "name" } date objects

Presets: 7D 14D 30D 1M 2M 3M 6M 9M 12M 1Y 18M 24M 2Y 36M 3Y 48M 60M 5Y MTD QTD YTD.

Live ranked list. No keyword. On MCP, type is required and must match the feed name exactly (including capitals). On REST, omit type only if you intend to pull every feed (billed per feed).

Argument

Required on MCP

Notes

type

yes

See live feeds

limit

no

Default 25, max 200

offset

no

Pagination

category

for some types

Amazon / Google Trends / Top Websites / Substack / TikTok hashtag category boards

sort

no

rank (default) or rank_change

window

no

With sort=rank_change: 1d 3d 7d 14d 30d


Prompts that route correctly

Using TrendsMCP, what's trending on Google right now?
Using TrendsMCP, what are the hottest Reddit posts right now?
Using TrendsMCP, compare 6-month growth for creatine gummies on Google, TikTok, and Amazon.
Using TrendsMCP, show Google Search history for protein soda.
Via TrendsMCP, pull npm download history for langchain.
Using TrendsMCP, show Steam concurrent players for Elden Ring.
Via TrendsMCP, Android downloads for com.openai.chatgpt.
Using TrendsMCP, fastest-climbing Amazon best sellers in Toys Games this week.

Keyword sources

source on get_time_series / get_growth. Not the same strings as type on live feeds.

source

Signal

keyword

google search

Search volume

Any phrase

google images

Image search volume

Any phrase

google news

News-tab volume

Any phrase

google shopping

Shopping-tab volume

Any phrase

youtube

YouTube search volume

Any phrase

tiktok

Hashtag volume

Hashtag or topic (# optional)

reddit

Subreddit attention

Name only, no r/

amazon

Product search volume

Product or category

wikipedia

Page views

Article title or topic

news volume

Mention volume

Any phrase

news sentiment

News tone

Any phrase

app downloads

Android downloads

Play bundle id, e.g. com.openai.chatgpt

app rankings

Android chart position

Bundle id

npm

Weekly downloads

Exact package name (react, @babel/core)

steam

Monthly concurrent players

Game display name (Elden Ring)

source: "Google Trends" is invalid. Use google search for history and type: "Google Trends" for the live board.


Live feeds

type on get_top_trends. Copy the name exactly.

type

Board

Google Trends

Google searches now

Google Trends by Category

Needs category (e.g. Games)

Google News Top News

Google News stories

TikTok Trending Hashtags

Hashtags

TikTok Trending Hashtags by Category

Needs category

TikTok Trending Searches

In-app searches

YouTube Trending

Videos

X (Twitter) Trending

Topics on X

Reddit Hot Posts

Front page

Reddit World News

r/worldnews

Wikipedia Trending

Most-viewed articles

Amazon Best Sellers Top Rated

Top-rated sellers

Amazon Best Sellers by Category

Needs category (e.g. Toys Games)

App Store Top Free / App Store Top Paid

iOS charts

Google Play

Play chart

Top Websites

Global traffic rank; optional category

Spotify Top Podcasts

Podcasts

Steam Most Played

Live players

Substack / Substack by Category

Newsletters

GitHub

Daily trending repos

IMDb MOVIEmeter

Movie activity

Open Library Trending Books

Books

Category name lists: docs.

iOS charts, GitHub repos, Spotify, IMDb, Open Library, Substack, and Top Websites are feeds, not source values. There is no source: "web traffic".


REST API

curl -sS -X POST https://api.trendsmcp.ai/api \
  -H "Authorization: Bearer $TRENDSMCP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"mode":"get_top_trends","type":"Google Trends","limit":5}'
import os, requests

r = requests.post(
    "https://api.trendsmcp.ai/api",
    headers={"Authorization": f"Bearer {os.environ['TRENDSMCP_API_KEY']}"},
    json={"mode": "get_growth", "source": "google search", "keyword": "bitcoin", "percent_growth": ["3M", "12M"]},
)
print(r.json())

Python client: pip install trendsmcp.


Limits and errors

Plan

Requests / month

Price

Free

100

$0

Starter

1,000

$19

Pro

5,000

$49

Business

25,000

$199

Annual billing is 20% less. Same source catalog on every plan. Free history and “top N” caps are on pricing. Failed calls are not billed. Over quota returns 429 / rate_limited (no surprise overages).

One billed request:

  • get_time_series: one source + keyword

  • get_growth: one source + keyword (all windows in that call included)

  • get_top_trends: per type (and pagination as documented)

Status

Meaning

400

Bad or missing source / type / field

401

Missing or invalid key

404

No series for that keyword + source

429

Monthly cap

500

Upstream or internal error

Do not commit keys. Claude.ai connectors use OAuth; other clients use Authorization: Bearer ….


What this does not do

  • Region / geo breakdown, related queries, or related topics

  • Hourly series

  • get_time_series across several sources in one call (use get_growth with a comma-separated source list, or several get_time_series calls)

  • Inventing feed names: MCP type must match the table


Develop this repo

pip install -e .
python -m trends_mcp_server

CI: .github/workflows/ci.yml. Security: SECURITY.md. Issues: github.com/trendsmcp-ai/tiktok-trends-mcp/issues.


MIT © Trends MCP

Available Tools

3 tools
get_growthA
Read-onlyIdempotent
Inspect

Point-to-point growth for a keyword on one or more sources. Each window is a preset string (12M, 3M, YTD, and the other listed periods). Values are on a 0-100 scale, plus absolute volume when available. Prefer this over get_time_series for growth questions. app downloads and app rankings are keyword sources (Android bundle ID). They are not the App Store / Google Play live boards on get_top_trends. If the request is rate limited or the monthly quota is used up, tell the user their plan limit is reached.

ParametersJSON Schema
NameRequiredDescriptionDefault
sourceYesOne source, or comma-separated sources (e.g. 'amazon, tiktok, youtube'). Valid: 'google search', 'google images', 'google news', 'google shopping', 'youtube', 'wikipedia', 'tiktok', 'reddit', 'amazon', 'news sentiment', 'news volume', 'npm', 'python', 'steam', 'app downloads', 'app rankings'.
keywordYesWhat to look up. The string format is required by source. Standard sources (google search, google images, google news, google shopping, youtube, wikipedia, tiktok, reddit, amazon, news sentiment, news volume): any name or phrase, e.g. 'nike'. npm: exact npmjs.com package name, case-sensitive. Right: 'react', '@babel/core'. Wrong: 'React', 'React.js'. python: exact PyPI project name. Right: 'pandas', 'requests'. Wrong: 'Pandas'. steam: game display name in plain English, not a Steam App ID. Right: 'Elden Ring', 'CS2'. First Steam store search result wins, so use an unambiguous name. app downloads and app rankings: Android bundle ID only (the id= value on Google Play). Right: 'com.openai.chatgpt', 'com.whatsapp'. Wrong: 'ChatGPT', 'WhatsApp', an iOS App Store ID, or a bundle ID that is not Android. Find it at play.google.com/store/apps/details?id=THIS_PART. If the request includes app downloads or app rankings with other sources, keyword must still be the Android bundle ID.
percent_growthNoGrowth windows. Default if omitted: ['12M']. Each item must be a preset string: '7D', '1W', '14D', '2W', '30D', '1M', '2M', '3M', '6M', '9M', '12M', '1Y', '18M', '24M', '2Y', '36M', '3Y', '48M', '4Y', '60M', '5Y', 'MTD', 'QTD', 'YTD'. Every preset is a two-date comparison.

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint, but the description adds meaningful behavioral detail beyond these: values are on a 0-100 scale, absolute volume is included when available, windows are preset strings, and rate-limit/quota failures should be reported as a plan limit reached. No contradiction with annotations.

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?

The core purpose is front-loaded in the first sentence, followed by output-scale details, sibling preference, source clarification, and error handling. It is slightly long and some points duplicate schema content, but every sentence earns its place by clarifying usage or behavior.

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

Completeness5/5

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

With an output schema present, the description does not need to explain return structure. It covers what the tool does, when to choose it over siblings, source constraints, output scaling, and the rate-limit failure mode. Nothing needed to invoke it correctly is missing.

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?

The input schema already provides rich documentation: source lists valid values and comma-separated behavior, keyword specifies per-source formats, and percent_growth enumerates all preset windows. The description reinforces the preset-window idea and Android bundle ID requirement but adds little genuinely new parameter information beyond what the schema already covers.

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 opens with a specific verb and resource: 'Point-to-point growth for a keyword on one or more sources.' It also explicitly distinguishes itself from siblings by saying to prefer it over get_time_series for growth questions and clarifying that app sources are not the live boards on get_top_trends. This makes the tool's unique purpose immediately clear.

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

Usage Guidelines5/5

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

The description gives direct guidance: 'Prefer this over get_time_series for growth questions' and clarifies that app downloads/app rankings sources are not the App Store/Google Play live boards on get_top_trends. It also tells the agent what to do on rate limiting or quota exhaustion, which is practical usage guidance.

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

get_time_seriesA
Read-onlyIdempotent
Inspect

Full historical series for one keyword and one source (0-100 values, plus volume when available). Use for charting or custom math. Not for live 'what's trending now' boards (use get_top_trends). For most growth questions, use get_growth. If the request is rate limited or the monthly quota is used up, tell the user their plan limit is reached.

ParametersJSON Schema
NameRequiredDescriptionDefault
sourceYesExactly one source per request. Valid: 'google search', 'google images', 'google news', 'google shopping', 'youtube', 'wikipedia', 'tiktok', 'reddit', 'amazon', 'news sentiment', 'news volume', 'npm', 'python', 'steam', 'app downloads', 'app rankings'.
keywordYesWhat to look up. The string format is required by source. Standard sources (google search, google images, google news, google shopping, youtube, wikipedia, tiktok, reddit, amazon, news sentiment, news volume): any name or phrase, e.g. 'tesla'. npm: exact npmjs.com package name, case-sensitive. Right: 'react', '@babel/core'. Wrong: 'React', 'React.js'. python: exact PyPI project name. Right: 'pandas', 'requests'. Wrong: 'Pandas'. steam: game display name in plain English, not a Steam App ID. Right: 'Elden Ring', 'CS2'. First Steam store search result wins, so use an unambiguous name. app downloads and app rankings: Android bundle ID only (the id= value on Google Play). Right: 'com.openai.chatgpt', 'com.whatsapp'. Wrong: 'ChatGPT', 'WhatsApp', an iOS App Store ID, or a bundle ID that is not Android. Find it at play.google.com/store/apps/details?id=THIS_PART.

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.7/5.0
Behavior5/5

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

The description adds meaningful behavioral details beyond the readOnly/openWorld/idempotent annotations: the series is limited to 0-100 values, volume is included 'when available,' and there is a clear instruction on how to handle rate limits or quota exhaustion. No contradiction with 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?

Three concise sentences, each earning its place: the first defines output, the second gives usage context and alternatives, and the third provides error-handling behavior. It is front-loaded with the core purpose and contains no filler.

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

Completeness5/5

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

With an output schema present, a fully self-documenting source parameter schema, and rich annotations, the description covers everything an agent needs to select and invoke the tool correctly. It even includes quota/rate-limit handling, which is often missing.

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%, and the source parameter already carries extensive, source-specific validation guidance. The description adds only the general constraint of 'one keyword and one source,' which is helpful but does not materially expand parameter semantics beyond the schema.

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 states a specific action and resource: 'Full historical series for one keyword and one source (0-100 values, plus volume when available).' It also explicitly differentiates itself from sibling tools by naming get_top_trends and get_growth, so an agent can distinguish it immediately.

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

Usage Guidelines5/5

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

It gives explicit when-to-use guidance: 'Use for charting or custom math.' It also provides exclusions: 'Not for live trending boards (use get_top_trends)' and 'For most growth questions, use get_growth.' The rate-limit handling instruction adds operational guidance.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 3 tool updatesv0.1.0
    • First observedget_growth
    • First observedget_time_series
    • First observedget_top_trends

TDQS

A4.7/5.0
Disambiguation5/5

Each tool addresses a distinct retrieval pattern: get_growth handles window-over-window comparisons for keyword sources, get_time_series provides full historical data for charting, and get_top_trends targets current live boards without a keyword. The descriptions explicitly cross-reference each other and state when one is preferred, so an agent should be able to select correctly.

Naming Consistency5/5

All three tool names follow the same get_ + noun pattern using snake_case, making the collection predictable. There are no mixed conventions or vague verbs.

Tool Count5/5

Three tools is well-scoped for a trends data server: one for growth comparisons, one for full history, and one for live top lists. Each tool provides a distinct high-level capability without redundancy or bloat.

Completeness4/5

The read-only trend surface is broadly covered: live boards, point-to-point growth, and historical series cover the main ways trends data would be requested. A minor gap is that there is no explicit discovery tool for available sources/categories, though the descriptions document them sufficiently for most workflows.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Provides TikTok hashtag trend data including volume growth, viral spikes, and historical time series, enabling AI assistants to spot emerging trends before they go mainstream.
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI assistants to access TikTok organic analytics including video performance, engagement metrics, and profile insights via the TikTok Developer API.
    5
    23
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides AI applications with real-time, evidence-backed context on creators, audiences, brands, trends, and sponsorships, including breakout topic search and browsing tools.
    MIT

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/trendsmcp-ai/tiktok-trends-mcp'

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