io.twitterapi/mcp-server
Measured conclusion: Deep-tested. L2 outcome: tools_ok.
Official twitterapi.io hosted MCP: Twitter/X tweets, users, followers, trends. OAuth or API key.
| Author | io.twitterapi |
|---|---|
| Access | remote |
| Publisher key required | No |
| Measured state | Deep-tested |
| L1 liveness | alive |
| L1 latency | 120 ms |
| Last measured | 2026-10-24 |
Add to your agent
Copy this into your MCP client config:
{
"mcpServers": {
"mcp-server": {
"url": "https://mcp.twitterapi.io/v1/mcp",
"transport": "streamable-http"
}
}
}
Measured tools (12)
search_tweetsread-only๐ฏ PRIMARY CHOICE for date-range / historical / keyword-based tweet queries. Use this (NOT get_user_last_tweets) whenever user asks about a SPECIFIC TIME RANGE or historical tweets: โข 'tweets from January 2026' โ query='from:elonmusk since:2026-01-01 until:2026-02-01' โข 'tweets between X and Y' โ 'from:USER since:X until:Y' โข 'tweets last week / last month' โ translate to since:/until: dates โข 'tweets containing keyword X by user Y' โ 'from:Y X' โข 'older tweets' / 'archive' / 'in 2025' โ use date range, not pagination Date format: YYYY-MM-DD (UTC midnight). 'until:' is exclusive (until:2026-02-01 = up to Jan 31). General: Search Twitter/X for tweets matching a query. Supports the full Twitter advanced search syntax (from:, to:, since:, until:, lang:, filter:, has:, -, OR, etc). Returns ~20 tweets per page in reverse chronological order ('Latest') or by engagement ('Top'). Use this for keyword research, monitoring mentions of a brand/topic, finding tweets in a date range, or any open-ended tweet discovery.
Parameters:
query(required) โ string โ Twitter advanced search query string. Supports operators: from:USER, to:USER, since:YYYY-MM-DD, until:YYYY-MM-DD, lang:en, filter:replies, -filter:retweets, has:images, etc. Example: 'from:elonmusk since:2026-01-01 has:images'queryType(required) โ string โ 'Latest' returns most recent tweets first; 'Top' returns highest-engagement tweets first. Default to 'Latest' for time-sensitive queries.cursorโ string โ Pagination cursor from a previous response's next_cursor field. Omit for first page. Each page returns ~20 tweets.
Hints: read-only yes ยท destructive not declared ยท idempotent not declared ยท open-world yes
get_user_inforead-onlyFetch basic profile info for a Twitter/X user by their screen name (handle). Returns user ID, display name, bio, follower/following counts, verified status, profile picture, banner, location, website, and account creation date. Use this as the starting point for any user analysis.
Parameters:
userName(required) โ string โ Twitter/X screen name (handle) WITHOUT the leading @ sign. Example: 'elonmusk', not '@elonmusk'.
Hints: read-only yes ยท destructive not declared ยท idempotent not declared ยท open-world yes
get_user_aboutread-onlyFetch the extended 'about' / profile page data for a Twitter/X user by screen name. Returns extra profile metadata beyond what get_user_info gives (when available). Use get_user_info first; only call this if you need additional about-page fields.
Parameters:
userName(required) โ string โ Twitter/X screen name without @ โ fetches the user's profile 'about' / bio page.
Hints: read-only yes ยท destructive not declared ยท idempotent not declared ยท open-world yes
get_user_followersread-onlyFetch followers of a Twitter/X user in reverse chronological order (newest first), each with full profile metadata (name, bio, follower count, verified status, etc.). Paginates via cursor. Use this to analyze who follows an account, build follower audiences, or sample for competitive analysis. For large accounts use pagination; you will not get all followers in one call.
Parameters:
userName(required) โ string โ Twitter/X screen name without @ โ fetches followers of this user.cursorโ string โ Pagination cursor from previous response's next_cursor. Omit for first page.pageSizeโ integer โ Followers per page (default 200, max 200). Each follower includes full profile metadata (name, bio, follower count, etc.).
Hints: read-only yes ยท destructive not declared ยท idempotent not declared ยท open-world yes
get_user_followingsread-onlyFetch the accounts a Twitter/X user follows, with full profile metadata. Paginates via cursor. Use this to map a user's interest graph (who they follow signals what they care about).
Parameters:
userName(required) โ string โ Twitter/X screen name without @ โ fetches accounts this user follows.cursorโ string โ Pagination cursor; omit for first page.pageSizeโ integer โ Followings per page (default 200, max 200). Each includes full profile metadata.
Hints: read-only yes ยท destructive not declared ยท idempotent not declared ยท open-world yes
get_user_last_tweetsread-onlyโ ๏ธ ONLY for 'latest / recent / what's new' queries about a user. DO NOT use for date-range queries (e.g. 'tweets from January 2026', 'tweets last week', 'tweets between X and Y', 'tweets in 2025'). For specific dates / older tweets, use **search_tweets** with query like 'from:elonmusk since:2026-01-01 until:2026-02-01'. Fetch the MOST RECENT tweets posted by a Twitter/X user, sorted by created_at descending (newest first). Provide EITHER userName (screen name, no @) OR userId (numeric). Use userId when known โ handles can change. Set includeReplies=true to include the user's reply tweets in addition to top-level tweets. Paginates via cursor (~20 per page).
Parameters:
cursorโ string โ Pagination cursor; omit for first page.userIdโ string โ Twitter/X numeric user ID (e.g. '44196397'). Provide EITHER userName OR userId. Prefer userId if known โ handles can change.userNameโ string โ Twitter/X screen name without @ (e.g. 'elonmusk'). Provide EITHER userName OR userId.includeRepliesโ boolean โ Include the user's reply tweets in addition to top-level tweets. Default false โ only top-level tweets.
Hints: read-only yes ยท destructive not declared ยท idempotent not declared ยท open-world yes
get_user_mentionsread-onlyFetch tweets that mention a specific Twitter/X user (i.e. tweets containing @userName). Useful for brand monitoring, sentiment tracking on a public figure, or finding conversations involving an account. Supports time-bound queries via sinceTime/untilTime (Unix seconds). Paginates via cursor.
Parameters:
userName(required) โ string โ Twitter/X screen name without @ โ fetches tweets that mention this user (@userName).cursorโ string โ Pagination cursor; omit for first page (~20 per page).sinceTimeโ integer โ Unix timestamp (seconds) lower bound โ only mentions after this time. Omit for no lower bound.untilTimeโ integer โ Unix timestamp (seconds) upper bound. Omit for no upper bound.
Hints: read-only yes ยท destructive not declared ยท idempotent not declared ยท open-world yes
get_tweets_by_idsread-onlyBatch-fetch full tweet objects by their numeric tweet IDs. Pass a comma-separated string of up to 100 IDs. Use this when you already have specific tweet IDs (e.g., from a search result, a URL, or a webhook event) and need the full tweet data โ author, text, engagement counts, media, etc.
Parameters:
tweet_ids(required) โ string โ Comma-separated tweet IDs (e.g. '1234567890,9876543210'). Batch fetch up to 100 tweets in one call. Tweet IDs are numeric strings.
Hints: read-only yes ยท destructive not declared ยท idempotent not declared ยท open-world yes
get_tweet_repliesread-onlyFetch replies to a specific tweet. Pass the numeric tweetId of the root tweet; returns top-level replies (about 20 per page) with full tweet objects. Use this for thread analysis, sentiment on a viral post, or building reply trees.
Parameters:
tweetId(required) โ string โ Numeric ID of the tweet to fetch replies for.cursorโ string โ Pagination cursor; omit for first page (~20 replies per page).queryTypeโ string โ 'Latest' or 'Top' โ sort order of replies. Default 'Latest'.
Hints: read-only yes ยท destructive not declared ยท idempotent not declared ยท open-world yes
get_tweet_quotesread-onlyFetch quote-tweets (tweets that quote the given tweetId). Useful for finding commentary on a tweet, measuring reach beyond direct replies. Supports time bounds (sinceTime/untilTime, Unix seconds). Paginates via cursor (~20 per page).
Parameters:
tweetId(required) โ string โ Numeric ID of the tweet to fetch quote-tweets for.cursorโ string โ Pagination cursor; omit for first page (~20 per page).sinceTimeโ integer โ Unix timestamp (seconds) lower bound.untilTimeโ integer โ Unix timestamp (seconds) upper bound.includeRepliesโ boolean โ Include reply-type quote-tweets in addition to top-level. Default false.
Hints: read-only yes ยท destructive not declared ยท idempotent not declared ยท open-world yes
get_tweet_retweetersread-onlyFetch users who retweeted a specific tweet (the simple 'retweet' action, not quote-tweets โ for those use get_tweet_quotes). Returns user profiles with metadata. Paginates via cursor (~100 per page).
Parameters:
tweetId(required) โ string โ Numeric ID of the tweet to fetch retweeters for.cursorโ string โ Pagination cursor; omit for first page (~100 per page).
Hints: read-only yes ยท destructive not declared ยท idempotent not declared ยท open-world yes
get_trendsread-onlyFetch current trending topics/hashtags for a location. Pass a Yahoo Where-On-Earth ID (woeid). Common: 1=Worldwide, 23424977=USA, 23424975=UK, 23424856=Japan, 23424848=India, 23424881=South Korea. Use woeid=1 for global trends if you don't know a specific location.
Parameters:
woeid(required) โ integer โ Yahoo Where-On-Earth ID for the location. Common values: 1 = Worldwide, 23424977 = USA, 23424975 = UK, 23424856 = Japan. Use 1 for global trends if unsure.countโ integer โ Max trends to return (default API behavior; may be silently capped by API).
Hints: read-only yes ยท destructive not declared ยท idempotent not declared ยท open-world yes
Measured by MCPYP probing. Untested fields are omitted, never estimated. Listing is always free; MCPYP never proxies calls or stores user tokens.