TwittrAPI provides a cost-effective Model Context Protocol interface connecting AI assistants like Claude, Cursor, and ChatGPT to Twitter/X data. Operating on a pay-as-you-go REST API without requiring an expensive X developer account, it enables agents to search tweets, fetch user profiles, inspect follower networks, explore communities, and query Spaces. In addition to public data retrieval, configuring user session credentials unlocks account management actions, allowing agents to publish tweets, reply to threads, send direct messages, and curate lists via both local stdio executions and remote streamable HTTP servers.
主要功能
010 GitHub stars
02Token-optimized JSON responses designed to reduce LLM context usage by approximately 60% compared to raw GraphQL data.
03Flexible deployment supporting both local CLI execution (stdio) and remote, stateless HTTP endpoints with OAuth.
04Comprehensive public data retrieval covering tweets, user profiles, followers, community discussions, and Spaces.
05Optional authenticated account tools to post tweets, manage direct messages, like, retweet, and bookmark.
06Multi-provider compatibility supporting direct TwittrAPI keys or Twitter AIO subscriptions via RapidAPI.
使用案例
01Social listening and brand sentiment analysis across trending topics, user mentions, and search queries.
02Automated social account management, including scheduling posts, handling inquiries via DM, and organizing lists.
03Competitive intelligence and audience research by analyzing public user profiles, followers, and interaction metrics.