CI can call the same POST JSON contract as MCP clients, which turns weekly growth checks into pull request comments or Slack-ready artifacts. Secrets stay in GitHub, responses stay structured, and reviewers see the exact windows that produced a number.
Product and growth teams already watch issues and releases in GitHub. A workflow that writes a small JSON or Markdown artifact keeps discussion close to the code that ships. Trends MCP returns stable fields for get_growth, which is easier to gate with simple thresholds than free-form summaries.
Call POST https://api.trendsmcp.ai/api with Authorization: Bearer ${{ secrets.TRENDS_MCP_TOKEN }} and a JSON body for get_growth on the sources the team trusts for that product, such as google search, youtube, amazon, or npm. Keep one keyword per request so failures are isolated. The headless trends API page explains why teams reach for REST in CI first.
Print the baseline and recent dates returned by the API, list the percent_growth labels requested, and attach a link to the workflow run. When a feed snapshot is useful, add a second job step that calls get_top_trends with a conservative limit. For JavaScript services that reuse the same contract outside Actions, see JavaScript trends API.
Empty upstream series, temporary data gaps, and rate limits should become structured workflow outputs rather than silent skips. Retry policies belong around the HTTP client, not around business logic that interprets growth.
Create a token on trendsmcp.ai, add it as a secret, and copy field names from the API reference before turning on a schedule.
FAQ