Skip to content
Claude Code

Twitter/X MCP for Claude Code

io.github.granitebps/twitter-mcp

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

client:Claude Code transport:stdio runtime:npm

Install Twitter/X MCP in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add twitter-mcp -e RETTIWT_API_KEY=<RETTIWT_API_KEY> -- npx -y @granitebps/twitter-mcp

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

Twitter/X MCP in other clients