TwitterTools MCP
v1.2.2Fetch public X posts and threads; count and split text with X's real rules.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_tweet
Fetch one public X (Twitter) post by URL or ID: text, author, engagement counts, and media with direct CDN URLs (photos, or MP4 video variants sorted by quality). Use for a specific post the user links or cites — not for searching X, timelines, bookmarks, or DMs. Deleted, protected, or age-restricted posts are not available without an X login.
| Parameter | Type | Description |
|---|---|---|
url_or_id * | string | Post URL (x.com or twitter.com), bare numeric ID, or text containing one |
get_thread
Unroll a public X thread into its posts in order. For a single post, use get_tweet instead. Expensive upstream — call sparingly, and prefer pasting the thread's LAST post, which returns the whole chain. Results may be partial; the response says so when they are.
| Parameter | Type | Description |
|---|---|---|
url_or_id * | string | Post URL (x.com or twitter.com), bare numeric ID, or text containing one |
count_chars
Count text against X's real 280-character limit: CJK and emoji weigh 2, any link weighs exactly 23. Same engine as twittertools.com/tweet-character-counter/.
| Parameter | Type | Description |
|---|---|---|
text * | string | The text to measure |
split_thread
Split long text into numbered posts (1/, 2/, …) that each fit X's 280 weighted-character limit, preferring sentence boundaries and never breaking a URL. Same engine as twittertools.com/tweet-splitter/.
| Parameter | Type | Description |
|---|---|---|
text * | string | The text to split |
numbering | boolean | Prefix each post with 'n/ ' (default true) |
parse_tweet_url
Parse a post URL, bare ID, or free text containing an ID: returns the numeric ID, author handle, posting timestamp (decoded from the Snowflake ID), and canonical permalink. Offline.
| Parameter | Type | Description |
|---|---|---|
input * | string | URL, ID, or text containing either |