Skip to main content

TwittrAPI

io.github.twittrapi/twittrapi-mcp

v1.2.0Updated Oct 19, 2026stdio · npmremote · http

Read public Twitter/X data: tweets, profiles, followers, search. No X developer account.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add --transport http twittrapi-mcp https://mcp.twittrapi.com/mcp

Configuration

8 settings.

  • TWITTRAPI_API_KEY
    Env var· optional· secret
    Your TwittrAPI key. Set this or RAPIDAPI_KEY.
  • RAPIDAPI_KEY
    Env var· optional· secret
    RapidAPI key for the Twitter AIO API. Used when TWITTRAPI_API_KEY is not set.
  • TWITTRAPI_X_COOKIE
    Env var· optional· secret
    Cookie of your own logged-in x.com session (auth_token, ct0, twid). With TWITTRAPI_X_PROXY set, adds the account tools (post, like, follow, DMs, lists, drafts).
  • TWITTRAPI_X_PROXY
    Env var· optional· secret
    Your proxy for the account tools, http://user:pass@host:port.
  • TWITTRAPI_X_CHAT_PASSCODE
    Env var· optional· secret
    Your X Chat passcode. Adds send_dm and message text in the DM inbox.
  • RAPIDAPI_HOST
    Env var· optional
    Host of your TwittrAPI listing on RapidAPI. Change it if you subscribed to another listing.Default: twitter-aio.p.rapidapi.com
Show 2 more
  • TWITTRAPI_BASE_URL
    Env var· optional
    Override the API base URL.Default: https://api.twittrapi.com
  • TWITTRAPI_RESPONSE_FORMAT
    Env var· optional
    Format of tool results: simple (compact JSON, far fewer tokens) or raw (X's full GraphQL JSON). Tools also take a format argument.Default: simple

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