clix — Twitter/X CLI & MCP Server
Description: A CLI and MCP server for Twitter/X. Cookie auth. Zero API keys. Rich terminal output, JSON piping, and AI-native MCP tools.

Open source — hosted on GitHub Pages
@spideystreet
v0.3.1

#
from terminal

API free-tier is dead, so I built my own. 0 key. Ready for agents.

terminal

    # install from PyPI
    $ pip install clix0

    # authenticate with your browser cookies
    $ clix auth login

    # enjoy your feed
    $ clix feed

You
"Search my timeline for AI news and like the most interesting tweet"
Agent
Found 12 tweets about AI. Liked @karpathy's thread on reasoning models — 4.2k engagements.
01 — Auth

### Cookie Auth

Uses your existing browser session. No API keys, no developer account.

02 — Output

### Three Interfaces

Rich terminal for humans, --json for scripts, MCP for AI.

03 — Privacy

### Local Only

No proxy, no middleman. Direct GraphQL from your machine.

How it works
Three steps to your feed

clix reuses the session your browser already established with X. No tokens to manage, no apps to register.

01

### Install with pip

Requires Python 3.11+. Install from PyPI with `pip install clix0` or use `uvx clix0` for a one-shot run.

02

### Authenticate

Run `clix auth login` — extracts cookies from Chrome, Firefox, Edge, or Brave. Or set `X_AUTH_TOKEN` and `X_CT0` env vars manually.

03

### Tweet, search, scroll

Your full X experience in the terminal. Post, reply, DM, manage lists, schedule tweets — all from the command line.

Commands
Everything you need

40+ commands for reading, writing, and managing your X account. All support --json and --compact flags.

#### clix feed

Your timeline — For You or Following

#### clix search

Search tweets, users, photos, videos

#### clix post

Post with replies, quotes, images

#### clix tweet

View any tweet with full thread

#### clix dm send

Direct messages from terminal

#### clix schedule

Schedule tweets for later

#### clix lists

Create and manage your lists

#### clix trending

See what's trending now

#### clix bookmarks

Access your saved tweets

#### clix download

Download media from tweets

#### clix user

View any user profile

#### clix auth

Multi-account switching

For AI agents
MCP Server

38 tools over stdio transport. Give Claude, Cursor, or any MCP-compatible agent full access to Twitter/X.

stdio 38 tools

### AI-native from day one

Read feeds, post tweets, manage lists, send DMs — all as structured MCP tools. Returns clean JSON, handles errors gracefully, and works with any MCP client.

`$ clix mcp`
Output modes
Built for every workflow

Human-friendly by default. Machine-readable when you need it.

terminal

    # Rich output for humans
    $ clix feed

    # JSON for scripts and pipes
    $ clix feed --json | jq '.tweets[].text'

    # Compact JSON for AI context windows
    $ clix feed --compact

    # YAML for readability
    $ clix feed --yaml

⚠

Heads up. clix uses X's private GraphQL API. It's reverse-engineered and unofficial — endpoints can change without notice. Use responsibly and at your own risk.