Skip to content
MCP server

xdataapi: X (Twitter) data

Pay-per-result MCP server for public X (Twitter) profiles, tweets, threads and search

Pricing
Paid
Platforms
API, CLI
Runs
Remotely
Version
0.3.2
Listing updated
1 day ago

About xdataapi: X (Twitter) data

xdataapi: X (Twitter) data is a paid MCP server for web search and scraping. It runs as a hosted remote server, so there is nothing to install locally.

xdataapi serves read-only public X data to agents from a hosted endpoint, so nothing is installed or run locally. Tools cover profiles, a user's tweets, followers and following, tweet lookup, threads, replies, quotes, retweeters and search using x.com operators. The README says it is not affiliated with X Corp, handles public data only and has no write endpoints.

Cost is visible. Each call is one REST request at the same price, and every result reports credits charged and balance remaining. Profiles and tweets cost one credit each, follower IDs 0.02 and a retweeter profile 0.5. Empty results and errors are free, and a fresh flag bypasses the cache at double price for cached items.

Clients sign in through the MCP authorization flow in a browser, or send an API key in a header. Framework packages for LangChain, LlamaIndex and n8n, plus a Claude Code plugin, carry the cost into tool descriptions and add a max-results cap.

Install

Run in a terminal

claude mcp add --transport http xdataapi https://api.xdataapi.io/mcp

Add to Settings → Connectors → Add custom connector

https://api.xdataapi.io/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "xdataapi": {
      "url": "https://api.xdataapi.io/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "xdataapi": {
      "type": "http",
      "url": "https://api.xdataapi.io/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "xdataapi": {
      "serverUrl": "https://api.xdataapi.io/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "xdataapi": {
      "type": "http",
      "url": "https://api.xdataapi.io/mcp"
    }
  }
}

Tools this server provides (14)

Taken from the project documentation; the running server may differ.

get_user
Look up one profile by handle or id.
get_users
Look up up to 100 profiles.
get_user_tweets
Read a user's tweets.
get_followers
List an account's followers.
get_following
List the accounts a user follows.
get_follower_ids
List follower ids.
search_tweets
Search tweets using x.com operators.
get_tweet
Fetch one tweet by id.
get_tweets
Fetch up to 100 tweets by id.
get_thread
Read a tweet thread.
get_replies
Read replies to a tweet.
get_quotes
Read quote tweets of a tweet.
get_retweeters
List who retweeted a tweet.
get_balance
Check the remaining credit balance for free.

What it does

Profile and tweet lookup
Reads users, single tweets and batches of up to 100.
Search with operators
Searches tweets and profiles using x.com search operators.
Threads and engagement
Fetches threads, replies, quotes and retweeters.
Follower data
Lists followers, following and follower IDs.
Visible credit costs
Every result shows credits charged and balance remaining.
OAuth or key sign-in
Signs in through a browser flow, or accepts an API key header.

Good for

  • Research what an account has posted recently
  • Pull a full thread or its replies into an analysis
  • Track mentions with search operators
  • Give an agent a spending cap on social data

Pricing

Paid

Prepaid credit packs from $10; about 1 credit per tweet or profile

Prices change. Check xdataapi.io before you buy.

xdataapi: X (Twitter) data FAQ

How does pricing work?

Prepaid credit packs start at $10. One credit buys a tweet or profile, and empty results and errors are free.

Can it post or like?

No. All tools are read-only and there are no write endpoints.

How do I connect Claude Code?

Run claude mcp add --transport http xdataapi https://api.xdataapi.io/mcp.

What if my client cannot open a browser?

Send an API key in the x-api-key header or as a Bearer token.

Is xdataapi: X (Twitter) data free?

No. xdataapi: X (Twitter) data is a paid product.

How do I add xdataapi: X (Twitter) data to Claude Code?

Run this command in your terminal: claude mcp add --transport http xdataapi https://api.xdataapi.io/mcp

What are the best alternatives to xdataapi: X (Twitter) data?

The closest alternatives to xdataapi: X (Twitter) data are Scrapling MCP Server, Firecrawl MCP Server, Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP and SearXNG Search.

Alternatives to xdataapi: X (Twitter) data

  1. MCP server for AI clients to scrape sites with HTTP and stealth browser sessions

    Runs locally
    • 17 tools
    • Open source
    • 104K GitHub stars
    • Web search and scraping
  2. MCP server that lets AI agents search, scrape and interact with web pages

    • 3 tools
    • Remote
    • Freemium
    • 7.8K GitHub stars
    • Web search and scraping
  3. Open-source analytics app where an AI agent builds charts and dashboards from your data

    • Remote
    • Open source
    • 7.7K GitHub stars
    • Analytics and data
  4. Hosted MCP connector for managing Google Ads, Meta Ads, GA4 and Search Console from chat

    • 8 tools
    • Remote
    • Freemium
    • 8.1K GitHub stars
    • Marketing and SEO
  5. SearXNG Search

    MCP server

    MCP server for web search and page reading through a SearXNG instance

    Runs locally
    • 3 tools
    • Open source
    • 1.4K GitHub stars
    • Web search and scraping
  6. Indian NSE and BSE stock market data for AI assistants through 48 MCP tools

    • 17 tools
    • Remote
    • Freemium
    • 150 GitHub stars
    • Finance and payments