Prototipo · Versión preliminar: todos los servidores del registro oficial, sincronizados cada 30 minutos. Las reseñas y las cuentas llegarán en una etapa posterior.
PopNx MCPServidores MCP para quienes usan IA · explicados con palabras sencillas

TwittrAPI

de twittrapiversión 1.2.0i★ –iComputadora o nube
Nombre en el registroio.github.twittrapi/twittrapi-mcp

Instalar

Resumen

Descripción del creador (original en inglés)

Read public Twitter/X data: tweets, profiles, followers, search. No X developer account.

Los tres pilares de PopNx MCP

Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.

Qué puedes hacer con él

Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.

  • Conexión: Computadora o nube
  • Transporte: stdio, Streamable HTTP
  • Categoría: Marketing y redes sociales
  • Debes completar: TWITTRAPI_API_KEY, RAPIDAPI_KEY, TWITTRAPI_X_COOKIE, TWITTRAPI_X_PROXY, TWITTRAPI_X_CHAT_PASSCODE

Instalación

Elige la app de IA que usas y copia la configuración.

Antes de instalar

  • Revisiones básicas: 1 de 1 superadas
  • Se ejecuta en el servidor del creador: lo que le pidas pasa por su servidor.
  • Debes completar tú: TWITTRAPI_API_KEY, RAPIDAPI_KEY, RAPIDAPI_HOST, TWITTRAPI_BASE_URL, TWITTRAPI_RESPONSE_FORMAT, TWITTRAPI_X_COOKIE, TWITTRAPI_X_PROXY, TWITTRAPI_X_CHAT_PASSCODE

Los valores marcados como secretos son llaves de tu cuenta. Nunca los compartas ni los pegues en un chat.

Necesitas

¿Qué app usas?

Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.

Funciona en Claude para web, escritorio y móvil:

  1. Abre Settings → Connectors
  2. Presiona Add custom connector
  3. Pega la dirección de abajo y presiona Add
  4. Si te pide iniciar sesión, inicia sesión en el servicio del creador
SettingsConnectors1+ Add2https://…3
https://mcp.twittrapi.com/mcp

O ejecútalo en tu computadora

Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json

{
  "mcpServers": {
    "twittrapi": {
      "command": "npx",
      "args": [
        "-y",
        "twittrapi-mcp"
      ],
      "env": {
        "TWITTRAPI_API_KEY": "your-value",
        "RAPIDAPI_KEY": "your-value",
        "RAPIDAPI_HOST": "your-value",
        "TWITTRAPI_BASE_URL": "your-value",
        "TWITTRAPI_RESPONSE_FORMAT": "your-value",
        "TWITTRAPI_X_COOKIE": "your-value",
        "TWITTRAPI_X_PROXY": "your-value",
        "TWITTRAPI_X_CHAT_PASSCODE": "your-value"
      }
    }
  }
}

Ejecuta esto en tu terminal

claude mcp add --transport http twittrapi https://mcp.twittrapi.com/mcp

O ejecútalo en tu computadora

claude mcp add twittrapi --env TWITTRAPI_API_KEY=your-value --env RAPIDAPI_KEY=your-value --env RAPIDAPI_HOST=your-value --env TWITTRAPI_BASE_URL=your-value --env TWITTRAPI_RESPONSE_FORMAT=your-value --env TWITTRAPI_X_COOKIE=your-value --env TWITTRAPI_X_PROXY=your-value --env TWITTRAPI_X_CHAT_PASSCODE=your-value -- npx -y twittrapi-mcp

Completa los valores vacíos antes de ejecutarlo.

Abrir en Cursor

O copia la configuración tú

Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json

{
  "mcpServers": {
    "twittrapi": {
      "url": "https://mcp.twittrapi.com/mcp"
    }
  }
}

O ejecútalo en tu computadora

Abrir en Cursor

O copia la configuración tú

Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json

