🌐

X (Twitter) MCP Server

Updated June 2026

The X (Twitter) MCP server, built by Rafal Janicki (Community), provides a Python-based MCP server that lets Claude, Cursor, and other AI tools interact with X/Twitter through natural-language commands, built on the official Twitter API v2 rather than username/password scraping hacks (which risk account suspension). It is community-built and best for API & Web.

by Rafal Janicki (Community)

About

A Python-based MCP server that lets Claude, Cursor, and other AI tools interact with X/Twitter through natural-language commands, built on the official Twitter API v2 rather than username/password scraping hacks (which risk account suspension). It exposes tools to fetch user profiles, followers, and following lists; post, delete, and favorite tweets; search tweets and trending topics; manage bookmarks and timelines; and handle rate limits automatically across the v2 endpoint surface. Authentication requires a Twitter Developer Account with API Key, API Secret, Access Token, Access Token Secret, and Bearer Token from the Twitter Developer Portal — there is no keyless or scraping-based mode, so this targets developers who already have (or are willing to apply for) API access rather than casual users. Install options include Smithery (`npx -y @smithery/cli install @rafaljanicki/x-twitter-mcp-server --client claude`) for one-command Claude Desktop setup, PyPI (`pip install x-twitter-mcp`) for a quick manual install, or cloning the source with `uv sync`/`pip install .` for development. The project is a smaller community effort (35 stars) compared to the official Twitter API tooling ecosystem, but is actively maintained and one of the few X/Twitter MCP servers built on the sanctioned API path rather than reverse-engineered browser automation.

Installation

pip
pip install x-twitter-mcp

Frequently Asked Questions

What is X (Twitter) MCP Server?
X (Twitter) is an MCP server built by Rafal Janicki (Community). A Python-based MCP server that lets Claude, Cursor, and other AI tools interact with X/Twitter through natural-language commands, built on the official Twitter API v2 rather than username/password scraping hacks (which risk account suspension). It exposes tools to fetch user profiles, followers, and following lists; post, delete, and favorite tweets; search tweets and trending topics; manage bookmarks and timelines; and handle rate limits automatically across the v2 endpoint surface. Authentication requires a Twitter Developer Account with API Key, API Secret, Access Token, Access Token Secret, and Bearer Token from the Twitter Developer Portal — there is no keyless or scraping-based mode, so this targets developers who already have (or are willing to apply for) API access rather than casual users. Install options include Smithery (`npx -y @smithery/cli install @rafaljanicki/x-twitter-mcp-server --client claude`) for one-command Claude Desktop setup, PyPI (`pip install x-twitter-mcp`) for a quick manual install, or cloning the source with `uv sync`/`pip install .` for development. The project is a smaller community effort (35 stars) compared to the official Twitter API tooling ecosystem, but is actively maintained and one of the few X/Twitter MCP servers built on the sanctioned API path rather than reverse-engineered browser automation.
Who built X (Twitter) MCP Server?
X (Twitter) MCP Server was built by Rafal Janicki (Community).
Is X (Twitter) MCP Server free?
Yes, X (Twitter) MCP Server has a free option. The MCP server is free and open-source. X (Twitter) API: Free tier (limited). Basic: $100/mo. Pro: $5,000/mo. Enterprise: Custom.
How do I install X (Twitter) MCP Server?
Install X (Twitter) MCP Server with pip: pip install x-twitter-mcp
What does X (Twitter) MCP Server integrate with?
X (Twitter) MCP Server integrates with Claude Desktop, Cursor, VS Code, Windsurf, Cline.

Repo Health

Local install

Local/stdio install — runs on your machine, so there is no remote endpoint to verify live. Trust signal below is from the source repo.

Repo recency not yet available for this server.

Quick Info

Install Type
pip
Author
Rafal Janicki (Community)
Categories
2
Integrations
5

Related Servers

🌐

Fetch

Web content fetching and conversion for efficient LLM usage. Extract readable content from any URL.

Local
🌍

Apify MCP Server

The Apify MCP server gives AI agents access to 6,000+ ready-made cloud scrapers, crawlers, and automation tools on the Apify Store — no infrastructure required. Connect to Apify Actors that extract data from social media platforms (Instagram, TikTok, LinkedIn), search engines (Google, Bing), e-commerce sites (Amazon, eBay), maps (Google Maps), and virtually any website. Each Actor runs in the cloud with managed proxies, browser fingerprinting, and anti-bot bypass built in. Use the Apify MCP server to query Actors by task, stream results directly into your AI context, run custom scraping Actors from your Apify account, and chain multiple data extraction steps in a single workflow. Supports tool filtering to expose only the Actors you need, and integrates with Apify's RAG web browser Actor for retrieval-augmented generation use cases.

Auth required
🌍

Browserbase

Automate browser interactions in the cloud (web navigation, data extraction, form filling, and more).

Local
🌍

Firecrawl MCP Server

The Firecrawl MCP server gives your AI assistant the ability to crawl, scrape, and extract structured data from any website — turning raw HTML into clean, LLM-ready Markdown or JSON in seconds. Built by the Firecrawl team, it exposes tools for single-page scraping, deep site crawls (following internal links), and batch URL extraction, all with JavaScript rendering handled automatically so dynamic content is never missed. Developers use it to automate competitive research, build live knowledge bases, extract pricing tables, monitor documentation changes, or feed structured web data into RAG pipelines — all through natural-language prompts without writing a single scraper script. The Firecrawl MCP server handles rate limiting, retries, and proxy rotation behind the scenes. Authentication requires a Firecrawl API key (free tier available). Install with: npx firecrawl-mcp. Works with Claude Desktop, Cursor, VS Code, and any MCP-compatible client. With Firecrawl, any public webpage becomes a structured data source your AI can reason over, compare, and act on — making it the go-to MCP server for web data extraction workflows.

Auth required
📋

Notion MCP Server

The Notion MCP Server is the official integration from Notion that connects AI assistants directly to your Notion workspace via the Notion REST API. With 3,500+ GitHub stars, it is the canonical MCP tool for bringing Notion's knowledge management capabilities into Claude Desktop, Cursor, Windsurf, and any MCP-compatible client. The server exposes a rich set of tools: search your entire workspace by keyword and return matching pages and databases; retrieve full page content and block trees; create new pages inside any parent page or workspace section; update, append, or delete block content on existing pages; list all databases your integration has access to; query database entries with filter and sort parameters; retrieve individual blocks or nested children by block ID; and add comments to pages. Authentication uses a Notion integration token — create an internal integration at notion.so/my-integrations, share specific pages or databases with it, and set NOTION_API_KEY in your environment. Install with a single npx command. The Notion MCP Server is especially powerful for AI workflows that span documentation retrieval, project planning, and knowledge capture — Claude can read product specs from Notion, draft new pages from conversation output, log structured data into databases, and search across thousands of notes without any manual copy-paste.

Auth required

Sponsored

Better Stack

Free Plan

Get alerted when your APIs, browser tests, payment pipelines, or MCP server dependencies go down. Used by 100K+ developers.

Start monitoring free →