Read-only public X (Twitter) data: profiles, tweets, threads, followers, search. Pay per result.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Read-only public X (Twitter) data for developers and AI agents. Profiles, tweets, timelines, threads, followers, and search with the x.com operators. One credit per tweet or profile returned. Empty results and errors are free.
https://api.xdataapi.io (OpenAPI 3.1: openapi.yaml, also at https://api.xdataapi.io/openapi.yaml)https://api.xdataapi.io/mcp (Streamable HTTP, OAuth or x-api-key)Not affiliated with X Corp. Public data only. No write endpoints.
Claude Code, as a plugin β the server plus a skill that teaches the search operators and the cost rules:
Or the server on its own, in any MCP client:
The server signs you in with OAuth on first use. Clients without OAuth pass a key instead:
Stdio-only clients can bridge with mcp-remote:
Tools: get_user, get_users, get_user_tweets, get_followers, get_following, get_follower_ids,
search_tweets, get_tweet, get_tweets, get_thread, get_replies, get_quotes, get_retweeters,
get_balance. All read-only. Listed on the official MCP Registry as io.xdataapi/xdataapi.
Every response carries credits_charged and balance_remaining. Pages return next_cursor; pass it back as cursor.
TypeScript, npm install xdataapi:
Python, pip install xdataapi:
The TypeScript client has no runtime dependencies; npm install xdataapi pulls one package.
Both are generated from openapi.yaml by sdk/generate.sh; the source
is in sdk/typescript and sdk/python. Nothing in them is hand-written
except the small wrapper in sdk/typescript/src/index.ts and the READMEs, so an API change means
regenerating rather than editing.
Installable tools for agent frameworks. Each one carries the credit cost in every tool description, so
the model can see what a plan costs before it runs it, and each takes a max_results cap so one agent
step cannot empty the balance.
| Package | Install | Source |
|---|---|---|
| LangChain and LangGraph | pip install langchain-xdataapi | packages/langchain |
| LlamaIndex | pip install llama-index-tools-xdataapi | packages/llama-index |
| n8n | community node n8n-nodes-xdataapi | packages/n8n |
| Claude Code | claude plugin install xdataapi@xdataapi | plugins/xdataapi |
For anything else, see examples/: CrewAI, the Vercel AI SDK, and the OpenAI Agents SDK. An agent that speaks MCP needs none of them.
Prepaid credit packs from $10. Credits never expire. No per-call minimum. Rate limit rises with lifetime spend. Details: https://xdataapi.io/#pricing
hello@xdataapi.io. Security reports: https://xdataapi.io/.well-known/security.txt
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/xdataapi-x-twitter-data-2)<a href="https://allmcps.com/mcp/xdataapi-x-twitter-data-2"><img src="https://allmcps.com/api/badge/xdataapi-x-twitter-data-2?style=directory" alt="Xdataapi: X (Twitter) data on AllMCPs" /></a>