X-Use - X (Twitter) MCP Server
X-Use - X (Twitter) MCP Server is an MCP server that adds web browsing tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Research X (Twitter), read inboxes and review publishing through MCP. It has 179 GitHub stars, is released under the MIT license and runs locally with uvx x-use-mcp.
github.com/ihuzaifashoukat/x-use (opens in a new tab)
Data as of from the GitHub API and the official MCP registry; description from the project's repository. Report an error
Install X-Use - X (Twitter) MCP Server
Generated from the server's MCP registry entry. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"x-use-x-twitter-mcp-server": {
"command": "uvx",
"args": [
"x-use-mcp"
],
"env": {
"OPENAI_API_KEY": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env OPENAI_API_KEY=your-value --transport stdio x-use-x-twitter-mcp-server -- uvx x-use-mcpCursor
{
"mcpServers": {
"x-use-x-twitter-mcp-server": {
"type": "stdio",
"command": "uvx",
"args": [
"x-use-mcp"
],
"env": {
"OPENAI_API_KEY": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"inputs": [
{
"type": "promptString",
"id": "openai_api_key",
"description": "OPENAI_API_KEY",
"password": true
}
],
"servers": {
"x-use-x-twitter-mcp-server": {
"type": "stdio",
"command": "uvx",
"args": [
"x-use-mcp"
],
"env": {
"OPENAI_API_KEY": "${input:openai_api_key}"
}
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
X_USE_HOME | No | Absolute private directory for configuration, cookies, action journals and account state. Keep this stable across MCP client working directories. |
OPENAI_API_KEYsecret | No | Optional. Only needed for server-side text generation ('auto' replies, composite draft tools, background automation). Interactive MCP use is keyless because… |
OPENAI_BASE_URL | No | Optional. OpenAI-compatible endpoint, for example https://openrouter.ai/api/v1 or http://localhost:11434/v1 for Ollama. Defaults to api.openai.com. |
About X-Use - X (Twitter) MCP Server
Connect your AI client to X research, inbox reads, and reviewed publishing. x-use is an open-source Python Model Context Protocol (MCP) server and CLI for X (Twitter). Connect Claude, Codex, Cursor or another local MCP client to profile research, inbox management and reviewed publishing. It uses your authenticated browser session, supports multiple accounts and runs locally without official X API credentials.
- twitter-automation
- ai-agents
- browser-automation
- claude-desktop
- cursor
- mcp-server
- model-context-protocol
- python
- x-twitter
Similar MCP servers
More web & browsing MCP servers
searxNcrawl
DasDigitaleMomentum/searxNcrawl
Web search via SearXNG and/or You.com, plus clean Markdown crawling via Crawl4AI.
Active · last commit Oct 15, 2026
OfficialWeb & browsingPythonCloakBrowser MCP
swimmwatch/cloakbrowser-mcp
Playwright MCP-compatible browser automation bridge for CloakBrowser Chromium.
Active · last commit Oct 24, 2026
Web & browsingTypeScriptGbox
babelcloud/gbox
Cli and MCP for gbox. Enable AI agents to operate Android/Browser/Desktop like human.
Maintained · last commit Jul 16, 2026
Web & browsingGoKreuzcrawl
xberg-io/crawlberg
Scrape, crawl, and map websites to Markdown or JSON via local CLI.
Active · last commit Oct 24, 2026
Web & browsingRustCharlotte
TickTockBent/charlotte
Renders web pages into structured, agent-readable representations using headless Chromium.
Active · last commit Oct 22, 2026
Web & browsingTypeScriptScrapeless MCP Server
scrapeless-ai/scrapeless-mcp-server
Web search, browser automation, scraping, crawling and CAPTCHA solving for AI agents.
Maintained · last commit Sep 8, 2026
Web & browsingTypeScript
How do I install the X-Use - X (Twitter) MCP Server MCP server?
Add the command uvx x-use-mcp to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is X-Use - X (Twitter) MCP Server free?
The server is open source under the MIT license, so running it is free. It does not declare any required API key.
Is X-Use - X (Twitter) MCP Server actively maintained?
The most recent commit was on Oct 25, 2026. The latest release is v3.2.0, published Oct 13, 2026. appsgit only lists MCP servers with a commit in the last six months.