Skip to content
Claude Code

twitterapi for Claude Code

io.github.pedrot95dev/twitterapi

Read/write X (Twitter) via twitterapi.io: mentions, thread context, create and delete tweets.

client:Claude Code transport:stdio runtime:npm

Install twitterapi 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 twitterapi -e TWITTERAPI_IO_KEY=<TWITTERAPI_IO_KEY> -e TWITTERAPI_IO_AUTH_TOKEN=<TWITTERAPI_IO_AUTH_TOKEN> -e TWITTERAPI_IO_CT0=<TWITTERAPI_IO_CT0> -e TWITTERAPI_IO_PROXY=<TWITTERAPI_IO_PROXY> -- npx -y @pedrot95dev/twitterapi.mcp

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

twitterapi in other clients