twitter-x-research-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
twitter-x-research-mcp
MCP server for the X (Twitter) API v2. Read-only research tools for searching tweets, looking up users, and monitoring trends.
Quick Start
1. Get a Bearer Token from developer.x.com
2. Add to your MCP client config:
{
"mcpServers": {
"x-research": {
"command": "npx",
"args": ["-y", "twitter-x-research-mcp"],
"env": {
"X_API_BEARER_TOKEN": "your_token_here"
}
}
}
}That's it. Works with Claude Desktop, Cursor, Claude Code, and any MCP client.
Config file locations
Client | Config file |
Claude Desktop |
|
Cursor |
|
Claude Code |
|
Related MCP server: X Research MCP
Tools
8 read-only research tools:
Tool | Description |
| Search tweets (recent 7 days or full archive) |
| Look up one or more tweets by ID |
| Get user profile by username or ID |
| Get a user's posted tweets |
| Get tweets mentioning a user |
| Get a user's followers or following list |
| Get trending topics by location |
| Get likes, retweets, or quote tweets for a tweet |
Tool Toggles
By default all 8 tools are enabled. To expose only specific tools:
{
"env": {
"X_API_BEARER_TOKEN": "your_token",
"X_MCP_TOOLS": "x_search,x_get_user,x_get_tweet"
}
}Set X_MCP_TOOLS=all (or omit it) to enable everything.
API Tier Requirements
Basic ($200/mo): All tools work. Search limited to last 7 days.
Pro ($5K/mo): Full-archive search via
x_searchwithmode="archive".Pay-per-use: All tools work. ~$0.005/read.
Free: Very limited. Most read endpoints are restricted.
Development
If you want to contribute or run from source:
git clone https://github.com/EllypsisAI/twitter-x-api-mcp.git
cd x-api-mcp
npm install
npm run build
npm testLicense
MIT — Ellypsis AI
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only public X (Twitter) data: profiles, tweets, threads, followers, search. Pay per result.
Read public Twitter/X data: tweets, profiles, followers, search. No X developer account.
Live X/Twitter data: profiles, tweets, search, followers, lists and trends. 29 read-only tools.
X (formerly Twitter): X (formerly Twitter) public and private data API for search, posts (Tweets).
Related MCP Servers
- FlicenseBqualityCmaintenanceEnables browser-based Twitter/X research and account workflows through a signed-in browser, supporting search, timeline/profile reads, saved searches, snapshot exports, and prepared account actions without requiring an X developer API key.25-
- AlicenseAqualityCmaintenanceEnables read-only research on public X data through tools for posts, threads, profiles, search, trends, collections, and saved-result analysis using free public APIs and optional sessions.8MIT
- AlicenseNot gradedqualityBmaintenanceProvides read-only access to public X (Twitter) data, including profiles, tweets, timelines, threads, followers, and search, for developers and AI agents.1MIT
- AlicenseBqualityBmaintenanceEnables read-only access to X/Twitter for searching posts, viewing profiles, timelines, threads, and trending topics without posting, liking, reposting, or sending direct messages.7MIT