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.
Before adding the integration, obtain a Trends MCP API key:
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.
Trends MCP.https://api.trendsmcp.ai/mcpAuthorizationBearer YOUR_API_KEY (replace with the key from the account dashboard)Only connect MCP servers from trusted sources. A connected server exposes its tools to Agent during every session.
Trends MCP exposes three MCP tools. Agent picks the tool based on the prompt.
get_trendsReturns 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_growthCalculates 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_trendsReturns 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.
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.
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.
| Workflow | Requests per run | Free tier runs per month |
|---|---|---|
| Single keyword time series | 1 | 100 |
| Three-source growth comparison | 1 | 100 |
| Live Google Trends feed pull | 1 | 100 |
| Ten-keyword SEO batch (sequential) | 10 | 10 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.
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.
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.
Tools for this workflow
get_trendsWhile 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_growthBefore 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_trendsSeed 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)FAQ