LocalFree server, account needed

Twitter MCP server

granitebps/twitter-mcp

Read public X posts, replies, profiles, and search results through Rettiwt or the official API.

1 GitHub stars

Install Twitter in Claude Code

Claude Code
claude mcp add granitebps-twitter -e RETTIWT_API_KEY=... -- npx -y @granitebps/twitter-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "granitebps-twitter": {
      "command": "npx",
      "args": [
        "-y",
        "@granitebps/twitter-mcp"
      ],
      "env": {
        "RETTIWT_API_KEY": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the Twitter MCP server do?

Read public X posts, replies, profiles, and search results through Rettiwt or the official API.

Is the Twitter MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does Twitter run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Twitter to Claude Code?

Run: claude mcp add granitebps-twitter -e RETTIWT_API_KEY=... -- npx -y @granitebps/twitter-mcp

More search & web scraping MCP servers

View all