Skip to main content

Twitterapi

io.github.pedrot95dev/twitterapi

v0.1.2Updated Jul 3, 2026stdio · npm

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

Install

Needs 1 secret. Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add twitterapi -e 'TWITTERAPI_IO_KEY=<your-twitterapi-io-key>' -- npx -y @pedrot95dev/[email protected]

Configuration

4 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • TWITTERAPI_IO_KEY
    Env var· required· secret
    twitterapi.io API key (x-api-key). Required for all tools.
  • TWITTERAPI_IO_AUTH_TOKEN
    Env var· optional· secret
    auth_token cookie from a logged-in X session. Write tools only.
  • TWITTERAPI_IO_CT0
    Env var· optional· secret
    ct0 cookie from the same logged-in X session. Write tools only.
  • TWITTERAPI_IO_PROXY
    Env var· optional· secret
    Residential proxy (http://user:pass@ip:port). Write tools only.

Listed in the official MCP Registry since Jul 3, 2026. Mirrored daily; last checked Nov 26, 2026.