spectre-mcp
v2.0.6The fastest X/Twitter automation for AI agents — no browser, no API keys, no monthly fees.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_me Get Me
Identify the account this server is actually authenticated as. Call this first in any session. Returns the live handle, id, bio and counts straight from X — not from the local pool — plus whether the stored pool handle has gone stale (accounts get renamed; a stale handle makes every profile lookup on it return "not found").
list_accounts List Accounts
List the accounts in the pool with their state (active / locked / error). Use before heavy work to see how much rate-limit headroom the pool has, and when a call fails with `kind: auth` to spot the dead account.
pool_status Pool Status
Account pool health: counts plus per-account state. Faster to read than list_accounts when all you need is "do I have a working account right now".
set_active_account Set Active Account
Make one account the first choice for every call. The pool still falls back to the others on a rate limit unless auto-rotation is off. Use when a specific account must own the action (posting as a brand, DMs from a personal handle).
| Parameter | Type | Description |
|---|---|---|
username * | string |
set_auto_rotate Set Auto Rotate
Turn automatic account rotation on or off. On (default): a rate-limited or dead account is benched and the next active account retries the call. Off: the call fails instead, so you always know which account acted.
| Parameter | Type | Description |
|---|---|---|
enabled * | boolean |
remove_account Remove Account
Remove an account and its cookies from the local pool. Destructive: the cookies are gone, so re-adding requires fresh browser cookies. Does not touch the X account itself.
| Parameter | Type | Description |
|---|---|---|
username * | string |
get_rate_limits Get Rate Limits
Per-account rate-limit state: locks, last use, last X rate-limit headers. Call before a bulk job to decide how many accounts can absorb it, and after a `kind: rate_limit` error to see when the window resets.
search Search
Search X posts with the full operator language. Supports from:, since:/until:, #tag, filter:media, filter:links, lang:, min_retweets:, min_faves:, -"term", OR, quoted_tweet_id:. Use mode="latest" for recency, "top" for relevance, "media" for visual posts only. Costs one request per ~20 results — the expensive call in bulk workflows.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
limit | integer | |
mode | string |
search_users Search Users
Find accounts by name or keyword. Cheaper than search() when you only need the handle/id. Follow up with get_user() for the full profile.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
limit | integer |
get_user Get User
Full profile for one handle (without the @). Returns the numeric id you need for follow/block/DM/like-style tools. Also the right call to check whether an account still exists before acting on it.
| Parameter | Type | Description |
|---|---|---|
username * | string |
get_user_by_id Get User By Id
Resolve a numeric user id to a profile. Use when an id arrives from a DM, list membership or a tweet's author_id and you need the handle. Cheaper and more reliable than guessing a handle.
| Parameter | Type | Description |
|---|---|---|
user_id * | string |
get_users_by_ids Get Users By Ids
Resolve many user ids at once (comma-separated). One call per id internally, so keep it to a handful; missing ids come back in `missing` rather than failing the batch.
| Parameter | Type | Description |
|---|---|---|
user_ids * | string |
get_user_tweets Get User Tweets
A user's own posts, newest first (no replies). X caps how far back this reaches (~3,200 posts). For older material use search("from:<handle> since:...").
| Parameter | Type | Description |
|---|---|---|
username * | string | |
limit | integer |
get_user_tweets_and_replies Get User Tweets And Replies
A user's posts including their replies. Use to see who someone talks to and how — good for tone/relationship analysis. Costs more than get_user_tweets because replies dilute the page.
| Parameter | Type | Description |
|---|---|---|
username * | string | |
limit | integer |
get_user_media Get User Media
Photos, videos and GIFs a user posted, with direct media URLs. Use before download_media() when you need the files, or for visual research.
| Parameter | Type | Description |
|---|---|---|
username * | string | |
limit | integer |
get_followers Get Followers
A user's followers, with a real limit. `limit` is honoured exactly (the old 100 cap is gone) up to 5000; long walks stop at a time budget and set `truncated: true`. `total_available` is the account's follower count so you can see how far you got.
| Parameter | Type | Description |
|---|---|---|
username * | string | |
limit | integer |
get_following Get Following
Accounts a user follows, with a real limit (up to 5000). Same truncation contract as get_followers: `truncated` tells you the walk stopped early, `total_available` is the profile's following count.
| Parameter | Type | Description |
|---|---|---|
username * | string | |
limit | integer |
get_verified_followers Get Verified Followers
Blue-verified followers of a user. A cheap proxy for "who matters in this audience" — useful for prioritising outreach without walking thousands of followers.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | |
limit | integer |
get_followers_you_know Get Followers You Know
Mutual followers between you and another account. Best first move before cold outreach: the overlap is the warm-intro list.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | |
limit | integer |
get_user_likes Get User Likes
Posts a user liked. Usually empty: X hides likes for most accounts.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | |
limit | integer |
get_user_highlights Get User Highlights
Posts a user pinned to their profile Highlights section. Highlights are curated, so this is the closest thing to "what they want to be known for".
| Parameter | Type | Description |
|---|---|---|
user_id * | string | |
limit | integer |
create_highlight Create Highlight
Add posts to your profile's Highlights section (comma-separated ids). Highlights are public. X limits the feature to eligible accounts and answers `kind: permission` for the rest.
| Parameter | Type | Description |
|---|---|---|
tweet_ids * | string |
delete_highlight Delete Highlight
Remove a post from your profile's Highlights section.
| Parameter | Type | Description |
|---|---|---|
tweet_id * | string |
get_tweet Get Tweet
One post with full text, metrics, media URLs and author. Long-form posts are returned in full (the note_tweet body), not truncated at 280 characters. Use get_tweets() to batch several ids.
| Parameter | Type | Description |
|---|---|---|
tweet_id * | string |
get_tweets Get Tweets
Fetch several posts by id in one call (comma-separated). Cheaper than looping get_tweet. Missing ids are reported in `missing` instead of failing the whole batch.
| Parameter | Type | Description |
|---|---|---|
tweet_ids * | string |
get_tweet_replies Get Tweet Replies
Direct replies to a post. Use get_thread() instead when you need the whole conversation including the parent chain.
| Parameter | Type | Description |
|---|---|---|
tweet_id * | string | |
limit | integer |
get_thread Get Thread
The conversation a post belongs to, oldest first. Pass any id in the thread. Includes the focal post, its ancestors and the replies X returns for that conversation.
| Parameter | Type | Description |
|---|---|---|
tweet_id * | string | |
limit | integer |
get_tweet_quotes Get Tweet Quotes
Posts that quote a given post. Quotes are where the commentary lives — more useful than replies for judging reaction. Paginate with next_cursor.
| Parameter | Type | Description |
|---|---|---|
tweet_id * | string | |
cursor | string | |
limit | integer |
get_retweeters Get Retweeters
Accounts that retweeted a post.
| Parameter | Type | Description |
|---|---|---|
tweet_id * | string | |
limit | integer |
get_favoriters Get Favoriters
Accounts that liked a post. Can be empty on very large accounts: X limits who is listable.
| Parameter | Type | Description |
|---|---|---|
tweet_id * | string | |
limit | integer |
get_tweet_edit_history Get Tweet Edit History
Edit history of a post (ids of every version). Only populated for posts that were actually edited.
| Parameter | Type | Description |
|---|---|---|
tweet_id * | string |
get_similar_posts Get Similar Posts
Posts X considers related to a given post. Premium-gated upstream: on non-Premium accounts this returns an empty list with a `note`, not an error.
| Parameter | Type | Description |
|---|---|---|
tweet_id * | string | |
limit | integer |
get_community_notes Get Community Notes
Community Notes attached to a post.
| Parameter | Type | Description |
|---|---|---|
tweet_id * | string |
rate_community_note Rate Community Note
Rate a Community Note: helpful, somewhat_helpful, or not_helpful. Requires an account enrolled in Community Notes.
| Parameter | Type | Description |
|---|---|---|
note_id * | string | |
rating * | string |
get_home_timeline Get Home Timeline
The authenticated account's "For You" feed, with authors resolved. Use for ambient awareness rather than targeted research. For the reverse chronological feed use search("filter:follows").
| Parameter | Type | Description |
|---|---|---|
limit | integer |
get_notifications Get Notifications
Notifications timeline: likes, follows, replies, mentions, reposts. Use it to find what needs a response; each item carries the type plus the user/tweet involved. Paginate with next_cursor.
| Parameter | Type | Description |
|---|---|---|
cursor | string | |
limit | integer |
post_tweet Post Tweet
Publish a post, reply or quote. Public the moment it runs. Confirm with the user first. Upload media before posting and pass the ids here (comma-separated). Standard accounts cap at 280 characters, Premium at 25,000; X rejects identical text as a duplicate.
| Parameter | Type | Description |
|---|---|---|
text * | string | |
media_ids | string | |
quote_tweet | ||
reply_to |
delete_tweet Delete Tweet
Delete one of your posts. Permanent — confirm first.
| Parameter | Type | Description |
|---|---|---|
tweet_id * | string |
upload_media Upload Media
Upload an image, GIF or video and get the media id for post_tweet. Cookie auth, no API keys. Chunked (4 MiB) with processing polling for video, so large files take a while but do not time out. jpg/png/webp/gif/mp4/mov.
| Parameter | Type | Description |
|---|---|---|
file_path * | string |
download_media Download Media
Download a post's media (or a single media URL) to disk. Pass a tweet id/URL to get everything attached, or a direct pbs/video URL. Returns the saved paths so you can open or analyse them.
| Parameter | Type | Description |
|---|---|---|
source * | string | |
dest_dir | string |
like_tweet Like Tweet
Like a post. Reversible with unlike_tweet.
| Parameter | Type | Description |
|---|---|---|
tweet_id * | string |
unlike_tweet Unlike Tweet
Remove your like from a post.
| Parameter | Type | Description |
|---|---|---|
tweet_id * | string |
retweet Retweet
Repost someone's post to your followers. Public — confirm first.
| Parameter | Type | Description |
|---|---|---|
tweet_id * | string |
unretweet Unretweet
Undo your repost.
| Parameter | Type | Description |
|---|---|---|
tweet_id * | string |
bookmark_tweet Bookmark Tweet
Save a post to your bookmarks. Private, reversible.
| Parameter | Type | Description |
|---|---|---|
tweet_id * | string |
unbookmark_tweet Unbookmark Tweet
Remove a post from your bookmarks.
| Parameter | Type | Description |
|---|---|---|
tweet_id * | string |
pin_tweet Pin Tweet
Pin a post to your profile. Replaces any existing pin without warning.
| Parameter | Type | Description |
|---|---|---|
tweet_id * | string |
unpin_tweet Unpin Tweet
Unpin the post from your profile.
| Parameter | Type | Description |
|---|---|---|
tweet_id * | string |
pin_reply Pin Reply
Pin a reply inside its conversation (needs the conversation id). The conversation id is a tweet's `conversation_id`; get it from get_tweet.
| Parameter | Type | Description |
|---|---|---|
tweet_id * | string | |
conversation_id | string |
unpin_reply Unpin Reply
Unpin a reply from its conversation.
| Parameter | Type | Description |
|---|---|---|
tweet_id * | string | |
conversation_id | string |
follow_user Follow User
Follow an account. Takes a numeric user id — resolve handles with get_user first.
| Parameter | Type | Description |
|---|---|---|
user_id * | string |
unfollow_user Unfollow User
Unfollow an account.
| Parameter | Type | Description |
|---|---|---|
user_id * | string |
mute_user Mute User
Mute an account (you stop seeing them; they are not told).
| Parameter | Type | Description |
|---|---|---|
user_id * | string |
unmute_user Unmute User
Unmute an account.
| Parameter | Type | Description |
|---|---|---|
user_id * | string |
block_user Block User
Block an account. They lose access to you; this is visible to them.
| Parameter | Type | Description |
|---|---|---|
user_id * | string |
unblock_user Unblock User
Unblock an account.
| Parameter | Type | Description |
|---|---|---|
user_id * | string |
remove_follower Remove Follower
Remove someone from your followers (soft-block). They can follow again.
| Parameter | Type | Description |
|---|---|---|
user_id * | string |
get_muted_accounts Get Muted Accounts
Accounts you have muted.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
get_blocked_accounts Get Blocked Accounts
Accounts you have blocked.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
send_dm Send Dm
Send a direct message. No recall — confirm the recipient and text first. The recipient must accept DMs from you (mutual follow, or open message requests). Failures come back as `kind: validation` with X's reason.
| Parameter | Type | Description |
|---|---|---|
text * | string | |
user_id * | string |
get_dm_inbox Get Dm Inbox
Recent DM conversations and their latest messages. Returns both `messages` (flat, newest first) and `conversations` (threads with participants). Use a conversation_id from here with get_dm_conversation.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
get_dm_conversation Get Dm Conversation
Every message in one DM thread, oldest first. Includes both directions and the participants' profiles. If a reply the user can see on x.com is missing here, X is not serving it to the cookie session — report that instead of assuming it does not exist.
| Parameter | Type | Description |
|---|---|---|
conversation_id * | string | |
limit | integer |
search_dm Search Dm
Search across all DM messages.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
limit | integer |
search_dm_groups Search Dm Groups
Search group DM conversations.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
limit | integer |
search_dm_people Search Dm People
Search for people you have DM history with.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
limit | integer |
get_dm_muted Get Dm Muted
Muted DM conversations.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
dm_block_user Dm Block User
Block a user from sending you DMs (does not block them globally).
| Parameter | Type | Description |
|---|---|---|
user_id * | string |
dm_unblock_user Dm Unblock User
Allow a user to DM you again.
| Parameter | Type | Description |
|---|---|---|
user_id * | string |
get_list_info Get List Info
Name, description, member/subscriber counts and owner of a list.
| Parameter | Type | Description |
|---|---|---|
list_id * | string |
create_list Create List
Create a list. Returns the list_id you need for members and timelines.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
description | string | |
private | boolean |
update_list Update List
Rename or re-describe a list.
| Parameter | Type | Description |
|---|---|---|
list_id * | string | |
name * | string | |
description | string | |
private |
delete_list Delete List
Delete a list permanently. Members are not affected.
| Parameter | Type | Description |
|---|---|---|
list_id * | string |
add_list_member Add List Member
Add an account to a list.
| Parameter | Type | Description |
|---|---|---|
list_id * | string | |
user_id * | string |
remove_list_member Remove List Member
Remove an account from a list.
| Parameter | Type | Description |
|---|---|---|
list_id * | string | |
user_id * | string |
get_list_timeline Get List Timeline
Posts from the members of a list (the main reason to build lists).
| Parameter | Type | Description |
|---|---|---|
list_id * | string | |
limit | integer |
get_list_members Get List Members
Members of a list.
| Parameter | Type | Description |
|---|---|---|
list_id * | string | |
limit | integer |
get_list_subscribers Get List Subscribers
Accounts subscribed to a list.
| Parameter | Type | Description |
|---|---|---|
list_id * | string | |
limit | integer |
get_list_memberships Get List Memberships
Lists a user belongs to — a fast map of someone's information diet.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | |
limit | integer |
get_list_ownerships Get List Ownerships
Lists a user created.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | |
limit | integer |
subscribe_list Subscribe List
Subscribe to someone else's list so it appears in your timeline.
| Parameter | Type | Description |
|---|---|---|
list_id * | string |
unsubscribe_list Unsubscribe List
Unsubscribe from a list.
| Parameter | Type | Description |
|---|---|---|
list_id * | string |
get_community_info Get Community Info
Community name, description, member count and join policy.
| Parameter | Type | Description |
|---|---|---|
community_id * | string |
get_community_tweets Get Community Tweets
Posts inside a community.
| Parameter | Type | Description |
|---|---|---|
community_id * | string | |
limit | integer |
join_community Join Community
Join a community. Visible to its members.
| Parameter | Type | Description |
|---|---|---|
community_id * | string |
leave_community Leave Community
Leave a community.
| Parameter | Type | Description |
|---|---|---|
community_id * | string |
get_topic_info Get Topic Info
Details and follow state of a topic.
| Parameter | Type | Description |
|---|---|---|
topic_id * | string |
follow_topic Follow Topic
Follow a topic (X's curated interest feeds).
| Parameter | Type | Description |
|---|---|---|
topic_id * | string |
unfollow_topic Unfollow Topic
Unfollow a topic.
| Parameter | Type | Description |
|---|---|---|
topic_id * | string |
get_trends Get Trends
Trending topics for a place (woeid 1 = worldwide). Find a woeid with get_trend_locations. Tweet volumes are present only for trends X decides to publish them for.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
woeid | integer |
get_trend_locations Get Trend Locations
Places you can request trends for, with their woeids.
get_bookmarks Get Bookmarks
Your bookmarked posts, newest first. Paginate with next_cursor.
| Parameter | Type | Description |
|---|---|---|
cursor | string | |
limit | integer |
search_bookmarks Search Bookmarks
Full-text search inside your bookmarks.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
cursor | string | |
limit | integer |
clear_all_bookmarks Clear All Bookmarks
Delete every bookmark. Irreversible — confirm first.
get_bookmark_folders Get Bookmark Folders
List your bookmark folders. X gates bookmark folders behind Premium.
create_bookmark_folder Create Bookmark Folder
Create a bookmark folder (Premium-gated by X).
| Parameter | Type | Description |
|---|---|---|
name * | string |
edit_bookmark_folder Edit Bookmark Folder
Rename a bookmark folder (Premium-gated by X).
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | |
name * | string |
delete_bookmark_folder Delete Bookmark Folder
Delete a bookmark folder. The bookmarks inside are not deleted.
| Parameter | Type | Description |
|---|---|---|
folder_id * | string |
add_tweet_to_folder Add Tweet To Folder
Put a bookmarked post into a folder.
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | |
tweet_id * | string |
remove_tweet_from_folder Remove Tweet From Folder
Remove a post from a folder (keeps the bookmark itself).
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | |
tweet_id * | string |
get_bookmark_folder_timeline Get Bookmark Folder Timeline
Posts inside one bookmark folder.
| Parameter | Type | Description |
|---|---|---|
folder_id * | string | |
limit | integer |
schedule_tweet Schedule Tweet
Schedule a post for a future ISO-8601 time (e.g. 2026-12-01T12:00:00Z). Posting happens later without you — clear it with the user, and note the time is UTC unless the string carries an offset.
| Parameter | Type | Description |
|---|---|---|
execute_at * | string | |
text * | string | |
media_ids | string | |
reply_to |
get_scheduled_tweets Get Scheduled Tweets
Everything currently queued, with execute_at in ISO-8601 and state.
edit_scheduled_tweet Edit Scheduled Tweet
Change the text or time of a queued post.
| Parameter | Type | Description |
|---|---|---|
execute_at * | string | |
scheduled_id * | string | |
text * | string |
delete_scheduled_tweet Delete Scheduled Tweet
Cancel a queued post.
| Parameter | Type | Description |
|---|---|---|
scheduled_id * | string |
create_draft Create Draft
Save a draft (never publishes by itself).
| Parameter | Type | Description |
|---|---|---|
text * | string |
get_drafts Get Drafts
Your saved drafts.
edit_draft Edit Draft
Rewrite a saved draft.
| Parameter | Type | Description |
|---|---|---|
draft_id * | string | |
text * | string |
delete_draft Delete Draft
Delete a saved draft.
| Parameter | Type | Description |
|---|---|---|
draft_id * | string |
get_account_settings Get Account Settings
The authenticated account as X sees it, plus a stale-handle warning. X removed the REST settings endpoint, so language/timezone are no longer exposed; everything here comes from GraphQL Viewer.
update_profile Update Profile
Change your public display name, bio, location or website. Only the fields you pass are touched (empty means "leave it"). Bio cannot contain < > or & — X rejects them with code 120.
| Parameter | Type | Description |
|---|---|---|
bio | string | |
location | string | |
name | string | |
website | string |
update_profile_image Update Profile Image
Replace the avatar. Takes a local jpg/png/gif path.
| Parameter | Type | Description |
|---|---|---|
file_path * | string |
update_profile_banner Update Profile Banner
Replace the banner/header image (recommended 1500x500).
| Parameter | Type | Description |
|---|---|---|
file_path * | string |
delete_profile_banner Delete Profile Banner
Remove the banner image.