Connect your account, then chat with AI to run tools.
X (formerly Twitter) provides a social media platform for users to share and discover content, engage with others, and follow real-time events. X API v2 offers access to tweets, users, spaces, direct messages, lists, bookmarks, and more.
Opens MCPBundles Studio with this server selected. After sign-in, chat and run tools from the same thread.
Browse all toolsDomain knowledge for X — workflow patterns, data models, and gotchas for your AI agent.
X API v2 with full tweet archive search covering the complete history of public tweets. Search, analyse, and engage with tweets, users, and conversations at scale.
Connect via OAuth 2.0 (PKCE) to read AND write (post tweets, like, retweet, follow, bookmark). Full-archive tweet search is available to all users automatically — it uses a platform-managed token and does not require any additional setup.
id (numeric string), username (handle), name (display), description (bio), public_metrics (followers, following, tweet count), url, location, verified.text (always full — long tweets auto-promoted from note_tweet), public_metrics (likes, retweets, replies, quotes, bookmarks, impressions), entities (expanded URLs, mentions, hashtags), referenced_tweets (RT/quote/reply linkage), conversation_id (thread grouping)."1561506468"). Never pass as integers.https://x.com/{username}/status/{tweet_id}.conversation_id equal to the root tweet's ID.Search accesses the complete tweet archive — every public tweet ever posted, not just the last 7 days. Use start_time and end_time (ISO 8601) to scope to any historical period.
Content matching:
keyword1 keyword2 — AND (both must appear)"exact phrase" — exact matchkeyword1 OR keyword2 — OR-keyword — NOT (exclude)Author/mention:
from:username — tweets by authorto:username — replies to user@mention — tweets mentioning userContent type:
has:media / has:images / has:videos — media filtershas:links — tweets with URLshas:hashtags / has:mentionsTweet type (critical for clean results):
-is:retweet — exclude retweets (always recommended)-is:reply — exclude repliesis:verified — verified authors onlyis:quote — only quote tweetsLanguage:
lang:en / lang:es / lang:ja / lang:de / lang:frConversation:
conversation_id:123 — all tweets in a threadGeography:
place_country:US — tweets geotagged in countryResearch a company or product:
TrueLayer -is:retweet lang:en
Find pricing/cost discussions:
TrueLayer (price OR pricing OR cost OR fee OR expensive) -is:retweet lang:en
Monitor competitors:
(from:stripe OR from:truelayer OR from:plaid) -is:retweet
Developer experience:
"TrueLayer API" (integrate OR integration OR SDK OR developer) -is:retweet
Hiring signals:
from:truelayer (hiring OR "we're looking" OR "join us") -is:retweet
Use start_time and end_time parameters (ISO 8601 format):
start_time: "2024-01-01T00:00:00Z" — from this dateend_time: "2025-12-31T23:59:59Z" — up to this daterecency (default) — newest first, best for monitoringrelevancy — most relevant first, best for topic researchEvery tweet includes public_metrics:
impression_count — total viewslike_count, retweet_count, reply_count, quote_count, bookmark_countDeep topic research:
max_results=100 and pagination (next_token) for full coverageCompetitive intelligence:
Account analysis:
Thread deep-dive:
conversation_id to fetch the full threadPaged results return next_token; pass it on the next call to get more results. Page sizes: 10-100. For thorough research, paginate through multiple pages.
X enforces per-endpoint burst limits (typically 300 requests/15 minutes for search). When throttled, back off and retry after the 15-minute window resets.
Bookmark a tweet. Bookmarked tweets are saved privately and can be retrieved later with x_get_bookmarks. Idempotent — bookmarking an already-bookmarke...
Block a user. Blocked users cannot see your tweets, follow you, or send you direct messages. Also removes them as a follower.
Post a new tweet. Can also create replies (reply_to_tweet_id) and quote tweets (quote_tweet_id). Returns the created tweet's ID and text.
Permanently delete a tweet you own. Cannot be undone — all engagement data (likes, retweets, replies) is lost.
Compute engagement analytics across your recent tweets. Returns aggregate stats (avg impressions, avg likes, avg replies, avg bookmarks, engagement ra...
Fetch a single tweet by its numeric ID. Returns the full tweet including text, author profile (display name, bio, website URL, location, followers), e...
Fetch a user profile by numeric ID. Returns username, display name, bio, website URL (profile link — often their company domain), location (geography)...
Fetch a user profile by their @username (e.g. 'elonmusk'). Returns the user's numeric ID, display name, bio, website URL (profile link), location, fol...
Follow a user. Their tweets will appear in your home timeline. Idempotent — following someone you already follow is a no-op.
Get your list of blocked users. Returns user profiles with username, display name, bio, and follower counts.
Get the authenticated user's bookmarked tweets. Returns up to 800 most recent bookmarks with full text, inline author profiles (bio, website URL, loca...
Get a user's followers. Returns up to 1000 user profiles per page with username, display name, bio, website URL, location, follower count, and verific...
Get users that a specific user follows. Returns up to 1000 user profiles per page with username, display name, bio, website URL, location, follower co...
Look up a list by its numeric ID. Returns list name, description, member count, follower count, owner ID, creation date, and privacy status. Use this ...
Get members of a list. Returns user profiles with username, display name, bio, website URL, location, follower count, and verification status. Curated...
Get recent tweets from a list. Returns tweets with full text, inline author profiles (bio, website URL, location, followers), engagement metrics, enti...
Get the authenticated user's own profile. Returns your user ID, username, display name, bio, website URL, location, follower/following counts, tweet c...
Get your list of muted users. Returns user profiles with username, display name, bio, and follower counts.
Fetch a full conversation thread. Given a conversation_id (shared by all tweets in a thread, equal to the root tweet's ID), returns the complete threa...
Get the users who liked a specific tweet. Returns user profiles with username, display name, bio, website URL, location, follower count, and verificat...
Get tweets that quote a specific tweet. Returns the quoting tweets with full text, inline author profiles (bio, website, location, followers), engagem...
Get the users who retweeted a specific tweet. Returns user profiles with username, display name, bio, website URL, location, follower count, and verif...
Get tweets that a user has liked. Returns the liked tweets with full text, inline author profiles (bio, website, location, followers), engagement metr...
Get all lists a user is a member of. Returns list name, description, member count, follower count, owner, and privacy status. Reveals what curated com...
Get tweets that @mention a user. Returns tweets from other users that mention the specified user, with full text, inline author profiles (bio, website...
Get the authenticated user's home timeline — the reverse-chronological feed of tweets from accounts they follow. The user_id must be the authenticated...
Get tweets posted by a user (their authored tweets). Returns tweets in reverse-chronological order with text, timestamps, engagement metrics, entities...
Hide or unhide a reply to one of your tweets. Hidden replies are collapsed in the thread and require an extra click to view.
Like a tweet as the authenticated user. Idempotent — liking an already-liked tweet is a no-op.
Search the full tweet archive. This is an alias for x_search_tweets. Pass a 'query' parameter using X API v2 query operators: 'from:username' (author)...
Batch-fetch recent tweets from multiple accounts in a single API call. Pass a list of usernames and get their combined recent tweets sorted by recency...
Mute a user. Muted users' tweets will not appear in your home timeline or notifications, but they can still follow you and see your tweets (unlike blo...
Remove a tweet from your bookmarks. Idempotent — removing a tweet that isn't bookmarked is a no-op.
Retweet a tweet as the authenticated user. The retweet appears on your profile and in your followers' timelines.
Search the full tweet archive (all of Twitter/X history) using X API v2 query operators. Combine operators like 'from:username lang:en -is:retweet has...
Search for X users by keyword. Matches usernames, display names, and bios. Returns user profiles with numeric ID, username, display name, bio, website...
Unblock a user. They will be able to see your tweets and follow you again.
Unfollow a user. Their tweets will no longer appear in your home timeline.
Remove your like from a tweet. Idempotent — unliking a tweet you haven't liked is a no-op.
Unmute a user. Their tweets will appear in your home timeline again.
Remove your retweet of a tweet. The retweet disappears from your profile.
X (formerly Twitter) provides a social media platform for users to share and discover content, engage with others, and follow real-time events. X API v2 offers access to tweets, users, spaces, direct messages, lists, bookmarks, and more. It provides 41 tools that AI agents can use through the Model Context Protocol (MCP).
Add the MCPBundles server URL to your MCP client configuration (Claude Desktop, Cursor, VS Code, etc.). The URL format is: https://mcp.mcpbundles.com/bundle/x. Authentication is handled automatically.
X provides 41 tools that can be called by AI agents, along with a SKILL.md that gives your AI agent domain knowledge about when and how to use them.
X uses One-click sign in. X requires credentials. Connect via MCPBundles and authentication is handled automatically.
Connect X to any MCP client in minutes
Model Context Protocol lets AI tools call external capabilities securely through a single URL. This bundle groups tools behind an MCP endpoint that many clients can use.
Skip the manual setup! Use the .mcpb file format for one-click installation. Check the Claude Desktop tab for setup instructions.
Select ChatGPT, Cursor, Claude Code, or another tab for copy-paste config.
More social integrations you might like
Ayrshare is a full-featured social media management API that enables posting, scheduling, and analyt...
Blogger is Google's free blog-publishing platform. Create, edit, search, and manage blog posts and p...
Dev.to is a community of software developers sharing articles, tutorials, and discussions. Publish b...
Complete Hacker News toolkit. Browse live ranked lists (top, best, new, Show HN, Ask HN, jobs), sear...
Hashnode is a blogging platform for developers. Publish articles, manage drafts, search posts, brows...
LinkedIn API. Manage company pages, post content, engage with comments and reactions, run ad campaig...