XCROP MCP server
OfficialXCROP MCP server for X (Twitter) data
An MCP server that gives Claude, Cursor, VS Code and other MCP clients read access to public X (Twitter) data through the XCROP API: profiles, posts, search, followers, trends, and checks for follows, reposts, replies and quotes.
14 read-only tools, nothing is ever posted
Runs on your own XCROP API key, free plan included (10,000 credits a month)
Zero dependencies, Node.js 18.17 or newer
There are two ways to connect:
When to use | |
Hosted server | Your client supports remote MCP servers over HTTP (Claude Code, Claude, ChatGPT, Cursor, VS Code). Nothing to install. Setup: xcrop.io/mcp |
This package | Your client only runs local (stdio) servers, or you prefer the key in an environment variable |
This package is a thin stdio bridge to the hosted server: each message goes to https://xcrop.io/api/mcp with your key, so both ways expose the same tools and the tool list is always current.
Get an API key
Sign up at xcrop.io and create a key in the dashboard. Keys start with xc_live_.
Related MCP server: SocialDataX X Twitter MCP
Setup
Claude Code
claude mcp add xcrop -e XCROP_API_KEY=xc_live_YOUR_KEY -- npx -y @xcrop/mcpClaude Desktop
Add to claude_desktop_config.json (Settings, Developer, Edit Config), then restart Claude:
{
"mcpServers": {
"xcrop": {
"command": "npx",
"args": ["-y", "@xcrop/mcp"],
"env": { "XCROP_API_KEY": "xc_live_YOUR_KEY" }
}
}
}Cursor
Add to ~/.cursor/mcp.json (or .cursor/mcp.json in a project):
{
"mcpServers": {
"xcrop": {
"command": "npx",
"args": ["-y", "@xcrop/mcp"],
"env": { "XCROP_API_KEY": "xc_live_YOUR_KEY" }
}
}
}VS Code
Add to .vscode/mcp.json, then use Copilot Chat in agent mode:
{
"servers": {
"xcrop": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@xcrop/mcp"],
"env": { "XCROP_API_KEY": "xc_live_YOUR_KEY" }
}
}
}On Windows, if the client cannot start npx, use "command": "cmd" with "args": ["/c", "npx", "-y", "@xcrop/mcp"].
Tools
Every call spends credits from your key; the cost is in each tool's description, so the model sees it too.
Tool | What it returns | Credits |
| Profile: name, bio, followers, following, post count, verification, creation date | 18 |
| Latest posts of an account | 15 per post |
| Post search with X operators ( | 15 per post |
| Accounts matching a name or keyword | 18 per account |
| One post with author, counts and media | 15 |
| Replies under a post | 15 per reply |
| Posts quoting a post | 15 per quote |
| Accounts that reposted a post | 1 per account |
| Followers of an account | 1 per follower |
| Accounts an account follows | 1 per account |
| Does account A follow account B (both directions) | 50 |
| Did an account repost, reply to or quote a post | 50 |
| Trending topics, worldwide or by country | 100 |
| Credits left on your key | free |
List tools take count and return next_cursor; the model asks for the next page only when it needs it. Prices can change: the server's tool list and xcrop.io/pricing are the reference.
Example prompts
"Get the profile of @nasa and its 20 latest posts"
"Did @alice repost https://x.com/xcropio/status/123... ?"
"Search posts about 'MCP server' from the last week with at least 50 likes"
"What is trending in Japan right now?"
Configuration
Variable | Default | Meaning |
| none | Your key ( |
|
| Server to forward to |
The key is sent only to XCROP_MCP_URL, as an Authorization: Bearer header, and is never printed. A URL carrying ?key=xc_live_... also works: the key is taken out of the URL and sent as the header instead.
Development
npm test # unit tests, no network
node bin/xcrop-mcp.js # run the bridge; type JSON-RPC lines on stdinLinks
MCP setup guide: xcrop.io/mcp and xcrop.io/docs/mcp-server
REST API docs: xcrop.io/docs
SDKs: JavaScript, Python, Go
MCP Registry:
io.xcrop/x-data
License
MIT
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
Real-time Twitter (X) advanced search, user timelines, profiles & followers MCP ($0.03/1K tweets).
Official twitterapi.io hosted MCP: Twitter/X tweets, users, followers, trends. OAuth or API key.
Read-only public X (Twitter) data: profiles, tweets, threads, followers, search. Pay per result.
Live X/Twitter data: profiles, tweets, search, followers, lists and trends. 29 read-only tools.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA read-only X/Twitter MCP server that enables data retrieval for user profiles, tweets, and social graphs using OAuth 2.0 Bearer Token authentication. It supports searching recent tweets, viewing timelines, and tracking engagement metrics like followers, likes, and retweets.3MIT
- AlicenseNot gradedqualityCmaintenanceX and Twitter MCP by SocialDataX for public post search and details, comments and replies, user profiles, and user post lists with pagination.MIT
- AlicenseAqualityBmaintenanceEnables MCP clients to interact with the X (Twitter) API v2 through 41 typed tools for reading, searching, engaging, publishing, and managing content, with policy-based access control and session credit budgets to prevent overspending.4150 npm1MIT
- AlicenseNot gradedqualityDmaintenanceEnables MCP clients to access FxTwitter/FxEmbed read-only APIs, exposing tools for retrieving posts, threads, conversations, user profiles, media, followers, search results, and trends.2MIT