# Xbird

> Xbird is an open-source MCP server. Twitter/X MCP server — 30 tools with x402 micropayments. Runs locally from your IP. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/checkra1neth/xbird
- **MCP Registry name:** io.github.checkra1neth/xbird
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

```sh
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
```

### Claude Desktop (claude_desktop_config.json)

```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>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```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>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```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>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```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>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```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>"
      }
    }
  }
}
```

## 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.

---
Source: https://ai-powered.com/mcp/xbird
