X (Twitter) MCP by usefulapi
io.usefulapi/twitter-x
MCP server OK 13 tools
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
[](https://latlas.dev/en/mcp/io.usefulapi/twitter-x)<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
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.usefulapi/twitter-x)<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
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 08:45 | OK | 1,603 ms | 13 |
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}.
| Parameter | Type | Required | Description |
|---|---|---|---|
| username | string | yes | X username, with or without the leading @. |
| user_fields | string | no | Comma 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}.
| Parameter | Type | Required | Description |
|---|---|---|---|
| user_id | string | yes | Numeric X id. |
| user_fields | string | no | Comma 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| user_fields | string | no | Comma 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| user_id | string | yes | Numeric X id. |
| max_results | integer | no | Users per page, 1-1000. |
| pagination_token | string | no | Pagination token from meta.next_token of the previous page. |
| user_fields | string | no | Comma 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| user_id | string | yes | Numeric X id. |
| max_results | integer | no | Users per page, 1-1000. |
| pagination_token | string | no | Pagination token from meta.next_token of the previous page. |
| user_fields | string | no | Comma 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}.
| Parameter | Type | Required | Description |
|---|---|---|---|
| post_id | string | yes | Numeric X id. |
| post_fields | string | no | Comma list of post fields, e.g. created_at,public_metrics,author_id. |
| expansions | string | no | Comma list of expansions, e.g. author_id,attachments.media_keys. |
| user_fields | string | no | Comma 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=.
| Parameter | Type | Required | Description |
|---|---|---|---|
| post_ids | string | yes | Comma-separated numeric post ids, up to 100. |
| post_fields | string | no | Comma list of post fields, e.g. created_at,public_metrics,author_id. |
| expansions | string | no | Comma list of expansions, e.g. author_id,attachments.media_keys. |
| user_fields | string | no | Comma 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | yes | X search query, for example "mcp server lang:en -is:retweet". |
| max_results | integer | no | Posts per page, 10-100. |
| next_token | string | no | Pagination token from meta.next_token. |
| start_time | string | no | ISO 8601 start time, e.g. 2026-11-01T00:00:00Z. |
| end_time | string | no | ISO 8601 end time, e.g. 2026-11-20T00:00:00Z. |
| sort_order | enum: "recency" | "relevancy" | no | Result order. |
| post_fields | string | no | Comma list of post fields, e.g. created_at,public_metrics,author_id. |
| expansions | string | no | Comma list of expansions, e.g. author_id,attachments.media_keys. |
| user_fields | string | no | Comma 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| user_id | string | yes | Numeric X id. |
| max_results | integer | no | Posts per page, 5-100. |
| pagination_token | string | no | Pagination token from meta.next_token of the previous page. |
| start_time | string | no | ISO 8601 start time, e.g. 2026-11-01T00:00:00Z. |
| end_time | string | no | ISO 8601 end time, e.g. 2026-11-20T00:00:00Z. |
| exclude | string | no | Comma list to exclude: retweets, replies. |
| post_fields | string | no | Comma list of post fields, e.g. created_at,public_metrics,author_id. |
| expansions | string | no | Comma list of expansions, e.g. author_id,attachments.media_keys. |
| user_fields | string | no | Comma 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| user_id | string | yes | Numeric X id. |
| max_results | integer | no | Posts per page, 5-100. |
| pagination_token | string | no | Pagination token from meta.next_token of the previous page. |
| start_time | string | no | ISO 8601 start time, e.g. 2026-11-01T00:00:00Z. |
| end_time | string | no | ISO 8601 end time, e.g. 2026-11-20T00:00:00Z. |
| post_fields | string | no | Comma list of post fields, e.g. created_at,public_metrics,author_id. |
| expansions | string | no | Comma list of expansions, e.g. author_id,attachments.media_keys. |
| user_fields | string | no | Comma 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| user_id | string | yes | Numeric X id. |
| max_results | integer | no | Posts per page, 1-100. |
| pagination_token | string | no | Pagination token from meta.next_token of the previous page. |
| post_fields | string | no | Comma list of post fields, e.g. created_at,public_metrics,author_id. |
| expansions | string | no | Comma list of expansions, e.g. author_id,attachments.media_keys. |
| user_fields | string | no | Comma 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| text | string | yes | Post text, up to 280 characters. |
| reply_to_post_id | string | no | Post 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}.
| Parameter | Type | Required | Description |
|---|---|---|---|
| post_id | string | yes | Numeric X id. |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://twitter-x.usefulapi.io/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http twitter-x https://twitter-x.usefulapi.io/mcpCustomize > Connectors > + Add > Add custom connector ; Name : twitter-x ; URL : https://twitter-x.usefulapi.io/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : twitter-x ; Server URL : https://twitter-x.usefulapi.io/mcp ; Create as a plugin{
"mcpServers": {
"twitter-x": {
"url": "https://twitter-x.usefulapi.io/mcp"
}
}
}{
"mcpServers": {
"twitter-x": {
"type": "http",
"url": "https://twitter-x.usefulapi.io/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"twitter-x": {
"url": "https://twitter-x.usefulapi.io/mcp"
}
}
}{
"mcpServers": {
"twitter-x": {
"httpUrl": "https://twitter-x.usefulapi.io/mcp"
}
}
}[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
[X (Twitter) MCP by usefulapi — L’Atlas](https://latlas.dev/en/mcp/io.usefulapi/twitter-x)Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.