Google Antigravity MCP server for trend data

Wire Google Antigravity to normalized trend series and live leaderboards so structured JSON backs demand checks inside the agent chat.

Google Antigravity ships an agent-first editor where small configuration mistakes still waste a full afternoon. Trends MCP fits that workflow because it is a hosted HTTP MCP server: one endpoint, one Bearer token, and three stable tools that return JSON the model can quote.

Why Antigravity users ask for trend tools inside the IDE

Agent chats inside Antigravity already read repositories and logs. Market and product questions still pull people back into browser tabs for Google Trends exports, TikTok hashtag lists, Amazon demand checks, and Reddit pulse reads. Trends MCP keeps those checks inside the same JSON tool channel the agent already trusts, which cuts copy-paste errors when a team drafts launch copy, evaluates a dependency spike on npm, or sanity-checks a headline against live feeds.

What Trends MCP exposes to the agent

The hosted server implements three tools. get_trends returns a dated series for one keyword on one named source such as google search, youtube, tiktok, reddit, amazon, wikipedia, news volume, or news sentiment. get_growth returns percentage change across one or more preset windows on the same keyword and source. get_top_trends returns ranked leaders for live feeds such as Google Trends, TikTok Trending Hashtags, YouTube Trending, Reddit Hot Posts, App Store Top Free, and GitHub Trending Repos. Full source names and feed labels live in the public reference at https://trendsmcp.ai/docs.

Configure Antigravity with serverUrl and headers

Antigravity's remote MCP pattern pairs serverUrl with a headers map for Bearer tokens. Add a block similar to the following inside mcpServers, then restart Antigravity so the process reloads configuration.

{
  "mcpServers": {
    "trends-mcp": {
      "serverUrl": "https://api.trendsmcp.ai/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Create or rotate keys from https://trendsmcp.ai/account. Treat the token like any production secret: keep it out of git, prefer machine-local storage, and rotate it when a laptop changes hands. Google's Antigravity MCP reference at https://antigravity.google/docs/mcp stays authoritative for editor-specific fields, so keep that page open while editing JSON.

Verify the connection without burning the whole quota

After restart, a short tool-inventory prompt should show get_trends, get_growth, and get_top_trends in the roster. A single get_top_trends call on Google Trends with a small limit confirms connectivity. A follow-up get_trends request on a well-known keyword on google search checks keyword mode. Multi-source comparisons and growth stacks can wait until those two paths return data. The free tier includes one hundred requests per month with no card on file, which is enough to prove value before wiring automation.

Prompt patterns that route correctly

Trends MCP documentation recommends explicit routing phrases so the client selects MCP tools early in the turn. Examples that work well in Antigravity include: "Using TrendsMCP, pull get_top_trends for TikTok Trending Hashtags with limit 15" and "Using TrendsMCP, run get_growth for source google search and keyword running shoes with percent_growth 3M and 12M." Those forms match the guidance in the product overview and reduce tool-selection mistakes when multiple MCP servers are enabled.

How this sits next to other Google-facing MCP guides

Teams that split time between Antigravity and Gemini CLI often want the same data contract in both places. The Gemini-focused setup page explains adjacent client details and is a useful cross-link for readers who bounce between environments: https://trendsmcp.ai/mcp-server-for-gemini. VS Code and Cursor pages document the url transport field for HTTP MCP there, while this page keeps serverUrl in view for Antigravity.

Limits worth stating clearly

Trends MCP returns normalized scores and, where available, absolute volumes depending on the upstream pipeline. A quiet keyword can still return sparse points, and temporary upstream gaps surface as structured errors rather than silent blanks. When a feed label changes, copy the exact string from the docs because feed names are case-sensitive for get_top_trends. If Antigravity feels slow, trim the number of enabled MCP servers because large tool catalogs increase routing latency in any client.

Where to go after the first successful calls

Read the full method reference for POST bodies, pagination on top trends, and REST-only flags such as daily data modes on https://trendsmcp.ai/docs. Browse the data source directory when choosing which platform should answer a given question: https://trendsmcp.ai/data-sources. Those two links stay current as new feeds ship, which matters because Antigravity projects tend to move fast.

Common questions

On macOS and Linux, Antigravity reads `~/.gemini/antigravity/mcp_config.json`. On Windows, the file sits at `%USERPROFILE%\.gemini\antigravity\mcp_config.json` in the usual layout. Open the Agent panel, choose MCP Servers, then Manage MCP Servers, then View raw config to edit the file the IDE loads.
Antigravity follows the same remote pattern documented for other first-party HTTP MCP setups, where the JSON field is `serverUrl` plus a `headers` object for Bearer tokens. If the field is wrong, Antigravity returns errors such as missing serverUrl or command.
Start with get_top_trends on a familiar feed such as Google Trends to confirm connectivity, then run get_trends on a concrete brand or product phrase on google search, then add get_growth with a small set of windows like 30D and 12M once the series looks populated.
Each get_trends or get_growth call uses one request per source and keyword pair, while get_top_trends counts per feed type and pagination page. Planning a short checklist of calls keeps monthly usage predictable.
Yes. The `mcpServers` object can list GitHub, Firebase, and Trends MCP entries side by side. Keep total enabled tools reasonable so the agent routing stays fast, and store secrets outside public repositories.
Get Google Antigravity MCP server for trend data in 30 seconds
Free tier includes 100 requests per month. No credit card required. Works with Claude, Cursor, ChatGPT, Raycast, and every MCP client.
Get your free API key