X Twikit

•
37
•

Connect AI assistants to X (Twitter) using browser cookies for complete timeline engagement, direct messaging, user tracking, and tweet management.

X Twikit is a lightweight Model Context Protocol (MCP) server that empowers AI agents and LLM clients, such as Claude Desktop and Cursor, to interact directly with X (formerly Twitter). Leveraging the twikit library and authenticating via standard web cookies, it provides 29 distinct tools covering core social interactions—including posting media tweets, managing replies, liking, bookmarking, and handling direct messages. Additionally, it enables agents to monitor real-time trends, review notifications, execute advanced tweet searches, and track targeted priority accounts (VIP watchlists), returning structured JSON responses designed specifically for seamless agentic workflows.

主要功能

01Full tweet lifecycle control including publishing with local media, replying, quoting, bookmarking, and deletion
02Direct messaging support to inspect inbox threads, send messages, and share tweet cards
03Granular search and trend discovery with filters for author, date range, and engagement thresholds
04VIP Watchlist tracking to aggregate timelines and activities of priority accounts
05Unified JSON response structure with built-in runtime patches for stable scraping and signing
0637 GitHub stars

使用案例

01Equipping autonomous AI agents to manage corporate or personal brand accounts by drafting and publishing social updates
02Building conversational monitoring bots that aggregate real-time notifications, mentions, and industry trends
03Tracking competitors or key industry voices via VIP Watchlist timeline scraping without paid API tiers