trendzeist-mcp
trendzeist-mcp turns Google Trends, Autocomplete, News, and Wikipedia into ranked content ideas and AEO research locally, without API keys.
Discover ranked breakout, rising, and evergreen blog topics from seed keywords, including angles, scores, questions, and optional site-coverage gaps.
Mine long-tail questions and AEO opportunities, clustered and scored with trend, news, Wikipedia, site coverage, and citability evidence.
Analyze search demand: interest over time, keyword comparisons, related queries/topics, regional interest, categories, entity suggestions, and real-time trending searches.
Plan content timing and format with seasonality peaks, publish-by dates, channel momentum across web/YouTube/News/Images/Shopping, and format hints.
Track changes over repeated use via a local archive: new/cooled queries, trend history, recurring breakouts, and snapshot comparisons.
Gather supporting evidence from Google News headlines/publishers/recency and Wikipedia article/pageview attention.
Check source health, cooldowns, cache, archive status, and effective settings without network requests.
Use built-in prompts/skills for blog ideas, content briefs, answer briefs, and weekly reviews, and run it locally via uvx, pipx, Docker, Claude Desktop/Code, Cursor, VS Code, or Codex.
Provides access to Google Trends data, enabling topic discovery, keyword comparison, interest-over-time analysis, related queries and topics, geographic breakdowns, and real-time trending searches.
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., "@trendzeist-mcp Give me blog post ideas about home espresso for US readers."
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.
trendzeist-mcp
Turn Google Trends into your next 10 blog posts — in one call.
A free, local MCP server for content ideation and answer-engine optimization (AEO). It combines Google Trends, Autocomplete, Google News and Wikipedia to find ranked topics, real questions, content gaps and supporting sources. No API key, account or browser. Results stay on your machine apart from requests to those public services.
It helps decide what to write. Measuring your visibility inside ChatGPT, Perplexity or AI Overviews is out of scope.
You: Give me blog post ideas about home espresso for US readers.
Agent: → discover_topics(["espresso", "espresso machine"], geo="US")
← breakout, rising and evergreen candidates with growth, angles and questions
→ mine_questions("espresso machine", geo="US")
← long-tail questions for titles, H2s and FAQs
→ compare_keywords(["how to descale espresso machine", "best coffee beans for espresso"])
← relative interest, recent direction and a recommended targetQuick start
# any one of these
uvx trendzeist-mcp
pipx run trendzeist-mcp
pip install trendzeist-mcp && trendzeist-mcp
docker run -i --rm ghcr.io/phalkmin/trendzeist-mcpClaude Desktop — add under mcpServers in claude_desktop_config.json:
"trendzeist": { "command": "uvx", "args": ["trendzeist-mcp"] }Claude Code: claude mcp add trendzeist -- uvx trendzeist-mcp
For Cursor, VS Code, Codex and other clients, see llms-install.md.
Related MCP server: google-search-trends-mcp
Tools
Tool | Use it for |
| Ranked breakout, rising and evergreen topics from 1-5 seeds, with angles, questions, scores and optional site-coverage gaps |
| Long-tail Autocomplete questions for titles, H2s, FAQs and AEO |
| Question clusters scored with trend, news, Wikipedia, site coverage and citability evidence |
| New, promoted, cooled and dropped queries since a local snapshot |
| Peak months, seasonal strength and a publish-by date |
| Momentum on web, YouTube, News, Images and Shopping, with a format hint |
| Local observations and breakout history for one keyword; no network requests |
| Topics with repeated breakout episodes in the local archive; no network requests |
| Recent headlines, publishers and coverage recency from Google News |
| Exact-title Wikipedia match and pageview trend |
| Relative 0-100 interest curves, recent direction and 3/12-month growth |
| Relative share and editorial recommendation for 2-5 keywords |
| Top and rising related searches, breakout flags, angles and questions |
| Best-effort Google Knowledge-Graph topics |
| Demand by country, region, city or US metro area |
| Google entity suggestions for disambiguation |
| Real-time trending searches and linked headlines |
| Category IDs used to narrow Trends queries |
| Source health, cooldowns, cache and archive status; no network requests |
Prompts: blog_ideas_from_trends, content_brief, answer_brief and weekly_review.
A ready-made agent skill is in SKILL.md.
Reading results
Every result includes
schema_version(currently3) and_metarequest/cache counters. Empty results include areason; clamped inputs include anote.directiondescribes the whole window.direction_nowdescribes the recent slope; use the latter when deciding whether to publish now. Interest is relative 0-100, not absolute search volume.growth_3mneedstoday 12-m;growth_12mneedstoday 5-y.scoreandscore_breakdownare transparent heuristics for ranking within one call, not measurements of traffic or ranking probability.suspectmarks spam-like rising queries.off_topicmarks likely unrelated ones; inspectfiltered_outbefore discarding a possible adjacent topic.level_shiftsandwarningsflag sustained steps that may distort growth figures. Aflattenedwarning means a keyword should be queried separately.Pass
site_queriestodiscover_topicsoraeo_opportunitiesto mark coverage ascovered,partialorgap.exclude_covered=trueremoves fully covered items.Language follows
geounlessTRENDZEIST_HLis set. Localized question prefixes exist for Portuguese, Spanish, French, German, Italian, Polish and Dutch; other languages use English prefixes and return alanguage_note.
Local observation archive
Fresh Trends, related-query, trending and question results are recorded in
archive.sqlite3 beside the disk cache. Cache hits and stale fallbacks are not
recorded. This powers what_changed, trend_history and recurring_topics.
The archive needs repeated use to become useful: run what_changed weekly to build
baselines and distinguish breakout episodes. Sparse polling undercounts recurrence.
Leaving a bounded related-query list is not proof of falling demand; confirm with
interest_over_time before retiring a topic. Set TRENDZEIST_ARCHIVE=0 to opt out.
Configuration
Variable | Default | Purpose |
| unset | Pin Trends/Autocomplete language (for example |
|
| Trends timezone offset in minutes |
|
| Minimum seconds between Google HTTP requests |
|
| Minimum seconds between Wikimedia requests |
|
| Random extra spacing, as a fraction of the minimum interval |
|
| Trends and News cache seconds |
|
| Trending RSS cache seconds |
|
| Categories, suggestions, Autocomplete and Wikipedia cache seconds |
|
| Bounded in-memory cache size |
|
| Maximum returned interest-curve points |
|
| Retries for transient upstream errors |
|
| Exponential retry backoff factor |
|
| Fail-fast seconds after HTTP 429; |
|
| Serve flagged expired cache data during rate limiting; |
| unset | Comma-separated proxy URLs; Trends rotates them, other sources use the first |
| OS cache dir | JSON cache location; |
|
| Set to |
|
| Archive retention in days |
|
| Python logging level on stderr |
Limits and reliability
Google rate-limits aggressively. Start composites with 1-2 seeds. After HTTP 429, uncached requests fail fast during cooldown; cached and flagged stale results remain available, and other sources continue to work. Check
trendzeist_statusfor retry timing.mine_questionsmakes up to 16 Autocomplete requests.aeo_opportunitiesis the most expensive tool: up to1 + 11 × number_of_seedsrequests, including entity checks and Wikipedia pageviews.compare_channelsmakes up to five requests.related_topicsoften returns no data; userelated_queriesinstead. Google News, Autocomplete and Wikipedia results are best-effort and may be incomplete.An exact-title Wikipedia match is confirmed; a
related_articleis only a suggestion to verify, not proof of a citation opportunity or content gap.seasonalityrequires at least three full calendar years of non-zero data. Channel interest values use separate 0-100 scales; compare their growth, not means.Google Trends, Autocomplete and Google News use undocumented public endpoints that may change, rate-limit or disappear. This project is not affiliated with Google; you are responsible for complying with applicable terms of service.
Run from source
git clone https://github.com/phalkmin/trendzeist-mcp && cd trendzeist-mcp
uv sync --group dev
uv run pytest -q
uv run trendzeist-mcpOptional checks: uv run pytest -q -m live exercises Google, and
npx @modelcontextprotocol/inspector uv run trendzeist-mcp opens interactive debugging.
To point a client at a clone, use "command": "uv", "args": ["--directory", "/path/to/trendzeist-mcp", "run", "trendzeist-mcp"].
Contributing and license
Issues and PRs are welcome. See AGENTS.md for architecture and commands.
A weekly live canary checks upstream compatibility.
MIT — see LICENSE. Built with pytrends-modern and the official MCP Python SDK.
Available Tools
19 toolsaeo_opportunitiesA
AEO opportunity finder. For 1-5 seeds: question-shaped searches (Trends + a
capped Autocomplete pass) clustered by seed and title angle, each scored with
the seed's recent trend (direction_now over 12 months, growth_3m), Google News
coverage (who to quote / pitch), Wikipedia presence, the site's own coverage and
the evidence type that makes the answer citable (score_breakdown explains every
point). site_queries = queries the site already ranks for (fill from a Search
Console MCP or page titles); clusters then carry coverage covered / partial / gap
and exclude_covered drops covered ones. Spam-like rising queries are ignored.
Up to 1 + 11 requests per seed; partial failures per source in errors. A seed
report with 'ambiguous' names several Google entities (e.g. Apple the company vs
the fruit): ask the user before writing, then re-run with a more specific phrase
(a mid only works for Google Trends, not for News / Wikipedia / Autocomplete).
limit: clusters (1-25).
Inputs: seeds (required), geo, limit, timeframe, +2 more. Returns: object
compare_channelsB
Which Google property a topic grows on: web, youtube, news, images, shopping,
each with direction / direction_now / growth_3m, plus fastest_channel and a
format_hint (video tutorial, buying guide, newsjacking piece ...). 5 requests
(web first; the rest are skipped on a 429). Channels are separate 0-100 scales:
compare growth, never means.
Inputs: keyword (required), geo, timeframe. Returns: object
compare_keywordsA
Compare 2-5 keywords head-to-head: relative share, leader and trend direction for each. Use to pick the strongest angle among alternatives. Each ranking row has a role (leader / rising challenger / declining / niche / steady) and a content_implication; winner is the term to target (a rising challenger beats a falling or dead leader; null + winner_reason when nothing has data or interest) and seo_interpretation sums it up in one sentence.
Inputs: keywords (required), geo, gprop, category, +1 more. Returns: object
discover_topicsA
One-shot topic discovery for blog ideation. For 1-5 seed keywords, pulls
12-month trend context (direction, direction_now, growth_3m) plus rising/top
related queries, de-duplicates and ranks candidates as breakout > rising >
evergreen, each tagged with a title angle and an explainable score.
questions collects question-shaped searches across seeds; suspect lists
spam-like rising queries kept out of the ranking. site_queries = queries the
site already ranks for (fill from a Search Console MCP or page titles): each topic
then gets coverage covered / partial / gap, and exclude_covered drops the covered
ones. Partial failures are reported per seed in errors instead of failing the
call. A seed report with 'ambiguous' names several Google entities (e.g. Apple
the company vs the fruit): ask the user before writing, or re-run with the right
mid. First call of a session: start with 1-2 seeds to avoid a 429.
Inputs: seed_keywords (required), geo, gprop, category, +4 more. Returns: object
interest_by_regionB
Where a keyword is searched most. resolution: COUNTRY (geo='' only), REGION (states/provinces within geo), CITY and DMA (US metro areas; geo='US' or worldwide only). Non-US countries support REGION only.
Inputs: keywords (required), geo, gprop, limit, +3 more. Returns: object
interest_over_timeA
Search-interest time series (0-100) for 1-5 keywords, with per-keyword summary (mean, latest, peak, direction over the whole window, direction_now = recent slope, growth_3m/growth_12m % and a plain-English insight). Use direction_now to decide whether to write about a topic now; direction can be 'rising' or 'new' for a topic that peaked months ago. A sustained step in a series is reported as summary..level_shift and in warnings (shared by several keywords = likely a Google sampling change): growth figures spanning that week overstate the change. Long series are downsampled to ~60 points. gprop: '' (web), 'news', 'youtube' (authority channels answer engines cite), 'images', 'froogle'.
Inputs: keywords (required), geo, gprop, category, +1 more. Returns: object
list_categoriesA
Browse/search Google Trends category ids (e.g. 'coffee' -> Food & Drink >
Coffee & Tea). Pass the id as category to other tools to narrow results.
Inputs: limit, search. Returns: object
mine_questionsA
Long-tail questions people type about a seed, from Google Autocomplete ('how to', 'why', 'what is', 'vs' ... expansions; localised prefixes for pt/es/fr/de/it/pl/nl follow geo's language, see prefix_language), de-duplicated and tagged with a title angle. Feeds FAQ sections and answer-engine (AEO) content. Up to ~16 throttled requests per call; results cached 24 h. limit: 1-100.
Inputs: seed (required), geo, limit. Returns: object
news_coverageA
Who is covering a topic in Google News: recent headlines, a publisher frequency table (mention / pitch targets) and a recency histogram with a coverage label. One request, cached 15 min. limit = headlines returned (1-50).
Inputs: topic (required), geo, limit. Returns: object
recurring_topicsA
Topics that broke out again and again (local archive, last days 1-365):
each with episodes (separate breakout runs under other seeds; runs that overlap
or restart within 7 days, under any seed, count once), first/last breakout, the
seeds it appeared under and an action (one durable page, refreshed at each
spike). min_episodes 2-10 (default 3); seeds
(optional, up to 5) limits the scan. coverage_days + note when the archive is
younger than the window. Free: makes no network requests.
Inputs: geo, days, limit, seeds, +1 more. Returns: object
seasonalityA
When demand for a keyword peaks each year (5-year weekly data): monthly_index, peak_months, seasonal_strength, next_peak and publish_by (6 weeks before the peak), with a plain-English insight. One request; seasonal=null with a reason when fewer than 3 full years exist.
Inputs: keyword (required), geo. Returns: object
suggest_keywordsA
Google's entity suggestions for a keyword (title, type, mid). Use to disambiguate ambiguous terms or find the canonical topic id.
Inputs: keyword (required). Returns: object
trend_historyA
Local archive of what the tools have seen about a keyword (as a seed or as a
related query under other seeds) in the last days (1-365): first_seen /
last_seen, breakout_episodes (separate breakout runs; >= 3 = recurring, durable
page) vs breakout_observations (polling count), direction_timeline per timeframe
and seen_under_seeds. Free: makes no network requests.
Inputs: keyword (required), geo, days. Returns: object
trending_nowA
Real-time trending searches (last ~24h) for a country or US state, with approximate traffic and linked news headlines. Good for newsjacking. topic_filter keeps only trends whose title or headlines contain every word given (e.g. 'coffee'); the full feed is still fetched and cached once.
Inputs: geo, max_articles, topic_filter. Returns: object
trendzeist_statusA
Health of every data source (google_trends, google_autocomplete, google_news, wikipedia: live / error / idle with the last error), cache usage, observation archive (rows, dates, last_error) and effective settings. Free: makes no network requests.
Inputs: no named parameters. Returns: object
what_changedA
What changed for 1-5 seeds since the last snapshot at least since_days (1-90) old: new_breakouts and promoted (action: investigate now), new_rising (consider), cooled / dropped queries (review: verify with interest_over_time before retiring, or refresh existing post), rank_moves and a direction_flip on direction_now. Leaving Google's relative list is not proof of falling demand. Refreshes current data first (1 + N requests, cached), then compares complete snapshots from the local observation archive, which fills up as any tool fetches fresh data. No snapshot old enough -> compares with the oldest available (baseline_note gives its real age); first run -> first_seen lists the current breakouts and rising queries ('no history yet') plus the date to rerun.
Inputs: seeds (required), geo, since_days. Returns: object
wiki_attentionA
Does Wikipedia have an exact-title article for a topic, and is attention growing?
Exact article (title, encoded URL, wordcount), daily pageviews for days (7-90)
with direction / growth / insight, or has_article=false with a related_article
suggestion (when search finds a different title); verify gaps before citing.
lang = Wikipedia edition ('en', 'pt', 'de'). Own rate lane; cached 24 h.
Inputs: topic (required), days, lang. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
Most tools target distinct data sources or questions, and the descriptions actively cross-reference each other (related_queries points to related_topics, suggest_keywords, mine_questions, discover_topics), which shows the authors know the overlap exists. But the boundaries are genuinely blurry in places: discover_topics and aeo_opportunities both do multi-seed ranked ideation with site_queries coverage/scoring and 'ambiguous' seed handling, and what_changed / trend_history / recurring_topics all mine the same local snapshot archive with near-parallel concepts (episodes, first_seen, breakouts). An agent can pick wrong without reading careful paragraphs of prose.
Uniform snake_case throughout, which is the important thing, and names are readable and mostly self-describing (interest_over_time, interest_by_region, compare_keywords, trending_now). The only inconsistency is stylistic: some names lead with a verb (list_, compare_, discover_, mine_, suggest_) while many are bare noun phrases (seasonality, news_coverage, trend_history, what_changed). Predictable enough that it never impedes selection.
19 tools is borderline heavy for one server and lands in the crowded band; several clusters (three archive/history tools, two multi-seed ideation scorers) could plausibly be merged without losing capability. Each tool does carry real behaviour and documentation rather than being a thin wrapper, so it is not bloated by padding — just wide.
The surface covers the domain end to end: category lookup, time series, regional breakdown, related queries/topics, entity disambiguation, real-time trends, cross-channel and head-to-head comparison, seasonality, news and Wikipedia evidence, plus local archival/history and change detection, and a free status tool. Almost every workflow an SEO/content agent would want (discover, validate, time, compare, monitor) has a tool, with no obvious dead ends.
Maintenance
Related MCP Connectors
Google Trends: Search, Images, News, Shopping over time, growth metrics. Free key at trendsmcp.ai
Bulk Google Trends: interest over time, regions, rising queries and plain-English trend summaries.
Real-time Google Trends breakout queries, calibrated daily interest, keyword volume & SERP MCP.
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides access to Google Trends data including status, trending questions, and trending topics via MCP tools.339 npm36MIT
- AlicenseNot gradedqualityCmaintenanceProvides Google Search trend data as an MCP tool, with historical series, growth percentages, and live trending searches, no scraping or rate limits.1MIT
- AlicenseAqualityDmaintenanceProvides free Google Trends data (interest over time, term comparison, related queries, trending now, regional breakdown) to MCP-compatible AI clients without needing an API key.5153 npm2MIT
- AlicenseAqualityBmaintenanceEnables querying Google Trends data directly from conversational MCP clients, including search interest over time, related queries and topics, regional breakdowns, and trending searches, for market research without leaving the chat.1110MIT