x-use
local MCP serverx-use is a local MCP server: Browser-native AI agents for X (Twitter): multi-account, MCP-ready, no X API key required. Install it from pypi as x-use-mcp.
Installation
Terminal
claude mcp add x-use -e OPENAI_API_KEY=... -e OPENAI_BASE_URL=... -- uvx x-use-mcp
Run in your project folder. Add --scope user to use it everywhere.
Claude Desktop, Cursor & other clients
Add to claude_desktop_config.json or .cursor/mcp.json.
{
"mcpServers": {
"x-use": {
"command": "uvx",
"args": [
"x-use-mcp"
],
"env": {
"OPENAI_API_KEY": "...",
"OPENAI_BASE_URL": "..."
}
}
}
}Fill in the environment variables with your own credentials.
What you need
- Runtime: Python with uv (runs with uvx).
- MCP client: Claude Code, Codex, Antigravity, Claude Desktop, Cursor or any other client that speaks MCP over stdio.
- Environment variables:
OPENAI_API_KEY,OPENAI_BASE_URL
Summary
Browser-native AI agents for X (Twitter): multi-account, MCP-ready, no X API key required.
x-use vs similar servers
| Server | Stars | Type | API key | Runtime |
|---|---|---|---|---|
| x-use | 168 | Local | Yes | pypi |
| safari-mcp | 205 | Local | No | npm |
| Google Workspace | 189 | Local | Yes | npm |
| Vessel Browser | 134 | Local | No | npm |
| exa | 5,056 | Hosted | No | None |
Questions
It reads 2 environment variables: OPENAI_API_KEY, OPENAI_BASE_URL. Set them in your MCP config before starting the server.
Python with uv (runs with uvx), plus an MCP client such as Claude Code, Codex, Claude Desktop or Cursor.
x-use is a local MCP server distributed as the pypi package x-use-mcp.
Run: claude mcp add x-use -e OPENAI_API_KEY=... -e OPENAI_BASE_URL=... -- uvx x-use-mcp
Run: codex mcp add x-use --env OPENAI_API_KEY=... --env OPENAI_BASE_URL=... -- uvx x-use-mcp
Similar MCP servers
NameStars
- safari-mcpio.github.achiya-automation/safari-mcp205
- Google Workspaceio.github.aaronsb/google-workspace189
- Vessel Browserio.github.unmodeled-tyler/vessel-browser134
- exaai.exa/exa5,056
- blitzio.github.blitzdotdev/blitz1,751
- FableCutio.github.ronak-create/fablecut695
- fortressio.github.tiliondev/fortress665
- XActionsio.github.nirholas/xactions552