xdataapi: X (Twitter) data
Read-only public X (Twitter) data: profiles, tweets, threads, followers, search. Pay per result.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (3)
- LOWen get_tweet
- LOWen get_replies
- LOWen get_balance
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"xdataapi": {
"url": "https://api.xdataapi.io/mcp"
}
}
}Puntos de conexión remotos
https://api.xdataapi.io/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (14)
🟢get_user(handle, fresh)
Profile of one X user by handle. 1 credit.
Esquema de entrada
{
"type": "object",
"properties": {
"handle": {
"type": "string",
"minLength": 1,
"maxLength": 16,
"description": "Handle, with or without @"
},
"fresh": {
"description": "Bypass the cache. Costs 2x credits.",
"type": "boolean"
}
},
"required": [
"handle"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_users(handles, fresh)
Profiles of up to 100 X users by handle in one call. 1 credit per profile found.
Esquema de entrada
{
"type": "object",
"properties": {
"handles": {
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 16
}
},
"fresh": {
"description": "Bypass the cache. Costs 2x credits.",
"type": "boolean"
}
},
"required": [
"handles"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_user_tweets(user, count, cursor, fresh)
Latest tweets of a user, newest first. 1 credit per tweet.
Esquema de entrada
{
"type": "object",
"properties": {
"user": {
"type": "string",
"minLength": 1,
"maxLength": 30,
"description": "Handle (with or without @) or numeric user id"
},
"count": {
"description": "Page size, 1 to 100",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"cursor": {
"description": "next_cursor from the previous page",
"type": "string"
},
"fresh": {
"description": "Bypass the cache. Costs 2x credits.",
"type": "boolean"
}
},
"required": [
"user"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_followers(user, count, cursor, fresh)
Followers of a user. 0.1 credit per profile. Not every account tier can read this; a 403 is free.
Esquema de entrada
{
"type": "object",
"properties": {
"user": {
"type": "string",
"minLength": 1,
"maxLength": 30,
"description": "Handle (with or without @) or numeric user id"
},
"count": {
"type": "integer",
"minimum": 1,
"maximum": 200
},
"cursor": {
"description": "next_cursor from the previous page",
"type": "string"
},
"fresh": {
"description": "Bypass the cache. Costs 2x credits.",
"type": "boolean"
}
},
"required": [
"user"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_follower_ids(user, count, cursor, fresh)
Numeric ids of the followers of a user, no profiles. 0.02 credit per id. Same page as get_followers, so a page read there is a cache hit here. A 403 is free.
Esquema de entrada
{
"type": "object",
"properties": {
"user": {
"type": "string",
"minLength": 1,
"maxLength": 30,
"description": "Handle (with or without @) or numeric user id"
},
"count": {
"type": "integer",
"minimum": 1,
"maximum": 200
},
"cursor": {
"description": "next_cursor from the previous page",
"type": "string"
},
"fresh": {
"description": "Bypass the cache. Costs 2x credits.",
"type": "boolean"
}
},
"required": [
"user"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_following(user, count, cursor, fresh)
Accounts a user follows. 0.1 credit per profile. Not every account tier can read this; a 403 is free.
Esquema de entrada
{
"type": "object",
"properties": {
"user": {
"type": "string",
"minLength": 1,
"maxLength": 30,
"description": "Handle (with or without @) or numeric user id"
},
"count": {
"type": "integer",
"minimum": 1,
"maximum": 200
},
"cursor": {
"description": "next_cursor from the previous page",
"type": "string"
},
"fresh": {
"description": "Bypass the cache. Costs 2x credits.",
"type": "boolean"
}
},
"required": [
"user"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢search_tweets(q, product, count, cursor, fresh)
X advanced search. q takes the x.com operators. 1 credit per tweet or profile. product Latest is always available; Top may answer 403 (free).
Esquema de entrada
{
"type": "object",
"properties": {
"q": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "Query with x.com operators, e.g. \"from:x since:2026-09-01 -filter:replies\""
},
"product": {
"description": "Default Latest. People returns profiles.",
"type": "string",
"enum": [
"Latest",
"Top",
"People",
"Photos",
"Videos"
]
},
"count": {
"type": "integer",
"minimum": 1,
"maximum": 50
},
"cursor": {
"description": "next_cursor from the previous page",
"type": "string"
},
"fresh": {
"description": "Bypass the cache. Costs 2x credits.",
"type": "boolean"
}
},
"required": [
"q"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_tweet(id, fresh)
One tweet by numeric id, with its author. 1 credit.
Esquema de entrada
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^\\d{1,25}$"
},
"fresh": {
"description": "Bypass the cache. Costs 2x credits.",
"type": "boolean"
}
},
"required": [
"id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_tweets(ids, fresh)
Up to 100 tweets by numeric id in one call. 1 credit per tweet found.
Esquema de entrada
{
"type": "object",
"properties": {
"ids": {
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"pattern": "^\\d{1,25}$"
}
},
"fresh": {
"description": "Bypass the cache. Costs 2x credits.",
"type": "boolean"
}
},
"required": [
"ids"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_thread(id, cursor, fresh)
A tweet with its thread and replies; the focal tweet comes first. 1 credit per tweet returned.
Esquema de entrada
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^\\d{1,25}$"
},
"cursor": {
"description": "next_cursor from the previous page",
"type": "string"
},
"fresh": {
"description": "Bypass the cache. Costs 2x credits.",
"type": "boolean"
}
},
"required": [
"id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_replies(id, cursor, fresh)
Direct replies to a tweet, one page. 1 credit per reply.
Esquema de entrada
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^\\d{1,25}$"
},
"cursor": {
"description": "next_cursor from the previous page",
"type": "string"
},
"fresh": {
"description": "Bypass the cache. Costs 2x credits.",
"type": "boolean"
}
},
"required": [
"id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_quotes(id, count, cursor, fresh)
Tweets that quote a tweet, newest first. 1 credit per tweet.
Esquema de entrada
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^\\d{1,25}$"
},
"count": {
"type": "integer",
"minimum": 1,
"maximum": 50
},
"cursor": {
"description": "next_cursor from the previous page",
"type": "string"
},
"fresh": {
"description": "Bypass the cache. Costs 2x credits.",
"type": "boolean"
}
},
"required": [
"id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_retweeters(id, count, cursor, fresh)
Accounts that retweeted a tweet. 0.5 credit per profile. Not every account tier can read this; a 403 is free.
Esquema de entrada
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^\\d{1,25}$"
},
"count": {
"type": "integer",
"minimum": 1,
"maximum": 200
},
"cursor": {
"description": "next_cursor from the previous page",
"type": "string"
},
"fresh": {
"description": "Bypass the cache. Costs 2x credits.",
"type": "boolean"
}
},
"required": [
"id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_balance
Credits left on this key and its rate limit. Free.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}Prompts recomendados
search_tweetssearch_tweetsget_userget_usersearch_tweetsget_userComunidad
Evidencia