SocialDataX X Twitter MCP
X / Twitter MCP
LobeHub 用户请使用 LobeHub setup / 接入说明,包含专属官网入口、认证和来源配置。
This public listing provides connection metadata and client examples for the hosted SocialDataX X / Twitter MCP service. The implementation is privately hosted; this directory contains public connection materials only.
Service
Hosted MCP endpoint:
https://mcp.socialdatax.com/x/mcpHosted transport:
streamable-httpAuthentication:
Authorization: Bearer <SOCIALDATAX_API_KEY>Product:
SocialDataX/社媒数据助手Website and API Key access: https://socialdatax.com/ai?from=github
Registry name:
com.52choujiang/x-insightsFuture registry name:
com.socialdatax/x-insightsLocal metadata:
0.1.4with 21 tools, including authored user replies.Hosted production:
0.1.4with 21 tools; initialize/server-card verified after deployment on 2026-10-16. All three user-replies entry points, continuation and HTTP were verified on the same day.Official Registry:
0.1.4, verified active and latest on 2026-10-16.
Related MCP server: X Twitter Scraper
Scope
Use this service for public X / Twitter post search, user search, post details, first-level comments, comment replies, public user info, user posts and authored replies, and video speech-to-text. It does not provide account login, posting, editing, liking, commenting, following, or other account actions.
Tools
Tool | Purpose |
| Query the current API Key account's SocialDataX points balance / 积分余额、剩余积分或点数. |
| Search users by name or keyword; continue with |
| Get keyword suggestions for post search; no pagination or recommended users. |
| Search public posts; use when a search term is available, and continue with |
| Read post details from a post ID. |
| Read post details from a post URL. |
| Read first-level comments from a post ID. |
| Read first-level comments from a post URL. |
| Read replies from a post ID and first-level comment ID. |
| Read public user info from a user ID. |
| Read public user info from a username. |
| Read public user info from a profile URL. |
| Read public user posts from a user ID. |
| Read public user posts from a username. |
| Read public user posts from a profile URL. |
| Read replies authored by a user, using their user ID. |
| Read replies authored by a user, using their username. |
| Read replies authored by a user, using their profile URL. |
| Submit the current post's first video with an available MP4 variant for speech-to-text by post URL. |
| Submit the current post's first video with an available MP4 variant for speech-to-text by post ID. |
| Continue querying the same speech-to-text job ID until terminal. |
When a post ID, post URL, username, or profile URL is already available, use the corresponding detail, comment, user, or user-post tool instead of searching again.
Quick Start
Use the hosted endpoint directly when the client supports authenticated streamable-http:
{
"mcpServers": {
"socialdatax-x": {
"type": "streamable_http",
"url": "https://mcp.socialdatax.com/x/mcp",
"headers": {"Authorization": "Bearer <SOCIALDATAX_API_KEY>"}
}
}
}For command/stdio-only clients, use npx -y mcp-remote https://mcp.socialdatax.com/x/mcp --header "Authorization: Bearer <SOCIALDATAX_API_KEY>". See the files in examples.
Request or manage API access at https://socialdatax.com/ai?from=github. Never commit a real API Key.
User reply results reuse the post fields, including post_id, text, author and reply_to_post_id. They include self-replies and exclude other authors’ conversation context. Continue with next_page_token even when the current page is empty; stop when the token is empty. Keep the user and lookup method unchanged. Tokens cannot be reused with user posts or other tools.
Gemini CLI extension
Install this service from its public GitHub repository:
gemini extensions install https://github.com/DevinChen2014/x-twitter-mcpWhen prompted, enter your own SOCIALDATAX_API_KEY. Get a key from SocialDataX; business tool calls consume SocialDataX credits. The extension connects directly to the existing hosted MCP endpoint and does not include the private service implementation.
Verify the connection with gemini mcp list. To change the saved key, run:
gemini extensions config socialdatax-xThis server cannot be deployed
Maintenance
Related MCP Connectors
X (formerly Twitter): X (formerly Twitter) public and private data API for search, posts (Tweets).
Read-only public X (Twitter) data: profiles, tweets, threads, followers, search. Pay per result.
Official twitterapi.io hosted MCP: Twitter/X tweets, users, followers, trends. OAuth or API key.
X/Twitter search, posts, comments, user profiles, user posts/replies and video transcripts.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA read-only X/Twitter MCP server that enables data retrieval for user profiles, tweets, and social graphs using OAuth 2.0 Bearer Token authentication. It supports searching recent tweets, viewing timelines, and tracking engagement metrics like followers, likes, and retweets.3MIT
- AlicenseAqualityAmaintenanceReal-time X (Twitter) data platform with 2 MCP tools covering 120+ REST API endpoints. Search tweets, look up users, get timelines, extract followers/likes/retweets in bulk, monitor accounts, run giveaway draws, and perform write actions (tweet, like, retweet, follow, DM). OAuth 2.1 authentication with PKCE.2487 npm221MIT
- AlicenseNot gradedqualityBmaintenanceInstagram MCP by SocialDataX for public post search and details, comments and replies, creator profiles and posts, and video or Reels speech-to-text.MIT
- AlicenseBqualityCmaintenanceEnables access to the X API v2 through MCP, covering 175 of 190 published operations with tools for browsing, calling, posting, searching, and managing posts.70MIT