L'Atlas / MCP servers / X (Twitter) MCP by usefulapi
MCP server

X (Twitter) MCP by usefulapi

io.usefulapi/twitter-x

MCP server OK 13 tools

Get a review See pricing

Look up users, search and read posts, and publish or delete your own posts in X.

Technical sheet

Author
usefulapi.io (registry namespace)
Repository
github.com/m190/usefulapi-mcp
Site
usefulapi.io/twitter-x
Version
1.1.0
Transport
Streamable HTTP
Authentication
None (observed by our test)
Server address
https://twitter-x.usefulapi.io/mcp Streamable HTTP
Tools
13
Categories
—
Last updated
26 Nov 2026
Published
26 Nov 2026

Verified author and popularity

Entry not claimed yet. Is it your project? Claim it

Not “Popular” for now Removed automatically as soon as the criteria are no longer met.

  • Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
  • or install configs copied over 30 days: 0 (5 needed) not yet
  • and a successful test less than 14 days old: tested 28 Nov 2026 met

Badge updates by itself. Always “tested on …”, never “certified”. How it works

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/io.usefulapi/twitter-x.svg?lang=en)](https://latlas.dev/en/mcp/io.usefulapi/twitter-x)
HTML
<a href="https://latlas.dev/en/mcp/io.usefulapi/twitter-x"><img src="https://latlas.dev/badge/statut/mcp/io.usefulapi/twitter-x.svg?lang=en" alt="Status on L’Atlas" height="20"></a>

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.usefulapi/twitter-x.svg?lang=en)](https://latlas.dev/en/mcp/io.usefulapi/twitter-x)
HTML
<a href="https://latlas.dev/en/mcp/io.usefulapi/twitter-x"><img src="https://latlas.dev/badge/fiche/io.usefulapi/twitter-x.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://twitter-x.usefulapi.io/mcp
Last result
OK 28 Nov 2026, 08:45
Response time
1,603 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
twitter-x-mcp 1.1.0
Tools
13

History

DateResultResponseTools
28 Nov 2026, 08:45OK1,603 ms13

Exposed tools (13, from tools/list, 28 Nov 2026)

twitterx_get_user_by_username

Get a user by username

Look up an X user by username and return the user object (id, name, description, public metrics). Use this first to get the numeric user id the other tools need. X API: GET /2/users/by/username/{username}.

ParameterTypeRequiredDescription
usernamestringyesX username, with or without the leading @.
user_fieldsstringnoComma list of user fields, e.g. description,public_metrics,verified.

twitterx_get_user

Get a user by id

Get one X user by numeric id, with the requested user fields. X API: GET /2/users/{id}.

ParameterTypeRequiredDescription
user_idstringyesNumeric X id.
user_fieldsstringnoComma list of user fields, e.g. description,public_metrics,verified.

twitterx_get_me

Get the authenticated user

Return the X account that owns the token. Needs a user-context OAuth 2.0 access token; an app-only Bearer Token gets an error. X API: GET /2/users/me.

ParameterTypeRequiredDescription
user_fieldsstringnoComma list of user fields, e.g. description,public_metrics,verified.

twitterx_get_followers

List followers

List the followers of a user, one page at a time (up to 1000 per page). Follow meta.next_token for more. X API: GET /2/users/{id}/followers.

ParameterTypeRequiredDescription
user_idstringyesNumeric X id.
max_resultsintegernoUsers per page, 1-1000.
pagination_tokenstringnoPagination token from meta.next_token of the previous page.
user_fieldsstringnoComma list of user fields, e.g. description,public_metrics,verified.

twitterx_get_following

List accounts a user follows

List the accounts one user follows, one page at a time (up to 1000 per page). X API: GET /2/users/{id}/following.

ParameterTypeRequiredDescription
user_idstringyesNumeric X id.
max_resultsintegernoUsers per page, 1-1000.
pagination_tokenstringnoPagination token from meta.next_token of the previous page.
user_fieldsstringnoComma list of user fields, e.g. description,public_metrics,verified.

twitterx_get_post

Get a post by id

Get one X post by numeric id, with the requested post fields and expansions. X API: GET /2/tweets/{id}.

ParameterTypeRequiredDescription
post_idstringyesNumeric X id.
post_fieldsstringnoComma list of post fields, e.g. created_at,public_metrics,author_id.
expansionsstringnoComma list of expansions, e.g. author_id,attachments.media_keys.
user_fieldsstringnoComma list of user fields, e.g. description,public_metrics,verified.

twitterx_get_posts

Get several posts by id

Get up to 100 X posts in one call from a comma list of numeric ids. X API: GET /2/tweets?ids=.

ParameterTypeRequiredDescription
post_idsstringyesComma-separated numeric post ids, up to 100.
post_fieldsstringnoComma list of post fields, e.g. created_at,public_metrics,author_id.
expansionsstringnoComma list of expansions, e.g. author_id,attachments.media_keys.
user_fieldsstringnoComma list of user fields, e.g. description,public_metrics,verified.

twitterx_search_recent_posts

Search recent posts

Search X posts from the last 7 days with the X query language (operators such as from:, to:, lang:, -is:retweet). Returns up to 100 posts per page. X API: GET /2/tweets/search/recent.

ParameterTypeRequiredDescription
querystringyesX search query, for example "mcp server lang:en -is:retweet".
max_resultsintegernoPosts per page, 10-100.
next_tokenstringnoPagination token from meta.next_token.
start_timestringnoISO 8601 start time, e.g. 2026-11-01T00:00:00Z.
end_timestringnoISO 8601 end time, e.g. 2026-11-20T00:00:00Z.
sort_orderenum: "recency" | "relevancy"noResult order.
post_fieldsstringnoComma list of post fields, e.g. created_at,public_metrics,author_id.
expansionsstringnoComma list of expansions, e.g. author_id,attachments.media_keys.
user_fieldsstringnoComma list of user fields, e.g. description,public_metrics,verified.

twitterx_get_user_posts

List a user's posts

List the posts of one user, newest first, one page at a time. Replies and retweets can be excluded. X API: GET /2/users/{id}/tweets.

ParameterTypeRequiredDescription
user_idstringyesNumeric X id.
max_resultsintegernoPosts per page, 5-100.
pagination_tokenstringnoPagination token from meta.next_token of the previous page.
start_timestringnoISO 8601 start time, e.g. 2026-11-01T00:00:00Z.
end_timestringnoISO 8601 end time, e.g. 2026-11-20T00:00:00Z.
excludestringnoComma list to exclude: retweets, replies.
post_fieldsstringnoComma list of post fields, e.g. created_at,public_metrics,author_id.
expansionsstringnoComma list of expansions, e.g. author_id,attachments.media_keys.
user_fieldsstringnoComma list of user fields, e.g. description,public_metrics,verified.

twitterx_get_user_mentions

List posts that mention a user

List posts that mention one user, one page at a time. X API: GET /2/users/{id}/mentions.

ParameterTypeRequiredDescription
user_idstringyesNumeric X id.
max_resultsintegernoPosts per page, 5-100.
pagination_tokenstringnoPagination token from meta.next_token of the previous page.
start_timestringnoISO 8601 start time, e.g. 2026-11-01T00:00:00Z.
end_timestringnoISO 8601 end time, e.g. 2026-11-20T00:00:00Z.
post_fieldsstringnoComma list of post fields, e.g. created_at,public_metrics,author_id.
expansionsstringnoComma list of expansions, e.g. author_id,attachments.media_keys.
user_fieldsstringnoComma list of user fields, e.g. description,public_metrics,verified.

twitterx_get_liked_posts

List posts a user liked

List the posts one user liked, one page at a time. X API: GET /2/users/{id}/liked_tweets.

ParameterTypeRequiredDescription
user_idstringyesNumeric X id.
max_resultsintegernoPosts per page, 1-100.
pagination_tokenstringnoPagination token from meta.next_token of the previous page.
post_fieldsstringnoComma list of post fields, e.g. created_at,public_metrics,author_id.
expansionsstringnoComma list of expansions, e.g. author_id,attachments.media_keys.
user_fieldsstringnoComma list of user fields, e.g. description,public_metrics,verified.

twitterx_create_post

Create a post

Publish one post from the authenticated account, only when the user asks for it. Needs a user-context access token and uses pay-per-usage credits. Set reply_to_post_id to reply to a post. X API: POST /2/tweets.

ParameterTypeRequiredDescription
textstringyesPost text, up to 280 characters.
reply_to_post_idstringnoPost id to reply to, if any.

twitterx_delete_post

Delete a post

Delete one post from the authenticated account, only when the user asks for it. This cannot be undone. Needs a user-context access token. X API: DELETE /2/tweets/{id}.

ParameterTypeRequiredDescription
post_idstringyesNumeric X id.

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://twitter-x.usefulapi.io/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http twitter-x https://twitter-x.usefulapi.io/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : twitter-x ; URL : https://twitter-x.usefulapi.io/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : twitter-x ; Server URL : https://twitter-x.usefulapi.io/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "twitter-x": {
      "url": "https://twitter-x.usefulapi.io/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "twitter-x": {
      "type": "http",
      "url": "https://twitter-x.usefulapi.io/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "twitter-x": {
      "url": "https://twitter-x.usefulapi.io/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "twitter-x": {
      "httpUrl": "https://twitter-x.usefulapi.io/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.twitter-x]
url = "https://twitter-x.usefulapi.io/mcp"

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

X (Twitter) MCP by usefulapi · L’Atlas · Tested on

Markdown
[X (Twitter) MCP by usefulapi — L’Atlas](https://latlas.dev/en/mcp/io.usefulapi/twitter-x)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.