Editorial systems want structured previews before publish. Trends MCP exposes the same POST body to scripts and agents so a headless CMS can attach fresh demand context without opening another browser tab.
Headless CMS pipelines already separate content from presentation. Trend enrichment belongs in the same boundary: compute demand signals during preview or on a schedule, then persist only the fields the front end needs.
Editors guess less when a card shows whether a topic cooled over the last quarter. A small growth table next to the draft headline reduces rework after social teams challenge the angle. Because Trends MCP returns JSON, the worker can map values straight into front matter without inventing a second schema.
POST https://api.trendsmcp.ai/api with Authorization: Bearer and a JSON body. For a simple enrichment badge, call Get Growth with source set to google search, the draft keyword, and a short percent_growth list. For a sparkline, call Get Trends with the same source and keyword, optionally setting data_mode to daily on REST when the template needs roughly thirty days on Google sources.
Each request still represents one keyword on one source. Orchestration code should loop sources deliberately so logs remain readable when something breaks mid build.
Writers asking conversational questions should use MCP inside Cursor, VS Code, or Claude so the assistant can iterate on phrasing. When the answer stabilizes, capture the winning parameters in the build script. The LLM trend data via MCP and REST page walks through that handoff pattern.
Treat data_unavailable, not_found, and rate_limited responses as first class states. Show a muted badge instead of fabricating numbers. Link readers to pricing when rate limits block preview, because the fix is operational rather than editorial.
Document the exact JSON body, the chosen windows, and the field mapping into CMS models. Future maintainers should not infer parameters from prose alone. For broader automation sketches, read API orchestration for trend data next.
FAQ