Skip to content
MCP server

Xbird

Twitter/X MCP server — 30 tools with x402 micropayments. Runs locally from your IP.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.4
Listing updated
5 days ago

About Xbird

Xbird is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add xbird --env XBIRD_AUTH_TOKEN='<XBIRD_AUTH_TOKEN>' --env XBIRD_CT0='<XBIRD_CT0>' --env XBIRD_PRIVATE_KEY='<XBIRD_PRIVATE_KEY>' -- npx -y xbird-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "xbird": {
      "command": "npx",
      "args": [
        "-y",
        "xbird-mcp"
      ],
      "env": {
        "XBIRD_AUTH_TOKEN": "<XBIRD_AUTH_TOKEN>",
        "XBIRD_CT0": "<XBIRD_CT0>",
        "XBIRD_PRIVATE_KEY": "<XBIRD_PRIVATE_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "xbird": {
      "command": "npx",
      "args": [
        "-y",
        "xbird-mcp"
      ],
      "env": {
        "XBIRD_AUTH_TOKEN": "<XBIRD_AUTH_TOKEN>",
        "XBIRD_CT0": "<XBIRD_CT0>",
        "XBIRD_PRIVATE_KEY": "<XBIRD_PRIVATE_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "xbird": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "xbird-mcp"
      ],
      "env": {
        "XBIRD_AUTH_TOKEN": "<XBIRD_AUTH_TOKEN>",
        "XBIRD_CT0": "<XBIRD_CT0>",
        "XBIRD_PRIVATE_KEY": "<XBIRD_PRIVATE_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "xbird": {
      "command": "npx",
      "args": [
        "-y",
        "xbird-mcp"
      ],
      "env": {
        "XBIRD_AUTH_TOKEN": "<XBIRD_AUTH_TOKEN>",
        "XBIRD_CT0": "<XBIRD_CT0>",
        "XBIRD_PRIVATE_KEY": "<XBIRD_PRIVATE_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "xbird": {
      "command": "npx",
      "args": [
        "-y",
        "xbird-mcp"
      ],
      "env": {
        "XBIRD_AUTH_TOKEN": "<XBIRD_AUTH_TOKEN>",
        "XBIRD_CT0": "<XBIRD_CT0>",
        "XBIRD_PRIVATE_KEY": "<XBIRD_PRIVATE_KEY>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • XBIRD_AUTH_TOKENTwitter auth_token cookie (from x.com DevTools → Application → Cookies)Required
  • XBIRD_CT0Twitter ct0 cookie (from x.com DevTools → Application → Cookies)Required
  • XBIRD_PRIVATE_KEYWallet private key for x402 micropayments (USDC on Base)Required

Pricing

Open source

Xbird FAQ

Is Xbird free?

Yes. Xbird is open source, so you can use and self-host it for free.

How do I add Xbird to Claude Code?

Run this command in your terminal: claude mcp add xbird --env XBIRD_AUTH_TOKEN='<XBIRD_AUTH_TOKEN>' --env XBIRD_CT0='<XBIRD_CT0>' --env XBIRD_PRIVATE_KEY='<XBIRD_PRIVATE_KEY>' -- npx -y xbird-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers