Skip to content
Grok

X (Twitter) Trends API for Grok

ai.trendsapi/x-twitter

X trending topics and discussion volume over time. Free key at trendsapi.ai

client:Grok transport:streamable-http

Install X (Twitter) Trends API in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "x-twitter": {
      "type": "http",
      "url": "https://x-twitter.api.trendsapi.ai/mcp"
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

X (Twitter) Trends API in other clients