Skip to main content
Glama

Server Details

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

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
twittrapi/twittrapi-mcp
GitHub Stars
0
Server Listing
twittrapi-mcp
ChatGPT
–
Claude
–

TDQS

A3.5/5.0

Scored across 30 tools

Disambiguation4/5

Most tools map to a distinct resource plus action (user timeline vs. replies vs. media vs. likes-style filters are clearly separated, as are the list/community/space/tweet families). A few pairs blur: get_community vs. get_community_about both return description/rules/moderators, get_user_by_id vs. username_to_id vs. get_user_by_username differ mainly in cost, and get_tweet's 'reply thread' overlaps with get_tweet_replies/get_tweet_thread.

Naming Consistency4/5

Nearly everything is snake_case with a predictable get_<resource> or get_<resource>_<subresource> form, which reads well. Deviations are the verb-first search_communities/search_tweets and the odd noun-plural batch tools (tweets_by_ids, users_by_ids, username_to_id), which break the get_ prefix convention without being confusing.

Tool Count3/5

30 tools is on the heavy side for one API surface, and a handful are redundant (get_community vs. get_community_about, get_user_by_id vs. username_to_id, users_by_ids vs. get_user_by_id loops). Still, the Twitter/X domain genuinely spans users, tweets, lists, communities, spaces, trends and batch lookups, so most tools are load-bearing.

Completeness4/5

Read coverage is strong: profiles, timelines, replies, quotes, retweets, followers/following, lists, communities, spaces, trends, search and batch lookups are all present with pagination documented. Gaps exist only around write/side-effecting operations (posting, likes, follows, DMs, notifications), which appear out of scope for this read-oriented wrapper.

Publisher details

Operator
TwittrAPI
Vendor relationship
Independent
Privacy policy
Not provided
Trust center
Not available
Restrictions
Paid: prepaid balance, billed per API call ($0.50 free credit on sign-up). Account actions (posting, likes, DMs) need your own X session cookie and proxy. Account monitoring needs a monitoring plan.

Available Tools

30 tools
get_communityGet communityB
Read-onlyIdempotent
Inspect

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

Inputs: communityId (required), format, max_chars.

get_community_aboutGet community about pageA
Read-onlyIdempotent
Inspect

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

Inputs: communityId (required), max_chars.

get_community_tweetsGet community tweetsB
Read-onlyIdempotent
Inspect

Get tweets posted in an X Community. Paginated.

Inputs: communityId (required), count, cursor, format, +1 more.

get_followersGet followersA
Read-onlyIdempotent
Inspect

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

Inputs: count, cursor, format, userId, +2 more.

get_followingGet followingC
Read-onlyIdempotent
Inspect

Get accounts a user follows. Paginated.

Inputs: count, cursor, format, userId, +2 more.

get_friendships_batchGet relationships with many accountsA
Read-onlyIdempotent
Inspect

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.

Inputs: sourceUsername (required), targetUsernames (required), max_chars.

get_list_detailsGet list detailsA
Read-onlyIdempotent
Inspect

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

Inputs: listId (required), format, max_chars.

get_list_membersGet list membersB
Read-onlyIdempotent
Inspect

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

Inputs: listId (required), count, cursor, format, +1 more.

get_list_tweetsGet list tweetsA
Read-onlyIdempotent
Inspect

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

Inputs: listId (required), count, cursor, format, +1 more.

get_spaceGet SpaceA
Read-onlyIdempotent
Inspect

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

Inputs: spaceId (required), max_chars.

get_trend_locationsGet trend locationsA
Read-onlyIdempotent
Inspect

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

Inputs: format, max_chars.

get_tweetGet tweetA
Read-onlyIdempotent
Inspect

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

Inputs: tweetId (required), cursor, format, max_chars, +1 more.

get_tweet_quotesGet tweet quotesA
Read-onlyIdempotent
Inspect

Get tweets that quote a given tweet. Paginated.

Inputs: tweetId (required), count, cursor, format, +1 more.

get_tweet_repliesGet tweet repliesA
Read-onlyIdempotent
Inspect

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

Inputs: tweetId (required), cursor, format, max_chars, +2 more.

get_tweet_retweetsGet tweet retweetersB
Read-onlyIdempotent
Inspect

Get the users who retweeted a tweet. Paginated.

Inputs: tweetId (required), count, cursor, format, +1 more.

get_tweet_threadGet tweet threadA
Read-onlyIdempotent
Inspect

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.

Inputs: tweetId (required), format, max_chars.

get_user_about_batchGet "About this account" for many usersA
Read-onlyIdempotent
Inspect

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.

Inputs: usernames (required), max_chars.

get_user_affiliatesGet affiliatesB
Read-onlyIdempotent
Inspect

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

Inputs: count, cursor, format, userId, +2 more.

get_user_by_idGet user by IDA
Read-onlyIdempotent
Inspect

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

Inputs: userId (required), format, max_chars.

get_user_by_usernameGet user by usernameA
Read-onlyIdempotent
Inspect

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.

Inputs: username (required), format, max_chars.

get_user_mediaGet user mediaA
Read-onlyIdempotent
Inspect

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

Inputs: count, cursor, format, userId, +2 more.

get_user_tweetsGet user tweetsA
Read-onlyIdempotent
Inspect

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

Inputs: count, cursor, format, userId, +2 more.

get_user_tweets_and_repliesGet user tweets and repliesB
Read-onlyIdempotent
Inspect

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

Inputs: count, cursor, format, userId, +2 more.

get_verified_followersGet verified followersB
Read-onlyIdempotent
Inspect

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

Inputs: count, cursor, format, userId, +2 more.

search_communitiesSearch communitiesA
Read-onlyIdempotent
Inspect

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

Inputs: searchTerm (required), count, cursor, format, +1 more.

search_tweetsSearch tweetsA
Read-onlyIdempotent
Inspect

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.

Inputs: searchItem (required), count, cursor, format, +2 more.

tweets_by_idsGet tweets by IDsA
Read-onlyIdempotent
Inspect

Get up to 100 tweets in one call by numeric tweet ID, billed as one call. Results keep the request order; tweets that were deleted or never existed are left out (raw format: an empty {} in their place).

Inputs: ids (required), format, max_chars.

username_to_idUsername to user IDA
Read-onlyIdempotent
Inspect

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

Inputs: username (required), format, max_chars.

users_by_idsGet users by IDsA
Read-onlyIdempotent
Inspect

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

Inputs: ids (required), format, max_chars.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Provides read-only access to X (Twitter) data — posts, threads, profiles, timelines, followers, media, and trends — through twelve tools, with no login or API key required.
      12
      20 npm
      1
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables reading public X (Twitter) content like profiles, tweets, and search results via a stealth browser, without official API costs.
      11
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables read-only research on public X data through tools for posts, threads, profiles, search, trends, collections, and saved-result analysis using free public APIs and optional sessions.
      8
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      X/Twitter read API for agents: search tweets, profiles, timelines, and Smart Money. Runs locally with npx. Not for posting.
      9
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.