SocialDataX X Twitter MCP

SocialDataX X / Twitter MCP for public post search, post details, comments and replies, creator profiles, creator posts, and paginated results.

Documentation

X / Twitter MCP

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/mcp
  • Hosted transport: streamable-http
  • Authentication: Authorization: Bearer <SOCIALDATAX_API_KEY>
  • Product: SocialDataX / 社媒数据助手
  • Website and API Key access: https://socialdatax.com/ai?from=github
  • Registry name: com.52choujiang/x-insights
  • Future registry name: com.socialdatax/x-insights
  • Current public capability version: 0.1.0

Scope

Use this service for public X / Twitter post search, post details, first-level comments, comment replies, public user info, and user posts. It does not provide account login, posting, editing, liking, commenting, following, or other account actions.

Tools

ToolPurpose
socialdatax_get_points_balanceQuery the current API Key account balance.
x_search_postsSearch public posts; use when a search term is available, and continue with page_token.
x_get_post_detail_by_post_idRead post details from a post ID.
x_get_post_detail_by_post_urlRead post details from a post URL.
x_get_post_comments_by_post_idRead first-level comments from a post ID.
x_get_post_comments_by_post_urlRead first-level comments from a post URL.
x_get_post_comment_replies_by_comment_idRead replies from a post ID and first-level comment ID.
x_get_user_info_by_user_idRead public user info from a user ID.
x_get_user_info_by_usernameRead public user info from a username.
x_get_user_info_by_profile_urlRead public user info from a profile URL.
x_get_user_posts_by_user_idRead public user posts from a user ID.
x_get_user_posts_by_usernameRead public user posts from a username.
x_get_user_posts_by_profile_urlRead public user posts from a profile URL.

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.