Handles API

MCP

X (Twitter) MCP server: live reads and account insights

The Handles API MCP server lets Claude, ChatGPT or Cursor read X (formerly Twitter) live: timelines, post search with advanced operators, replies, followers and trends at 2 credits a call, plus catalog insights at 1 credit. It is read-only, so it cannot post, like or send direct messages.

Updated by the Handles API team

Live X tools: timelines, search, followers, replies, trends

The live tools read X at request time, so an answer reflects the platform right now. Each call costs 2 credits and returns a page of results with a cursor for the next page.

ToolWhat it doesCredits
handles_x_userLive X (Twitter) profile of one user, as X reports it right now: counters, verification flags, join date, images.2 (live)
handles_x_user_tweetsLive timeline of one X account, newest first, with engagement counts per post.2 (live)
handles_x_search_tweetsSearch X posts with X advanced-search syntax (for example: from:nasa filter:media min_faves:1000). product picks Latest, Top or Media.2 (live)
handles_x_search_usersSearch X accounts by name, handle or bio words, live, as X's people search returns them.2 (live)
handles_x_user_followersLive list of an X account's followers, newest first, with their profile data.2 (live)
handles_x_tweetOne X post by id, live: text, author, media, and like, repost, reply, quote and view counts.2 (live)
handles_x_tweet_repliesDirect replies to one X post, live, with their authors and engagement.2 (live)
handles_x_trendsWhat is trending on X right now for one location, by Yahoo WOEID (1 = worldwide, 23424977 = United States, 23424975 = United Kingdom).2 (live)
The credit column is the cost of one call.

handles_x_search_tweets takes X's own advanced-search syntax, for example from:nasa filter:media min_faves:1000, and a product of Latest, Top or Media. That makes it a good fit for brand monitoring: see social listening on X for the polling version.

Example: what did an account post, and what worked

The assistant maps a plain question to one tool call. The response below is the real body that call returns, captured from the live API.

You ask
Show me NASA's two latest posts on X with their likes, reposts and views.
The assistant calls handles_x_user_tweets
{
  "name": "handles_x_user_tweets",
  "arguments": {
    "handle": "nasa",
    "limit": 2
  }
}
curl "https://api.handlesapi.com/v1/x/users/nasa/tweets?limit=2" \
  -H "Authorization: Bearer $HANDLES_API_KEY"
200 OK1788 ms · 2 credits
{
  "data": {
    "tweets": [
      {
        "tweet_id": "2125915027819446402",
        "url": "https://x.com/NASA/status/2125915027819446402",
        "text": "LIVE: Watch the Progress 97 spacecraft arrive and dock to the @space_station after a two-day trip...",
        "created_at": "2026-11-26T11:30:14+00:00",
        "lang": "en",
        "source": null,
        "likes": 833,
        "retweets": 151,
        "replies": 73,
        "quotes": 16,
        "bookmarks": 50,
        "views": 276360,
        "is_reply": false,
        "is_retweet": false,
        "is_quote": false,
        "conversation_id": "2125915027819446402",
        "in_reply_to_tweet_id": null,
        "quoted_tweet_id": null,
        "retweeted_tweet_id": null,
        "hashtags": [],
        "mentions": [
          "Space_Station"
        ],
        "links": [
          "https://x.com/i/broadcasts/2onVBonVMMWjaV"
        ],
        "media": [],
        "author": {
          "user_id": "11348282",
          "handle": "NASA",
          "display_name": "NASA",
          "bio": "Making the seemingly impossible, possible. ✨",
          "followers": 92086892,
          "following": 115,
          "tweets": 74588,
          "media_count": 28267,
          "likes_given": 17125,
          "is_verified": false,
          "is_blue_verified": true,
          "is_protected": false,
          "location": "Pale Blue Dot",
          "avatar_url": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_400x400.jpg",
          "header_url": "https://pbs.twimg.com/profile_banners/11348282/1788992290",
          "created_at": "2007-12-19T20:20:32+00:00",
          "profile_url": "https://x.com/NASA"
        }
      }
    ],
    "has_next_page": false
  },
  "meta": {
    "page": {
      "limit": 2,
      "next_cursor": null,
      "count": 2
    },
    "source": "live:xlookup",
    "request_id": "req_503bc38c7610cc00",
    "generated_at": "2026-11-26T13:54:58.874Z",
    "took_ms": 1696
  }
}

Real response from the live API, captured Nov 26, 2026. Long strings and arrays are shortened.

The assistant reads the counts from the JSON and answers in prose. The same data over REST is the X API; the tool is a wrapper over that endpoint, so there is no separate data to learn.

Catalog insights and checks

The catalog tools answer questions that need history, not the latest post. handles_insights_x_account returns a dossier in one call: profile, engagement rates, posting volume, best posts and where the account sits against peers. They cost 1 credit, except the checks and calculators, which sample live data.

