Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

TwittrAPI

NPM · TWITTRAPI-MCP · 2 COMPONENTS

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

+3 this week 83 Trust /100

Last scanned (4 hours ago)

Scores higher than 76% of npm servers

Category News and Social

Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →

Supply Chain Security81
  • No malware found by supply-chain analysis.Pass
  • CVE check failed: a known high-severity CVE affects zod 4.6.5, a direct dependency. A fixed version is available. View diagnostics → Fail
  • No install/post-install scripts declared.Pass
  • 30 of 93 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency97
  • Source repository is publicly reachable at the declared URL. View diagnostics → Pass
  • Cryptographically verified build provenance (signed, bound to twittrapi/twittrapi-mcp). View diagnostics → Pass
  • Clear OSI-approved license (MIT).Pass
  • Actively maintained (last published 17 days ago).Pass
  • Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability67
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 5674 tokens (~195/item across 29 items; 29 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management69
  • Stability check failed: the tool surface changed between 0.3.1 and 1.2.0: 1 tool removals, 0 breaking changes, 7 additions. See how to fix → Fail
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
Tool Safety100
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • We read all 29 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
  • An AI judge read all 30 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 4 Nov 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 62 to 66.

  • 1 Nov 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 52 to 56.

  • 31 Oct 26 0
    • Security disclosure: unverified → fail ▼ functional
  • 30 Oct 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 46 to 49.

  • 29 Oct 26 0
    • Security disclosure: fail → unverified ▼ functional
  • 28 Oct 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 39 to 42.

  • 26 Oct 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 32 to 36.

  • 24 Oct 26 −5
    • CVE-2023-54404 affects this package: high ▼ security
    • Known CVEs: pass → fail ▼ security
Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 5 Nov 2026 · Analysed npm/twittrapi-mcp@1.2.0

Provenance Verified

A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.

Result Verified
Ecosystem npm
Reason Verified
Discovered via Registry attestation endpoint
Source repo twittrapi/twittrapi-mcp
Certificate issuer https://token.actions.githubusercontent.com
Certificate SAN https://github.com/twittrapi/twittrapi-mcp/.github/workflows/publish.yml@refs/tags/v1.2.0
Rekor log index 3319478530
Predicate type SLSA build provenance https://slsa.dev/provenance/v1
Subject digest sha512:6c7af755729dc3086749374cdaf31525fd28b9a28d142d77a5174a66e8bf1ba541ce1662600461c8e136bbbac2326b591555a8652b8baea21215f03e5

Background: How many MCP packages publish verified provenance →

Vulnerabilities 1 finding
ID CVE Severity Vector Fix available
GHSA-mrhx-c7xc-m3w5 CVE-2023-54404 high CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H yes

Background: What a vulnerability scan can and cannot prove →

Dependencies 93 packages
Packages resolved 93
Stale 30
Tree resolution Complete

Background: SBOMs and build attestations, explained →

MCP tools · 29 exposed · ~5,503 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tool Tokens
get_community ~141

Get an X Community's name, description, rules, member count and admins.

NameTypeReqDescription
communityIdstringyesNumeric community ID.
formatstring–Response format (default simple). simple: compact JSON with flat camelCase tweets and users, about 60% fewer tokens. raw: X's full GraphQL JSON, only needed for fields simple leaves out (cards, polls…
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.

No output schema declared.

No examples provided.

get_community_about ~95

Get the About page of an X Community: description, rules, creation date, moderators and a preview of members. Returns raw JSON.

NameTypeReqDescription
communityIdstringyesNumeric community ID.
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.

No output schema declared.

No examples provided.

get_community_tweets ~194

Get tweets posted in an X Community. Paginated.

NameTypeReqDescription
communityIdstringyesNumeric community ID.
countinteger–How many tweets to request per page (default 20). X may return slightly more or fewer.
cursorstring–Pagination cursor. Leave empty for the first page; pass the next_cursor from a previous result to get the next page.
formatstring–Response format (default simple). simple: compact JSON with flat camelCase tweets and users, about 60% fewer tokens. raw: X's full GraphQL JSON, only needed for fields simple leaves out (cards, polls…
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.

No output schema declared.

No examples provided.

get_followers ~235

Get accounts that follow a user, newest followers first. Paginated.

NameTypeReqDescription
countinteger–How many users to request per page (default 20). X may return slightly more or fewer.
cursorstring–Pagination cursor. Leave empty for the first page; pass the next_cursor from a previous result to get the next page.
formatstring–Response format (default simple). simple: compact JSON with flat camelCase tweets and users, about 60% fewer tokens. raw: X's full GraphQL JSON, only needed for fields simple leaves out (cards, polls…
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.
userIdstring–Numeric X user ID (rest_id). Provide this or username. Using the ID is faster.
usernamestring–X handle, used when you do not have the user ID. Provide this or userId.

No output schema declared.

No examples provided.

get_following ~230

Get accounts a user follows. Paginated.

NameTypeReqDescription
countinteger–How many users to request per page (default 20). X may return slightly more or fewer.
cursorstring–Pagination cursor. Leave empty for the first page; pass the next_cursor from a previous result to get the next page.
formatstring–Response format (default simple). simple: compact JSON with flat camelCase tweets and users, about 60% fewer tokens. raw: X's full GraphQL JSON, only needed for fields simple leaves out (cards, polls…
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.
userIdstring–Numeric X user ID (rest_id). Provide this or username. Using the ID is faster.
usernamestring–X handle, used when you do not have the user ID. Provide this or userId.

No output schema declared.

No examples provided.

get_friendships_batch ~164

Check whether one account follows up to 50 others, and whether they follow it back, in one call. Returns raw JSON: one relationship per target, in order, plus errors for handles that could not be looked up.

NameTypeReqDescription
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.
sourceUsernamestringyesThe account to compare with the others, e.g. "jack" (a leading @ is fine).
targetUsernamesarrayyesAccounts to check, 1 to 50 X handles (a leading @ is fine). Billed as one call per handle.

No output schema declared.

No examples provided.

get_list_details ~147

Get an X list's name, description, owner, and member/follower counts.

NameTypeReqDescription
formatstring–Response format (default simple). simple: compact JSON with flat camelCase tweets and users, about 60% fewer tokens. raw: X's full GraphQL JSON, only needed for fields simple leaves out (cards, polls…
listIdstringyesNumeric list ID, from the list URL.
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.

No output schema declared.

No examples provided.

get_list_members ~195

Get the accounts that are members of an X list. Paginated.

NameTypeReqDescription
countinteger–How many users to request per page (default 20). X may return slightly more or fewer.
cursorstring–Pagination cursor. Leave empty for the first page; pass the next_cursor from a previous result to get the next page.
formatstring–Response format (default simple). simple: compact JSON with flat camelCase tweets and users, about 60% fewer tokens. raw: X's full GraphQL JSON, only needed for fields simple leaves out (cards, polls…
listIdstringyesNumeric list ID.
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.

No output schema declared.

No examples provided.

get_list_tweets ~202

Get the tweet timeline of an X list (tweets from its members), newest first. Paginated.

NameTypeReqDescription
countinteger–How many tweets to request per page (default 20). X may return slightly more or fewer.
cursorstring–Pagination cursor. Leave empty for the first page; pass the next_cursor from a previous result to get the next page.
formatstring–Response format (default simple). simple: compact JSON with flat camelCase tweets and users, about 60% fewer tokens. raw: X's full GraphQL JSON, only needed for fields simple leaves out (cards, polls…
listIdstringyesNumeric list ID.
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.

No output schema declared.

No examples provided.

get_space ~113

Get an X Space by ID: title, state, host and participants, and whether a replay is available. Returns raw JSON.

NameTypeReqDescription
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.
spaceIdstringyesSpace ID, the letters and digits at the end of the Space URL (x.com/i/spaces/<spaceId>).

No output schema declared.

No examples provided.

get_trend_locations ~137

List the locations (countries and cities) that have trends, with their WOEIDs for get_trends.

NameTypeReqDescription
formatstring–Response format (default simple). simple: compact JSON with flat camelCase tweets and users, about 60% fewer tokens. raw: X's full GraphQL JSON, only needed for fields simple leaves out (cards, polls…
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.

No output schema declared.

No examples provided.

get_trends ~182

Get trending topics for a location by WOEID (1 = worldwide, 23424977 = United States, 23424975 = United Kingdom). Use get_trend_locations to look up other WOEIDs.

NameTypeReqDescription
formatstring–Response format (default simple). simple: compact JSON with flat camelCase tweets and users, about 60% fewer tokens. raw: X's full GraphQL JSON, only needed for fields simple leaves out (cards, polls…
locationIdstringyesYahoo WOEID of the location, e.g. "1" for worldwide.
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.

No output schema declared.

No examples provided.

get_tweet ~208

Get a tweet by ID with full text, author, media, engagement counts and the reply thread (conversation). Use cursor to load more replies.

NameTypeReqDescription
cursorstring–Pagination cursor. Leave empty for the first page; pass the next_cursor from a previous result to get the next page.
formatstring–Response format (default simple). simple: compact JSON with flat camelCase tweets and users, about 60% fewer tokens. raw: X's full GraphQL JSON, only needed for fields simple leaves out (cards, polls…
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.
rankingModestring–Sort order. Default Relevance.
tweetIdstringyesNumeric tweet ID, the number at the end of a tweet URL.

No output schema declared.

No examples provided.

get_tweet_quotes ~193

Get tweets that quote a given tweet. Paginated.

NameTypeReqDescription
countinteger–How many tweets to request per page (default 20). X may return slightly more or fewer.
cursorstring–Pagination cursor. Leave empty for the first page; pass the next_cursor from a previous result to get the next page.
formatstring–Response format (default simple). simple: compact JSON with flat camelCase tweets and users, about 60% fewer tokens. raw: X's full GraphQL JSON, only needed for fields simple leaves out (cards, polls…
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.
tweetIdstringyesNumeric tweet ID.

No output schema declared.

No examples provided.

get_tweet_replies ~208

Get only the replies to a tweet, without the tweet itself or the tweets above it. Paginated.

NameTypeReqDescription
cursorstring–Pagination cursor. Leave empty for the first page; pass the next_cursor from a previous result to get the next page.
formatstring–Response format (default simple). simple: compact JSON with flat camelCase tweets and users, about 60% fewer tokens. raw: X's full GraphQL JSON, only needed for fields simple leaves out (cards, polls…
includePromotedContentboolean–Include promoted replies (default false).
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.
rankingModestring–Sort order. Default Relevance.
tweetIdstringyesNumeric tweet ID.

No output schema declared.

No examples provided.

get_tweet_retweets ~195

Get the users who retweeted a tweet. Paginated.

NameTypeReqDescription
countinteger–How many users to request per page (default 20). X may return slightly more or fewer.
cursorstring–Pagination cursor. Leave empty for the first page; pass the next_cursor from a previous result to get the next page.
formatstring–Response format (default simple). simple: compact JSON with flat camelCase tweets and users, about 60% fewer tokens. raw: X's full GraphQL JSON, only needed for fields simple leaves out (cards, polls…
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.
tweetIdstringyesNumeric tweet ID.

No output schema declared.

No examples provided.

get_tweet_thread ~159

Get the author's own thread around a tweet in reading order: their tweets above it and their replies to themselves below it, up to the first reply by someone else.

NameTypeReqDescription
formatstring–Response format (default simple). simple: compact JSON with flat camelCase tweets and users, about 60% fewer tokens. raw: X's full GraphQL JSON, only needed for fields simple leaves out (cards, polls…
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.
tweetIdstringyesNumeric tweet ID.

No output schema declared.

No examples provided.

get_user_about_batch ~144

Get the "About this account" data (country the account is based in, username changes, verification) of up to 20 accounts in one call. Returns raw JSON: one entry per handle, in order, plus errors for handles that could not be looked up.

NameTypeReqDescription
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.
usernamesarrayyesAccounts to look up, 1 to 20 X handles (a leading @ is fine). Billed as one call per handle.

No output schema declared.

No examples provided.

get_user_affiliates ~250

Get the accounts affiliated with an organization, as in the Affiliates tab of its profile. Empty for accounts without affiliates. Paginated.

NameTypeReqDescription
countinteger–How many users to request per page (default 20). X may return slightly more or fewer.
cursorstring–Pagination cursor. Leave empty for the first page; pass the next_cursor from a previous result to get the next page.
formatstring–Response format (default simple). simple: compact JSON with flat camelCase tweets and users, about 60% fewer tokens. raw: X's full GraphQL JSON, only needed for fields simple leaves out (cards, polls…
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.
userIdstring–Numeric X user ID (rest_id). Provide this or username. Using the ID is faster.
usernamestring–X handle, used when you do not have the user ID. Provide this or userId.

No output schema declared.

No examples provided.

get_user_by_id ~151

Get an X user's profile by numeric user ID (rest_id). Same data as get_user_by_username.

NameTypeReqDescription
formatstring–Response format (default simple). simple: compact JSON with flat camelCase tweets and users, about 60% fewer tokens. raw: X's full GraphQL JSON, only needed for fields simple leaves out (cards, polls…
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.
userIdstringyesNumeric X user ID (rest_id).

No output schema declared.

No examples provided.

get_user_by_username ~182

Get an X (Twitter) user's profile by handle: name, bio, follower/following counts, verification, created date, and the numeric user ID (rest_id) needed by other tools.

NameTypeReqDescription
formatstring–Response format (default simple). simple: compact JSON with flat camelCase tweets and users, about 60% fewer tokens. raw: X's full GraphQL JSON, only needed for fields simple leaves out (cards, polls…
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.
usernamestringyesX handle without the URL, e.g. "elonmusk" (a leading @ is fine).

No output schema declared.

No examples provided.

get_user_media ~234

Get a user's tweets that contain photos or videos. Paginated.

NameTypeReqDescription
countinteger–How many tweets to request per page (default 20). X may return slightly more or fewer.
cursorstring–Pagination cursor. Leave empty for the first page; pass the next_cursor from a previous result to get the next page.
formatstring–Response format (default simple). simple: compact JSON with flat camelCase tweets and users, about 60% fewer tokens. raw: X's full GraphQL JSON, only needed for fields simple leaves out (cards, polls…
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.
userIdstring–Numeric X user ID (rest_id). Provide this or username. Using the ID is faster.
usernamestring–X handle, used when you do not have the user ID. Provide this or userId.

No output schema declared.

No examples provided.

get_user_tweets ~248

Get a user's recent tweets (their profile timeline, without replies), newest first, including retweets and pinned tweet. Paginated.

NameTypeReqDescription
countinteger–How many tweets to request per page (default 20). X may return slightly more or fewer.
cursorstring–Pagination cursor. Leave empty for the first page; pass the next_cursor from a previous result to get the next page.
formatstring–Response format (default simple). simple: compact JSON with flat camelCase tweets and users, about 60% fewer tokens. raw: X's full GraphQL JSON, only needed for fields simple leaves out (cards, polls…
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.
userIdstring–Numeric X user ID (rest_id). Provide this or username. Using the ID is faster.
usernamestring–X handle, used when you do not have the user ID. Provide this or userId.

No output schema declared.

No examples provided.

get_user_tweets_and_replies ~241

Get a user's tweets including their replies to others, newest first. Paginated.

NameTypeReqDescription
countinteger–How many tweets to request per page (default 20). X may return slightly more or fewer.
cursorstring–Pagination cursor. Leave empty for the first page; pass the next_cursor from a previous result to get the next page.
formatstring–Response format (default simple). simple: compact JSON with flat camelCase tweets and users, about 60% fewer tokens. raw: X's full GraphQL JSON, only needed for fields simple leaves out (cards, polls…
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.
userIdstring–Numeric X user ID (rest_id). Provide this or username. Using the ID is faster.
usernamestring–X handle, used when you do not have the user ID. Provide this or userId.

No output schema declared.

No examples provided.

get_verified_followers ~239

Get a user's followers that have a verified (blue check) badge. Paginated.

NameTypeReqDescription
countinteger–How many users to request per page (default 20). X may return slightly more or fewer.
cursorstring–Pagination cursor. Leave empty for the first page; pass the next_cursor from a previous result to get the next page.
formatstring–Response format (default simple). simple: compact JSON with flat camelCase tweets and users, about 60% fewer tokens. raw: X's full GraphQL JSON, only needed for fields simple leaves out (cards, polls…
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.
userIdstring–Numeric X user ID (rest_id). Provide this or username. Using the ID is faster.
usernamestring–X handle, used when you do not have the user ID. Provide this or userId.

No output schema declared.

No examples provided.

search_communities ~206

Search X Communities by keyword. Returns community IDs for get_community and get_community_tweets. Paginated.

NameTypeReqDescription
countinteger–How many communities to request per page (default 20). X may return slightly more or fewer.
cursorstring–Pagination cursor. Leave empty for the first page; pass the next_cursor from a previous result to get the next page.
formatstring–Response format (default simple). simple: compact JSON with flat camelCase tweets and users, about 60% fewer tokens. raw: X's full GraphQL JSON, only needed for fields simple leaves out (cards, polls…
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.
searchTermstringyesKeyword to search for.

No output schema declared.

No examples provided.

search_tweets ~294

Search X like the search box. Supports X search operators in the query, e.g. from:user, to:user, "exact phrase", lang:en, since:2025-01-01, until:2025-02-01, min_faves:100, filter:media, -filter:replies. category Latest gives newest first; People returns accounts instead of tweets. Paginated.

NameTypeReqDescription
categorystring–Result tab: Top (default), Latest, People, Photos or Videos.
countinteger–How many results to request per page (default 20). X may return slightly more or fewer.
cursorstring–Pagination cursor. Leave empty for the first page; pass the next_cursor from a previous result to get the next page.
formatstring–Response format (default simple). simple: compact JSON with flat camelCase tweets and users, about 60% fewer tokens. raw: X's full GraphQL JSON, only needed for fields simple leaves out (cards, polls…
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.
searchItemstringyesSearch query, max 512 characters. May contain X search operators.

No output schema declared.

No examples provided.

username_to_id ~167

Resolve an X handle to its numeric user ID. Cheaper and smaller than get_user_by_username when you only need the ID.

NameTypeReqDescription
formatstring–Response format (default simple). simple: compact JSON with flat camelCase tweets and users, about 60% fewer tokens. raw: X's full GraphQL JSON, only needed for fields simple leaves out (cards, polls…
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.
usernamestringyesX handle without the URL, e.g. "elonmusk" (a leading @ is fine).

No output schema declared.

No examples provided.

users_by_ids ~149

Get profiles for up to 500 X users in one call, by numeric user ID.

NameTypeReqDescription
formatstring–Response format (default simple). simple: compact JSON with flat camelCase tweets and users, about 60% fewer tokens. raw: X's full GraphQL JSON, only needed for fields simple leaves out (cards, polls…
idsarrayyesNumeric X user IDs, 1 to 500.
max_charsinteger–Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response.

No output schema declared.

No examples provided.

Install

How do I install the TwittrAPI MCP server?

TwittrAPI runs locally as an npm package, launched with npx -y twittrapi-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

npm · twittrapi-mcp

# add to Claude Code
claude mcp add twittrapi-twittrapi-mcp -- npx -y twittrapi-mcp
Common questions

What is the TwittrAPI MCP server?

TwittrAPI is an MCP server listed in the public MCP registry as io.github.twittrapi/twittrapi-mcp. Read public Twitter/X data: tweets, profiles, followers, search. No X developer account. This page covers its npm package (twittrapi-mcp).

Is the TwittrAPI MCP server safe to use?

TwittrAPI scores 83 out of 100 on VerifyMCP. We recorded 1 known advisory against it as of 5 November 2026. It declares no install or post-install scripts. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

What tools does the TwittrAPI MCP server expose?

TwittrAPI exposes 29 tools: get_user_by_username, get_user_by_id, username_to_id, users_by_ids, get_user_tweets, and 24 more. Their descriptions and schemas cost roughly 5,503 tokens of context every time the server is loaded.

Is the TwittrAPI MCP server still maintained?

TwittrAPI is still listed as active in the MCP registry. We last reached this channel on 5 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

What licence is the TwittrAPI MCP server under?

TwittrAPI declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.