Назад към всички

twit-mcp

// Real-time X/Twitter data via x402 micropayments. Look up users, fetch tweets, search the full archive — pay per request in USDC on Base. No API keys required.

$ git log --oneline --stat
stars:1,933
forks:367
updated:March 4, 2026
SKILL.mdreadonly
SKILL.md Frontmatter
nametwit-mcp
descriptionReal-time X/Twitter data and write actions via x402 micropayments. Fetch articles, tweets, users, lists, and communities — post tweets, like, retweet, bookmark, follow — pay per request in USDC on Base. No API keys required.
version1.4.1
homepagehttps://twit.sh
metadata[object Object]

twit-mcp

You have access to real-time X/Twitter data and write actions through this MCP server. Each tool call costs $0.0025–$0.01 USDC, paid automatically from the configured wallet on Base. No API key is required.

Available Tools

Articles

ToolDescriptionPrice
get_article_by_idGet the full content of an X Article as Markdown by tweet ID. Not in official X API.$0.01 USDC

Tweets

ToolDescriptionPrice
get_tweet_by_idGet a tweet by its ID$0.0025 USDC
get_user_tweetsGet a user's recent tweets (paginated)$0.01 USDC
get_tweet_repliesGet replies to a tweet (paginated)$0.01 USDC
get_tweet_quote_tweetsGet quote tweets for a tweet (paginated)$0.01 USDC
get_tweet_retweeted_byGet users who reposted a tweet (paginated)$0.01 USDC
search_tweetsFull-archive tweet search with filters$0.01 USDC
get_tweetsBulk lookup up to 50 tweets by ID$0.01 USDC
post_tweetPost a new tweet as the authenticated user$0.0025 USDC
delete_tweetDelete a tweet owned by the authenticated user$0.0025 USDC
like_tweetLike a tweet as the authenticated user$0.0075 USDC
unlike_tweetUnlike a tweet as the authenticated user$0.005 USDC
bookmark_tweetBookmark a tweet$0.0025 USDC
unbookmark_tweetRemove a tweet from bookmarks$0.0025 USDC
retweetRepost a tweet as the authenticated user$0.0075 USDC
unretweetUndo a repost$0.005 USDC

Users

ToolDescriptionPrice
get_user_by_usernameGet a user profile by username$0.005 USDC
get_user_by_idGet a user profile by numeric ID$0.005 USDC
search_usersSearch users by keyword (paginated)$0.01 USDC
get_user_followersGet a user's followers (paginated)$0.01 USDC
get_user_followingGet accounts a user follows (paginated)$0.01 USDC
get_usersBulk lookup up to 50 users by ID$0.01 USDC
follow_userFollow a user as the authenticated user$0.0075 USDC
unfollow_userUnfollow a user as the authenticated user$0.005 USDC

Lists

ToolDescriptionPrice
get_list_by_idGet list details by numeric ID$0.0025 USDC
get_list_membersGet members of a list (paginated)$0.01 USDC
get_list_followersGet followers of a list (paginated)$0.01 USDC
get_list_tweetsGet latest tweets from a list (paginated)$0.01 USDC

Communities

ToolDescriptionPrice
get_community_by_idGet community details by ID. Not in official X API.$0.0025 USDC
get_community_postsGet latest posts from a community (paginated). Not in official X API.$0.01 USDC
get_community_membersGet community members with roles (paginated). Not in official X API.$0.01 USDC

Twitter Auth

Write actions (post, delete, like, bookmark, retweet, follow) require a connected Twitter/X account. Before attempting any write action, call twitter_account_status to check if an account is connected.

ToolDescription
connect_twitterConnect a Twitter/X account (opens a browser window)
twitter_account_statusCheck if a Twitter account is currently connected
disconnect_twitterDisconnect and clear stored credentials

Connecting an account:

  1. Call connect_twitter — a Chrome window will open at x.com
  2. The user logs in if prompted
  3. Once confirmed, credentials are saved locally to ~/.twit-mcp-credentials.json
  4. Write actions are available immediately — no restart needed

If a write action is requested and no account is connected, call connect_twitter first and wait for confirmation before proceeding.

How Payments Work

Each tool call makes an HTTP request to x402.twit.sh. The server responds with 402 Payment Required. The MCP server signs a USDC payment locally using the configured WALLET_PRIVATE_KEY and retries — all automatically, in one round-trip. The private key never leaves the machine.

Links