xdataapi MCP server
Commit 3. Nov. 2026Allows AI clients to access read-only public X (Twitter) data including profiles, tweets, threads, followers, and search results.
Auch bekannt als xdataapi/xdataapi, xdataapi
- Stars
- 1
- Tools
- —
- Downloads, 30 Tage
- —
- Neueste Version
- 0.3.2
- Letzter Commit
- 3. Nov. 2026
- Lizenz
- MIT
Was ist xdataapi MCP?
xdataapi ist ein MCP server. Allows AI clients to access read-only public X (Twitter) data including profiles, tweets, threads, followers, and search results.
Zusammenfassung generiert aus dem README des Projekts
Über xdataapi MCP server
Accessing public X data for research or monitoring is what this server enables for developers and AI agents. It provides read-only access to profiles, tweets, threads, followers, and search results using x.com operators. Users can integrate it into MCP clients via HTTP transport using OAuth or an x-api-key for authentication. For those using stdio-only clients, the server can be bridged using mcp-remote.
Specific tools available include get_user, search_tweets, get_thread, and get_replies, among others. The system operates on a credit model where one credit is charged per tweet or profile returned, though errors and empty results are free. Users can monitor their usage through the get_balance tool. This server is designed to work with Claude Code as a plugin or as a standalone connection in any MCP-compatible client.
Was du damit machen kannst
- 1Analyze social media threadsAsk the AI to retrieve and summarize a specific conversation thread from X.
- 2Monitor user activityRequest a list of recent tweets from a specific profile to track updates.
- 3Perform targeted searchesUse search operators to find specific tweets within a certain timeframe.
- 4Track follower networksIdentify the followers or the people a specific account is following.
Geschrieben aus dem README des Projekts. Jeder Use Case wurde gegen ein Zitat daraus geprüft.
So installierst du xdataapi MCP
Formate geprüft am 10. Nov. 2026xdataapi MCP in Claude Code installieren
$ claude mcp add --transport http xdataapi https://api.xdataapi.io/mcpxdataapi MCP in Cursor installieren
~/.cursor/mcp.json
{
"mcpServers": {
"xdataapi": {
"url": "https://api.xdataapi.io/mcp"
}
}
}xdataapi MCP in VS Code installieren
.vscode/mcp.json
{
"servers": {
"xdataapi": {
"type": "http",
"url": "https://api.xdataapi.io/mcp"
}
}
}xdataapi MCP in Codex installieren
~/.codex/config.toml
[mcp_servers.xdataapi] url = "https://api.xdataapi.io/mcp"
xdataapi MCP in Gemini CLI installieren
~/.gemini/settings.json
{
"mcpServers": {
"xdataapi": {
"httpUrl": "https://api.xdataapi.io/mcp"
}
}
}Konfiguration
XDATAAPI_KEY
| Name | Beschreibung | Typ |
|---|---|---|
| XDATAAPI_KEY | — |
Automatisierte Checks
Geluften am 14. Nov. 2026Vollständiger Bericht →Noch nicht verifiziert. Ein Server benötigt einen Score von 80, keine kritischen Befunde und genug Daten für unsere Prüfung. Wie die Checks funktionieren
- Source Repository verknüpft und erreichbarxdataapi/xdataapi is public and reachablegithub.com/xdataapi/xdataapi ↗Bestanden
- Paket nennt dieses Repository als QuelleNicht geprüft
- Build-Herkunft (Sigstore-Attestierung)Nicht geprüft
- Open Source Lizenz (OSI)MITspdx.org/licenses/MIT.html ↗Bestanden
- Commit oder Release im letzten JahrLast commit or release 2026-11-03github.com/xdataapi/xdataapi ↗Bestanden
- OpenSSF ScorecardNicht geprüft
- Package-Name ähnelt keinem populären PackageNicht geprüft
- Kein kritischer Hinweis im Paket oder seinen AbhängigkeitenNicht geprüft
- Keine versteckten Anweisungen an das Modell0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersBestanden
- Destruktive Tools sind markiertNicht geprüft
- Remote-Endpoint beantwortet den MCP-Handshakeinitialize answered with protocol 2025-06-18 in 594 msBestanden
README
Auf GitHub ansehenxdataapi
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.
- Site and docs: https://xdataapi.io/docs
- API:
https://api.xdataapi.io(OpenAPI 3.1: openapi.yaml, also at https://api.xdataapi.io/openapi.yaml) - Hosted MCP server:
https://api.xdataapi.io/mcp(Streamable HTTP, OAuth orx-api-key) - Status, checked every minute from outside: https://xdataapi.io/status
- Docs for agents: https://xdataapi.io/llms.txt
Not affiliated with X Corp. Public data only. No write endpoints.
MCP
Claude Code, as a plugin — the server plus a skill that teaches the search operators and the cost rules:
claude plugin marketplace add xdataapi/xdataapi
claude plugin install xdataapi@xdataapi
Or the server on its own, in any MCP client:
claude mcp add --transport http xdataapi https://api.xdataapi.io/mcp
The server signs you in with OAuth on first use. Clients without OAuth pass a key instead:
{
"mcpServers": {
"xdataapi": {
"url": "https://api.xdataapi.io/mcp",
"headers": { "x-api-key": "xd_live_..." }
}
}
}
Stdio-only clients can bridge with mcp-remote:
{
"mcpServers": {
"xdataapi": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://api.xdataapi.io/mcp", "--header", "x-api-key:${XDATAAPI_KEY}"],
"env": { "XDATAAPI_KEY": "xd_live_..." }
}
}
}
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.
REST
curl "https://api.xdataapi.io/v1/tweets/search?q=from:x%20since:2026-09-01&count=20" \
-H "x-api-key: xd_live_..."
Every response carries credits_charged and balance_remaining. Pages return next_cursor; pass it back as cursor.
SDKs
TypeScript, npm install xdataapi:
import { xdataapi } from 'xdataapi';
const api = xdataapi({ apiKey: process.env.XDATAAPI_KEY! });
const { data } = await api.searchTweets({ query: { q: 'from:x', count: 20 } });
Python, pip install xdataapi:
from xdataapi import AuthenticatedClient
from xdataapi.api.tweets import search_tweets
client = AuthenticatedClient(base_url="https://api.xdataapi.io", token=KEY, prefix="", auth_header_name="x-api-key")
page = search_tweets.sync(client=client, q="from:x", count=20)
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.
Framework packages
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.
Pricing
Prepaid credit packs from $10. Credits never expire. No per-call minimum. Rate limit rises with lifetime spend. Details: https://xdataapi.io/#pricing
Support
hello@xdataapi.io. Security reports: https://xdataapi.io/.well-known/security.txt
xdataapi MCP Fragen
Wie füge ich xdataapi MCP zu Claude Code hinzu?
Führe claude mcp add --transport http xdataapi https://api.xdataapi.io/mcp in deinem Terminal aus. Füge --scope user hinzu, damit der Server in jedem Projekt verfügbar ist.
Wie füge ich xdataapi MCP zu Cursor hinzu?
Öffne ~/.cursor/mcp.json und füge den Server unter mcpServers hinzu, mit der Cursor-Config aus dem Installationsabschnitt oben.
What kind of data can I access?
You can access read-only public X (Twitter) data such as profiles, tweets, timelines, threads, followers, and search using x.com operators.
How much does it cost to use the API?
The service uses a credit system where one credit is charged per tweet or profile returned; empty results and errors are free.
How do I authenticate with the MCP server?
The server signs you in with OAuth on first use, or you can pass an API key via headers for clients that do not support OAuth.
Can I write or post to X using this server?
No, the server is strictly for reading public data and contains no write endpoints.