{
  "mcpServers": {
    "twittrapi": {
      "command": "npx",
      "args": [
        "-y",
        "twittrapi-mcp"
      ],
      "env": {
        "TWITTRAPI_API_KEY": "your-value",
        "RAPIDAPI_KEY": "your-value",
        "RAPIDAPI_HOST": "your-value",
        "TWITTRAPI_BASE_URL": "your-value",
        "TWITTRAPI_RESPONSE_FORMAT": "your-value",
        "TWITTRAPI_X_COOKIE": "your-value",
        "TWITTRAPI_X_PROXY": "your-value",
        "TWITTRAPI_X_CHAT_PASSCODE": "your-value"
      }
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Abrir en VS Code

O copia la configuración tú

Pégalo en .vscode/mcp.json de tu proyecto

{
  "servers": {
    "twittrapi": {
      "type": "http",
      "url": "https://mcp.twittrapi.com/mcp"
    }
  }
}

O ejecútalo en tu computadora

Abrir en VS Code

O copia la configuración tú

Pégalo en .vscode/mcp.json de tu proyecto

{
  "servers": {
    "twittrapi": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "twittrapi-mcp"
      ],
      "env": {
        "TWITTRAPI_API_KEY": "your-value",
        "RAPIDAPI_KEY": "your-value",
        "RAPIDAPI_HOST": "your-value",
        "TWITTRAPI_BASE_URL": "your-value",
        "TWITTRAPI_RESPONSE_FORMAT": "your-value",
        "TWITTRAPI_X_COOKIE": "your-value",
        "TWITTRAPI_X_PROXY": "your-value",
        "TWITTRAPI_X_CHAT_PASSCODE": "your-value"
      }
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

ChatGPT solo se conecta a servidores en internet:

  1. Abre ChatGPT en la web → Settings → Connectors (Apps)
  2. Presiona Create o Add (en algunos planes primero hay que activar Developer mode en Advanced)
  3. Pega la dirección de abajo, ponle un nombre y guarda
  4. Si te pide iniciar sesión, inicia sesión en el servicio del creador
SettingsConnectors1+ Create2https://…3
https://mcp.twittrapi.com/mcp

Los nombres de los menús pueden variar un poco según el plan y con el tiempo.

Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.

Valores que debes completar

  • TWITTRAPI_API_KEY secreto env
    Your TwittrAPI key. Set this or RAPIDAPI_KEY.
  • RAPIDAPI_KEY secreto env
    RapidAPI key for the Twitter AIO API. Used when TWITTRAPI_API_KEY is not set.
  • RAPIDAPI_HOST env
    Host of your TwittrAPI listing on RapidAPI. Change it if you subscribed to another listing.
  • TWITTRAPI_BASE_URL env
    Override the API base URL.
  • TWITTRAPI_RESPONSE_FORMAT env
    Format of tool results: simple (compact JSON, far fewer tokens) or raw (X's full GraphQL JSON). Tools also take a format argument.
  • TWITTRAPI_X_COOKIE secreto env
    Cookie of your own logged-in x.com session (auth_token, ct0, twid). With TWITTRAPI_X_PROXY set, adds the account tools (post, like, follow, DMs, lists, drafts).
  • TWITTRAPI_X_PROXY secreto env
    Your proxy for the account tools, http://user:pass@host:port.
  • TWITTRAPI_X_CHAT_PASSCODE secreto env
    Your X Chat passcode. Adds send_dm and message text in the DM inbox.

Esta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.

Qué puede hacer

Todavía no hemos leído la lista de herramientas de este servidor; revisamos los endpoints por turnos.

Revisiones básicasi

Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 7 nov 2026

  • ✓ Superada

    El creador coincide con el repo

    El nombre en el registro se verificó con la cuenta de GitHub twittrapi, dueña del repo

  • … Aún sin revisar

    Sigue en mantenimiento

    Todavía no hemos leído este repo en GitHub

  • … Aún sin revisar

    Tiene licencia

    Todavía no hemos leído este repo en GitHub

  • … Aún sin revisar

    El endpoint responde

    Aún sin revisar; revisamos los endpoints por turnos

  • … Aún sin revisar

    Inicio de sesión con OAuth

    Aún sin revisar; revisamos los endpoints por turnos

  • … Aún sin revisar

    Sin instrucciones ocultas en las descripciones de herramientas

    Aún sin revisar; leemos la lista de herramientas cuando revisamos el endpoint

Comparado con otros en Marketing y redes socialesi

  • Más estrellas que el 0% de los otros 2970 servidores de esta categoría
  • Publicado en el registro más recientemente que el 63% de los otros 2970 servidores de esta categoría
  • Revisiones básicas iguales o mejores que el 100% de los otros 2970 servidores de esta categoría

Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.

Preguntas frecuentes

¿Es seguro TwittrAPI?

Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.

¿Qué claves o códigos necesita?

Debes completar: TWITTRAPI_API_KEY, RAPIDAPI_KEY, TWITTRAPI_X_COOKIE, TWITTRAPI_X_PROXY, TWITTRAPI_X_CHAT_PASSCODE

¿Se ejecuta en mi computadora o en la nube?

Funciona de las dos formas: instálalo en tu computadora o conéctate a la versión en la nube.

¿Sigue en mantenimiento?

El repo de GitHub cambió por última vez –, y la última versión (1.2.0) llegó al registro hace 19 días.

¿Qué apps pueden usarlo?

Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. Se conecta por URL, así que también funcionan las apps que aceptan servidores MCP remotos, como ChatGPT en modo desarrollador.

¿Qué puedo usar en su lugar?

En la misma categoría: MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer

Alternativas

Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.

Cómo leer una tarjeta:★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi

An MCP server retrieving transcripts of YouTube videos

Se ejecuta en tu computadora★ 495MITActualizado hace 9 días
Instalar

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

Se ejecuta en tu computadora★ 244MITActualizado hace 9 días
Instalar

AI video summarizer: summarize and transcribe YouTube, Bilibili, TikTok and podcast videos.

Se ejecuta en la nube★ 137MITActualizado hace 10 días
Instalar

README del creador

Abrir el README

Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.

twittrapi-mcp – Twitter/X MCP server for Claude, Cursor and other AI agents

An MCP server for TwittrAPI, a REST API for public Twitter/X data: tweets, profiles, followers, search, lists and communities. It lets Claude, Cursor and other MCP clients read that data, from $0.065 per 1,000 calls and with no X developer account.

Get an API key: twittrapi.com/start · Pricing · Docs · Status · also available on RapidAPI

SDKs and integrations: Python · Node.js · Go · n8n · Make · Apify · LangChain · LlamaIndex · Agent skill · Examples

Not affiliated with X Corp.

Hosted server (no install)

Apps that support remote MCP servers can connect by URL instead (available with the hosted release; see twittrapi.com/docs/hosted-mcp):

https://mcp.twittrapi.com/mcp
ClientSetup
Claude.ai / Claude DesktopSettings > Connectors > Add custom connector, paste the URL, Connect, log in to TwittrAPI and allow access (OAuth)
ChatGPTSettings > Apps & Connectors > Advanced settings > Developer mode, then Create with the URL and OAuth
Claude Codeclaude mcp add --transport http twittrapi https://mcp.twittrapi.com/mcp (OAuth), or add --header "Authorization: Bearer $TWITTRAPI_API_KEY"
Cursor{"mcpServers": {"twittrapi": {"url": "https://mcp.twittrapi.com/mcp", "headers": {"X-API-KEY": "${env:TWITTRAPI_API_KEY}"}}}} in mcp.json
VS Code{"servers": {"twittrapi": {"type": "http", "url": "https://mcp.twittrapi.com/mcp"}}} in .vscode/mcp.json (OAuth)

With OAuth the app never sees your API key; calls are billed to your balance like any other call. Connected apps are listed (and can be disconnected) in the dashboard under Connected apps.

What you need

  • Node.js 20 or newer
  • A TwittrAPI key, or a RapidAPI key subscribed to the Twitter AIO API

Every tool call is one billed API call on your account.

Install

Claude Code
claude mcp add twittrapi --env TWITTRAPI_API_KEY=your-key -- npx -y twittrapi-mcp
Claude Desktop

Open Settings > Developer > Edit Config and add this to claude_desktop_config.json:

{

"mcpServers": { "twittrapi": { "command": "npx", "args": ["-y", "twittrapi-mcp"], "env": { "TWITTRAPI_API_KEY": "your-key" } } } }

Restart Claude Desktop afterwards.

Cursor

Add this to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):

{

"mcpServers": { "twittrapi": { "command": "npx", "args": ["-y", "twittrapi-mcp"], "env": { "TWITTRAPI_API_KEY": "your-key" } } } }

Other clients

Any client that can start a stdio server works. The command is npx -y twittrapi-mcp.

Environment variables

VariableRequiredDescription
TWITTRAPI_API_KEYone of the two keysYour TwittrAPI key. Sent as the X-API-KEY header.
RAPIDAPI_KEYone of the two keysRapidAPI key. Used only when TWITTRAPI_API_KEY is not set.
RAPIDAPI_HOSTnoHost of your RapidAPI listing. Default twitter-aio.p.rapidapi.com.
TWITTRAPI_BASE_URLnoAPI base URL for the direct API. Default https://api.twittrapi.com.
TWITTRAPI_RESPONSE_FORMATnosimple (default) or raw. See Response format.
TWITTRAPI_X_COOKIEnoCookie of your own logged-in x.com session. Turns on the account tools together with TWITTRAPI_X_PROXY.
TWITTRAPI_X_PROXYnoYour proxy for the account tools, http://user:pass@host:port.
TWITTRAPI_X_CHAT_PASSCODEnoYour X Chat passcode. Adds send_dm, accept_dm_request, decline_dm_request and message text in list_dm_conversations.

If neither key is set, the server still starts and lists its tools, but every call returns an error explaining how to set a key.

Using RapidAPI instead

If you bought access through RapidAPI, set RAPIDAPI_KEY instead of TWITTRAPI_API_KEY:

"env": { "RAPIDAPI_KEY": "your-rapidapi-key" }

Requests then go to https://twitter-aio.p.rapidapi.com with the x-rapidapi-key and x-rapidapi-host headers. The tools and their output are the same.

Subscribed to another TwittrAPI listing on RapidAPI? Set its host: "RAPIDAPI_HOST": "twttr.p.rapidapi.com".

Tools

These tools read public data and are always available. The account tools are added when you configure your X session.

ToolWhat it does
get_user_by_usernameProfile by handle, including the numeric user ID
get_user_by_idProfile by numeric user ID
username_to_idResolve a handle to its user ID
users_by_idsProfiles for up to 500 user IDs at once
get_user_tweetsA user's tweets
get_user_tweets_and_repliesA user's tweets and replies
get_user_mediaA user's tweets with photos or videos
get_followersA user's followers
get_followingAccounts a user follows
get_verified_followersA user's verified followers
get_user_affiliatesAccounts affiliated with an organization
get_friendships_batchWhether one account follows up to 50 others, and back
get_user_about_batch"About this account" for up to 20 handles
search_tweetsSearch with X operators; Top, Latest, People, Photos or Videos
get_tweetA tweet and its reply thread
tweets_by_idsUp to 100 tweets by ID at once
get_tweet_retweetsUsers who retweeted a tweet
get_tweet_quotesTweets quoting a tweet
get_tweet_repliesOnly the replies to a tweet
get_tweet_threadThe author's own thread around a tweet
get_list_detailsList name, owner and counts
get_list_tweetsTweets from a list's members
get_list_membersMembers of a list
get_communityCommunity details
get_community_aboutA community's About page: rules, moderators, members
get_community_tweetsTweets in a community
search_communitiesFind communities by keyword
get_trendsTrending topics for a location (WOEID)
get_trend_locationsLocations that have trends, with their WOEIDs
get_spaceAn X Space: title, state, host and participants

The user timeline tools (get_user_tweets, get_followers and so on) accept either userId or username. The batch tools are billed one call per handle; tweets_by_ids is one call however many IDs.

Account tools

With TWITTRAPI_X_COOKIE and TWITTRAPI_X_PROXY set, the server also lists tools that act on your own X account:

ToolWhat it does
create_tweetPost a tweet; optional quote (quoteUrl), poll (pollChoices) and reply limit
reply_to_tweetReply to a tweet
delete_tweetDelete one of your tweets
like_tweet, unlike_tweetLike or unlike a tweet
retweet, unretweetRetweet or undo a retweet
bookmark_tweet, unbookmark_tweetAdd or remove a bookmark
follow_user, unfollow_userFollow or unfollow (by userId or username)
list_dm_conversationsYour DM inbox
send_dmSend a direct message (needs TWITTRAPI_X_CHAT_PASSCODE)
list_dm_requestsPending message requests; does not accept them or mark them as seen
accept_dm_requestAccept a one-to-one request and send the first reply (needs TWITTRAPI_X_CHAT_PASSCODE)
decline_dm_requestDelete a request from your inbox; the sender is not told (needs TWITTRAPI_X_CHAT_PASSCODE)
create_listCreate a list
add_list_member, remove_list_memberAdd or remove a list member
create_draft, list_draftsSave a draft, list your drafts
list_bookmark_folders, list_bookmark_folder_tweetsYour bookmark folders and the tweets in one (X Premium)
search_bookmarksSearch your bookmarks
list_community_membershipsCommunities you are a member of
list_articles, get_articleYour X Articles, drafts or published, and one article (X Premium)
create_article, update_articleSave a new article as a draft, change one (X Premium)
publish_article, unpublish_article, delete_articlePublish, unpublish or delete an article (X Premium)

How to get the cookie and set up a proxy: twittrapi.com/docs/x-session. The cookie needs auth_token and ct0; direct messages also need twid.

"env": {

"TWITTRAPI_API_KEY": "your-key", "TWITTRAPI_X_COOKIE": "auth_token=...; ct0=...; twid=u%3D...", "TWITTRAPI_X_PROXY": "http://user:pass@host:port" }

  • The cookie and proxy stay in the server's configuration. They are not tool arguments, so the model never sees them, and they are never logged or returned in a result.
  • Write tools are marked readOnlyHint: false (deletions and undo actions also destructiveHint: true), so clients ask before running them.
  • Each call is one billed API call, like the read tools.
  • Account tools are only available over stdio. HTTP mode and the hosted server do not offer them.
Response format

Tool results use the API's simple format by default: flat camelCase JSON with a fixed schema ({"data": [...], "nextCursor": ..., "hasNextPage": ...} for lists, {"data": {...}} for single objects). Tweets carry id, url, text, createdAt, author, counts, media, quoted, retweetOf and a few more fields; users carry username, name, description, counts and so on. That is about 60 % fewer tokens than X's raw GraphQL JSON.

To get the raw JSON instead (for cards, polls, edit history, community notes and other fields the simple format leaves out):

  • per call: the tools take an optional format argument, "simple" or "raw";
  • for the whole server: set TWITTRAPI_RESPONSE_FORMAT=raw (the format argument still wins).

A few endpoints have no simple format: get_space, get_community_about, the batch tools and the newer account tools (bookmark folders and search, communities, articles). These tools have no format argument and always return raw JSON.

Output size and pagination

Raw responses can be several hundred KB. Every tool takes an optional max_chars argument (default 50,000, range 1,000 to 1,000,000). Longer output is cut and ends with a [TRUNCATED ...] marker.

Paginated tools print the cursor above the JSON, so truncation never removes it:

next_cursor: DAABCgABGZ...

Pass next_cursor as cursor to get the next page.

{"data":{...}}

On the last page the header read

Solo se muestra el principio; lee el resto en el repo

Pregunta a PopNx