Back to Browse

Xcrop MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocalRemote
Free

Server data from the Official MCP Registry

Read public X (Twitter) data and verify follows, reposts, replies and quotes. 14 read-only tools.

About

Read public X (Twitter) data and verify follows, reposts, replies and quotes. 14 read-only tools.

Remote endpoints: streamable-http: https://xcrop.io/api/mcp

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (0 strong, 2 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.

14 tools verified · Open access · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

file_system

Check that this permission is expected for this type of plugin.

env_vars

Check that this permission is expected for this type of plugin.

Shell Command Execution

Runs commands on your machine. Be cautious — only use if you trust this plugin.

HTTP Network Access

Connects to external APIs or services over the internet.

What You'll Need

Set these up before or after installing:

Your XCROP API key (xc_live_...), free at https://xcrop.io/dashboardRequired

Environment variable: XCROP_API_KEY

How to Install & Connect

Available as Local & Remote

This plugin can run on your machine or connect to a hosted endpoint. during install.

Documentation

View on GitHub

From the project's GitHub README.

XCROP MCP server for X (Twitter) data

npm license XCROP MCP server on Glama

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
This package npx -y @xcrop/mcpA local (stdio) server: Claude Desktop, Claude Code, Cursor, VS Code, or any client that runs MCP servers as a process
Hosted server https://xcrop.io/api/mcpYour client supports remote MCP servers over HTTP and you want nothing to install. Setup: xcrop.io/mcp

This package runs the MCP server on your machine: the 14 tools (src/server.js) answer here, and each tool call becomes one request to the public XCROP REST API (https://xcrop.io/api/v2/...) with your key. src/server.js is generated from the same code as the hosted server, so both ways expose identical tools.

Get an API key

Sign up at xcrop.io and create a key in the dashboard. Keys start with xc_live_.

Setup

Claude Code

claude mcp add xcrop -e XCROP_API_KEY=xc_live_YOUR_KEY -- npx -y @xcrop/mcp

Claude 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.

ToolWhat it returnsCredits
get_userProfile: name, bio, followers, following, post count, verification, creation date18
get_user_tweetsLatest posts of an account15 per post
search_tweetsPost search with X operators (from:, lang:, min_faves:, since: ...)15 per post
search_usersAccounts matching a name or keyword18 per account
get_tweetOne post with author, counts and media15
get_tweet_repliesReplies under a post15 per reply
get_tweet_quotesPosts quoting a post15 per quote
get_tweet_retweetersAccounts that reposted a post1 per account
get_followersFollowers of an account1 per follower
get_followingAccounts an account follows1 per account
check_followDoes account A follow account B (both directions)50
check_interactionDid an account repost, reply to or quote a post50
get_trendingTrending topics, worldwide or by country100
get_creditsCredits left on your keyfree

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

VariableDefaultMeaning
XCROP_API_KEYnoneYour key (xc_live_...). Without it the tools answer with setup instructions
XCROP_API_URLhttps://xcrop.io/apiBase URL of the XCROP REST API

The key is sent only to XCROP_API_URL, as an Authorization: Bearer header, and is never printed or shown to the model.

Upgrading from 1.0.x: XCROP_MCP_URL is no longer used. A key given there as ?key= is still picked up, with a notice on stderr; move it to XCROP_API_KEY.

How it works

MCP client ──stdio──▶ xcrop-mcp (this package)
                        ├─ initialize, tools/list: answered locally
                        └─ tools/call ──HTTPS + your key──▶ https://xcrop.io/api/v2/...

Tool inputs are validated before any request (handles, post ids, page sizes are clamped), so a model cannot page through thousands of results on its own and spend your credits. Long replies are trimmed to fit the client and say so.

Development

npm test                      # unit tests, no network
node bin/xcrop-mcp.js         # run the server; type JSON-RPC lines on stdin

Links

License

MIT

Reviews

No reviews yet

Be the first to review this server!