{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.twittrapi/twittrapi-mcp",
  "slug": "io.github.twittrapi.twittrapi-mcp",
  "title": "TwittrAPI",
  "summary": "Read public Twitter/X data: tweets, profiles, followers, search.",
  "version": "1.2.0",
  "serverKey": "twittrapi-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.twittrapi.twittrapi-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.twittrapi.twittrapi-mcp/install.md",
  "trust": {
    "score": 90,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T13:28:59.970386346Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "twittrapi-mcp@1.2.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add twittrapi-mcp -- npx -y twittrapi-mcp@1.2.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"twittrapi-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"twittrapi-mcp@1.2.0\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"twittrapi-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"twittrapi-mcp@1.2.0\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"twittrapi-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"twittrapi-mcp@1.2.0\"\n      ],\n      \"command\": \"npx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.twittrapi-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"twittrapi-mcp@1.2.0\"]"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    },
    {
      "id": "remote",
      "label": "Remote (hosted)",
      "transport": "streamable-http",
      "url": "https://mcp.twittrapi.com/mcp",
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add --transport http twittrapi-mcp https://mcp.twittrapi.com/mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)",
          "content": "{\n  \"mcpServers\": {\n    \"twittrapi-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"mcp-remote\",\n        \"https://mcp.twittrapi.com/mcp\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"twittrapi-mcp\": {\n      \"url\": \"https://mcp.twittrapi.com/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"twittrapi-mcp\": {\n      \"type\": \"http\",\n      \"url\": \"https://mcp.twittrapi.com/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.twittrapi-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"mcp-remote\", \"https://mcp.twittrapi.com/mcp\"]"
        }
      ]
    }
  ],
  "env": [
    {
      "name": "TWITTRAPI_API_KEY",
      "required": false,
      "secret": true,
      "description": "Your TwittrAPI key. Set this or RAPIDAPI_KEY.",
      "help": "Your TwittrAPI key. Set this or RAPIDAPI_KEY.",
      "placeholder": "<TWITTRAPI_API_KEY>"
    },
    {
      "name": "RAPIDAPI_KEY",
      "required": false,
      "secret": true,
      "description": "RapidAPI key for the Twitter AIO API. Used when TWITTRAPI_API_KEY is not set.",
      "help": "RapidAPI key for the Twitter AIO API. Used when TWITTRAPI_API_KEY is not set.",
      "placeholder": "<RAPIDAPI_KEY>"
    },
    {
      "name": "RAPIDAPI_HOST",
      "required": false,
      "secret": false,
      "description": "Host of your TwittrAPI listing on RapidAPI. Change it if you subscribed to another listing.",
      "help": "Host of your TwittrAPI listing on RapidAPI. Change it if you subscribed to another listing.",
      "default": "twitter-aio.p.rapidapi.com",
      "placeholder": "twitter-aio.p.rapidapi.com"
    },
    {
      "name": "TWITTRAPI_BASE_URL",
      "required": false,
      "secret": false,
      "description": "Override the API base URL.",
      "help": "Override the API base URL.",
      "default": "https://api.twittrapi.com",
      "placeholder": "https://api.twittrapi.com"
    },
    {
      "name": "TWITTRAPI_RESPONSE_FORMAT",
      "required": false,
      "secret": false,
      "description": "Format of tool results: simple (compact JSON, far fewer tokens) or raw (X's full GraphQL JSON). Tools also take a format argument.",
      "help": "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",
      "placeholder": "simple"
    },
    {
      "name": "TWITTRAPI_X_COOKIE",
      "required": false,
      "secret": true,
      "description": "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).",
      "help": "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).",
      "placeholder": "<TWITTRAPI_X_COOKIE>"
    },
    {
      "name": "TWITTRAPI_X_PROXY",
      "required": false,
      "secret": true,
      "description": "Your proxy for the account tools, http://user:pass@host:port.",
      "help": "Your proxy for the account tools, http://user:pass@host:port.",
      "placeholder": "<TWITTRAPI_X_PROXY>"
    },
    {
      "name": "TWITTRAPI_X_CHAT_PASSCODE",
      "required": false,
      "secret": true,
      "description": "Your X Chat passcode. Adds send_dm and message text in the DM inbox.",
      "help": "Your X Chat passcode. Adds send_dm and message text in the DM inbox.",
      "placeholder": "<TWITTRAPI_X_CHAT_PASSCODE>"
    }
  ],
  "expectedTools": [
    "get_user_by_username",
    "get_user_by_id",
    "username_to_id",
    "users_by_ids",
    "get_user_tweets",
    "get_user_tweets_and_replies",
    "get_user_media",
    "get_followers",
    "get_following",
    "get_verified_followers",
    "get_user_affiliates",
    "get_friendships_batch",
    "get_user_about_batch",
    "search_tweets",
    "get_tweet",
    "get_tweet_retweets",
    "get_tweet_quotes",
    "get_tweet_replies",
    "get_tweet_thread",
    "get_list_details",
    "get_list_tweets",
    "get_list_members",
    "get_community",
    "get_community_about",
    "get_community_tweets",
    "search_communities",
    "get_trends",
    "get_trend_locations",
    "get_space"
  ],
  "agentSteps": [
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: get_user_by_username, get_user_by_id, username_to_id, users_by_ids, get_user_tweets, get_user_tweets_and_replies, get_user_media, get_followers, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T13:28:59.970386346Z"
}
