Skip to content
MCP server

Tweetkit X

Post, delete & read on X (Twitter) using your own logged-in web session — no paid API.

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

About Tweetkit X

Tweetkit X 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 tweetkit-x --env TWEETKIT_COOKIE='<TWEETKIT_COOKIE>' -- uvx tweetkit-x

Add to claude_desktop_config.json

{
  "mcpServers": {
    "tweetkit-x": {
      "command": "uvx",
      "args": [
        "tweetkit-x"
      ],
      "env": {
        "TWEETKIT_COOKIE": "<TWEETKIT_COOKIE>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "tweetkit-x": {
      "command": "uvx",
      "args": [
        "tweetkit-x"
      ],
      "env": {
        "TWEETKIT_COOKIE": "<TWEETKIT_COOKIE>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "tweetkit-x": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "tweetkit-x"
      ],
      "env": {
        "TWEETKIT_COOKIE": "<TWEETKIT_COOKIE>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "tweetkit-x": {
      "command": "uvx",
      "args": [
        "tweetkit-x"
      ],
      "env": {
        "TWEETKIT_COOKIE": "<TWEETKIT_COOKIE>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "tweetkit-x": {
      "command": "uvx",
      "args": [
        "tweetkit-x"
      ],
      "env": {
        "TWEETKIT_COOKIE": "<TWEETKIT_COOKIE>"
      }
    }
  }
}

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

Configuration

  • TWEETKIT_COOKIE_KEYCHAINmacOS Keychain service name holding your X session cookie string (must contain auth_token + ct0). Alternatively set TWEETKIT_COOKIE (the raw cookie string) or TWEETKIT_COOKIE_FILE (a file path).
  • TWEETKIT_COOKIEYour X (Twitter) session cookie string — the Cookie header from a logged-in x.com request. Must contain auth_token and ct0.

Pricing

Open source

Tweetkit X FAQ

Is Tweetkit X free?

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

How do I add Tweetkit X to Claude Code?

Run this command in your terminal: claude mcp add tweetkit-x --env TWEETKIT_COOKIE='<TWEETKIT_COOKIE>' -- uvx tweetkit-x

Where this comes from

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

How AIPoweredBot checks servers