Trends MCP for Replit Agent

Replit Agent supports custom MCP servers through the Integrations pane. Add Trends MCP once at replit.com/integrations, authenticate with a Bearer API key, and Agent can query live Google, TikTok, Reddit, YouTube, and 15 other trend feeds while building apps.

Replit Agent builds full-stack apps from natural language. Without live data connectors, trend questions default to stale training knowledge or manual copy-paste from browser tabs. Trends MCP closes that gap: one custom MCP server connection gives Agent structured JSON from Google Search, TikTok, Reddit, YouTube, Amazon, npm, and 15 live trending feeds.

Prerequisites

Before adding the integration, obtain a Trends MCP API key:

  1. Visit https://www.trendsmcp.ai/account.
  2. Create a free account. No credit card is required.
  3. Copy the API key from the dashboard. Free tier includes 100 requests per month across all tools.

Add Trends MCP as a custom server

Replit added custom MCP support in 2026. The connection is account-level, not per-project, so every Replit app under the account can use the tools once saved.

  1. Open https://replit.com/integrations.
  2. Scroll to MCP Servers for Replit Agent.
  3. Click Add MCP server.
  4. Set the display name to Trends MCP.
  5. Paste the server URL: https://api.trendsmcp.ai/mcp
  6. Open Advanced settings and add a custom header:
  7. Key: Authorization
  8. Value: Bearer YOUR_API_KEY (replace with the key from the account dashboard)
  9. Click Test and save. Replit validates the connection and lists the server under MCP Servers.

Only connect MCP servers from trusted sources. A connected server exposes its tools to Agent during every session.

What Replit Agent can query after connection

Trends MCP exposes three MCP tools. Agent picks the tool based on the prompt.

get_trends

Returns approximately five years of weekly data points for one keyword on one source. Scores normalize to 0 to 100 where the pipeline supports it. Absolute volume appears when available.

Example REST body (equivalent to the MCP tool):

{"mode": "get_time_series", "source": "google search", "keyword": "meal prep delivery"}

Supported keyword sources include google search, youtube, tiktok, reddit, amazon, wikipedia, news volume, news sentiment, npm, steam, app downloads, and app rankings. Each source has keyword format rules documented at https://www.trendsmcp.ai/docs.

get_growth

Calculates point-to-point percentage change over preset periods (7D, 30D, 3M, 12M, YTD, and others) or custom date pairs. Pass comma-separated sources to compare the same keyword across platforms in one request.

{"mode": "get_growth", "source": "google search,youtube,tiktok", "keyword": "ai agent", "percent_growth": ["12M"]}

get_top_trends

Returns the current ranked leaderboard for one live feed. No keyword is required. Feed names are case-sensitive.

{"mode": "get_top_trends", "type": "Google Trends", "limit": 10}

Available feed types include Google Trends, TikTok Trending Hashtags, YouTube Trending, X (Twitter) Trending, Reddit Hot Posts, Wikipedia Trending, Amazon Best Sellers Top Rated, App Store Top Free, GitHub Trending Repos, and others listed on the data sources page.

Example prompts that route to Trends MCP

Phrase prompts so Agent selects the MCP integration instead of a web search:

Agent logs show which MCP tool ran. Look for a Trends MCP integration match in the tool call panel.

Request budgeting on the free tier

The free plan allows 100 requests per month. Each tool call counts as one request regardless of how many growth periods or data points the response contains.

WorkflowRequests per runFree tier runs per month
Single keyword time series1100
Three-source growth comparison1100
Live Google Trends feed pull1100
Ten-keyword SEO batch (sequential)1010 full batches

get_growth with comma-separated sources costs one request, not one per source. That pattern stretches the free allocation further than separate pulls.

Paid plans start at $19/month for 1,000 requests. See pricing for current tiers.

Install link for documentation and READMEs

Replit supports one-click install badges. Encode this JSON as base64 for the mcp query parameter on https://replit.com/integrations:

{
  "displayName": "Trends MCP",
  "baseUrl": "https://api.trendsmcp.ai/mcp",
  "headers": [
    {
      "key": "Authorization",
      "value": "Bearer YOUR_API_KEY"
    }
  ]
}

Replace YOUR_API_KEY before sharing the link. Users who click the badge land in the Integrations pane with fields pre-filled.

When to use Trends MCP inside Replit Agent

Trends MCP fits Replit workflows that need grounded demand data while Agent writes code: validating a startup idea before scaffolding, picking npm dependencies based on download trajectories, seeding a trend dashboard with live feed data, or comparing cross-platform growth for a marketing landing page.

For IDE-native setups outside Replit, see Trends MCP for Cursor and Trends MCP for Claude. For REST-only automation without Agent, POST to https://api.trendsmcp.ai/api with the same JSON bodies.

get_trends

While Replit Agent builds a product landing page, pull five years of weekly Google Search interest for the product category to validate demand before writing copy.

get_trends(keyword="meal prep delivery", source="google search")

get_growth

Before adding a TikTok integration to a Replit app, ask Agent to compare 12-month growth for the target hashtag on Google Search, YouTube, and TikTok in one call.

get_growth(keyword="ai agent", source="google search,youtube,tiktok", percent_growth=["12M"])

get_top_trends

Seed a Replit news digest app with live breakout topics. Agent calls get_top_trends with type Google Trends or Reddit Hot Posts and writes the ranked list into app state.

get_top_trends(type="Google Trends", limit=10)

Common questions

Open replit.com/integrations, scroll to MCP Servers for Replit Agent, and click Add MCP server. Set the display name to Trends MCP, paste https://api.trendsmcp.ai/mcp as the server URL, open Advanced settings, and add header Authorization with value Bearer YOUR_API_KEY. Click Test and save. The connection appears in every Replit app under that account.
Sign up at https://www.trendsmcp.ai/account. The free tier includes 100 requests per month with no credit card. Copy the API key from the dashboard and paste it into the Authorization header when adding the custom MCP server.
After connection, Agent loads three tools: get_trends (weekly time series for a keyword and source), get_growth (period-over-period percentage change), and get_top_trends (live ranked leaderboards). Agent selects the tool based on the task. REST equivalents use mode get_time_series, get_growth, and get_top_trends on POST https://api.trendsmcp.ai/api.
Yes. get_growth accepts comma-separated sources in one request, for example source=google search,youtube,tiktok. That returns growth metrics for the same keyword across platforms in a single API call, which conserves the monthly request allocation on free and paid plans.