MCP directory
T

TwittrAPI

by github.com/twittrapi · v1.2.0 · updated Oct 19, 2026

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

Remotenpm

Connect to the hosted server

Add this URL as a custom connector in your AI client.

Server URL

https://mcp.twittrapi.com/mcp

Claude Code

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

Run it locally

Install the package and point your AI client at it.

Environment variables

  • TWITTRAPI_API_KEYsecret

    Your TwittrAPI key. Set this or RAPIDAPI_KEY.

  • RAPIDAPI_KEYsecret

    RapidAPI key for the Twitter AIO API. Used when TWITTRAPI_API_KEY is not set.

  • RAPIDAPI_HOST

    Host of your TwittrAPI listing on RapidAPI. Change it if you subscribed to another listing.

  • TWITTRAPI_BASE_URL

    Override the API base URL.

  • TWITTRAPI_RESPONSE_FORMAT

    Format of tool results: simple (compact JSON, far fewer tokens) or raw (X's full GraphQL JSON). Tools also take a format argument.

  • TWITTRAPI_X_COOKIEsecret

    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_PROXYsecret

    Your proxy for the account tools, http://user:pass@host:port.

  • TWITTRAPI_X_CHAT_PASSCODEsecret

    Your X Chat passcode. Adds send_dm and message text in the DM inbox.

More MCP servers