ToolWhat it doesCredits
handles_insights_x_accountIntelligence dossier for one X account in a single call: catalog profile, engagement rates, posting volume, best posts, virality patterns and where its engagement lands against peers.1
handles_x_top_tweetsThe best-performing posts the engine keeps for one X account (up to 20), sortable by engagement, likes, retweets, replies or recency. 1 credit per call.1
handles_x_compareSide-by-side metrics for 2 to 10 X accounts in one call: audience, engagement rates, posting volume and growth, ranked on the metric you pick. 1 credit per call.1
handles_x_audience_overlapHow much two X accounts share their audience: shared followers, overlap percentages each way and examples of shared followers. 1 credit per call.1
handles_x_similar_accountsX accounts whose followers overlap most with one account: lookalikes for competitor research, partnerships and audience expansion. 1 credit per call.1
handles_tool_shadowban_checkCheck an X account for visibility filtering (search ban, search suggestion ban, reply deboosting) with a clean, flagged or inconclusive verdict per check.2 (live)
handles_tool_follower_auditAudit a sample of an X account's followers for fake, inactive and low-quality accounts, with the share of each and the signals behind it.2 (live)
handles_tool_valuationEstimate what an X account is worth in dollars: a low, expected and high range with the multiplier behind each factor (followers, engagement, account age, authority, activity).2 (live)
handles_tool_engagement_calculatorCompute the true engagement rate of an X account from its recent posts: per-interaction rates, size-adjusted benchmarks, best and worst post and recent trend.2 (live)

The server includes an audit_x_account prompt that runs the dossier, the shadowban check and the follower audit in order. handles_batch runs up to ten calls in parallel, which suits comparing several competitors in one question.

What the X MCP server does not do

  • It is read-only. No posting, replying, liking, following or direct messages, and it never acts for an X user.
  • It reads public data only. Protected accounts and private posts are not returned.
  • Live reads take 2 to 25 seconds and can return 503 under load. Catalog reads are fast.
  • The follower graph from the catalog is partial: it holds edges between accounts already in the catalog. The live follower list is a separate tool.

Compared with the official X API

The official X API is pay-per-use: $0.005 per post read and $0.010 per user read, as of November 2026. Handles API bills per call instead of per resource returned.

Official X APIHandles API MCP server
Billing unitPer resource returned: a post, a userPer tool call: 2 credits live, 1 catalog
Per 1,000 live callsNot comparable: priced per resource$3.87 on Starter down to $1.33 on Scale
Post, reply, like, DMYes, with an authorized appNo, read-only
Your own account dataOwned Reads at $0.001 eachNot the use case
SetupDeveloper app on console.x.com and prepaid creditOAuth sign-in or an API key
Official prices: docs.x.com pricing, as of November 2026. Ours are plan price divided by included credits. Full breakdown in X API pricing.

Choose the official API whenever the job is to act on X. Choose this server when an assistant needs to read it. The two also combine: read here, post there.

Connect it to your assistant

The server URL is https://api.handlesapi.com/mcp. A client that supports remote MCP servers connects with OAuth: it opens a Handles API sign-in page, you approve the connection, and the assistant is ready to answer questions about X accounts, posts and trends. You can revoke the connection in the dashboard under API keys, Connected apps. A client without OAuth support takes your API key as a request header instead.

Claude Code, OAuth
claude mcp add --transport http handles https://api.handlesapi.com/mcp

Run /mcp inside Claude Code afterwards and follow the sign-in in your browser. To use a key instead, add a header:

Claude Code, API key
claude mcp add --transport http handles https://api.handlesapi.com/mcp \
  --header "Authorization: Bearer hk_live_..."

Every tool call spends the same credits as the matching REST request, and the free trial is a one-time balance with no card. Setup details for all clients are in the MCP server docs, plans are on the pricing page, and you can create a free key in a minute.

Related pages

The X API page lists every X endpoint with its credit cost, the Twitter scraper guide compares ways to get X data, and the free shadowban checker runs one of these tools without code. Other networks use the same connection: LinkedIn, YouTube, TikTok. Everything is on the MCP overview, with plans on the pricing page.

Not affiliated with X Corp. X and Twitter are trademarks of their owners.

Frequently asked questions

What can an X MCP server do for me?
It lets an AI assistant read public X data on request: a user's profile and timeline, post search with X's advanced operators, replies to a post, followers, trends by location, and account insights such as engagement rates and best posts. It does not write anything to X.
Can the X MCP server post tweets or send direct messages?
No. Every data tool is read-only. It cannot post, reply, like, follow, repost or read direct messages, and it does not act on behalf of an X user. For those you need the official X API with your own authorized app.
Is this the official Twitter MCP server?
No. Handles API is an independent service and is not affiliated with X Corp. The server returns publicly available X data from the catalog and from live reads, and it has no access to private or protected accounts.
How much does an X tool call cost?
Live X reads cost 2 credits per call and catalog insights cost 1 credit, the same as the REST API. A call is billed once however many posts the page holds. The free trial is a one-time balance of credits with no card.
Why does a live X call take several seconds?
Live tools read X at request time, which takes between 2 and 25 seconds and can return a 503 when X is busy. Catalog insights are served from our own database and answer much faster. An assistant usually waits and retries once on a 503.
Can the X tools post, like or send direct messages?
No. Every X tool is read-only. The assistant can read profiles, timelines, replies, search results and trends, and run the calculators, but it cannot post, reply, like, follow or send a direct message, and it never uses your X login.