SocialDataX 小红书 Xiaohongshu XHS RedNote MCP

SocialDataX(社媒数据助手)is a read-only MCP for 小红书 / Xiaohongshu / XHS / RedNote, supporting 笔记搜索, 笔记详情, 评论, 评论回复, 博主信息, 博主笔记列表, note search, note details, comments, comment replies, creator profiles, and creator notes.

小红书 MCP | Xiaohongshu MCP | XHS MCP | RedNote MCP

This public repository provides public connection docs and MCP metadata for a hosted 小红书 MCP / Xiaohongshu MCP / XHS MCP / RedNote MCP service.

If you are looking for a 小红书 MCP, Xiaohongshu MCP, XHS MCP, or RedNote MCP for social media research workflows, this repository includes:

  • public MCP metadata and client configuration examples
  • the hosted streamable-http endpoint for clients that support remote MCP
  • an mcp-remote fallback example for command/stdio-only MCP clients

The business implementation is privately hosted. This repository exposes only the public connection surface for read-only social media intelligence workflows.

Search Aliases

Common search phrases for this MCP service:

  • 小红书 MCP
  • 小红书 数据 MCP
  • 小红书 搜索 MCP
  • 小红书 XHS MCP
  • Xiaohongshu MCP
  • Xiaohongshu data MCP
  • XHS MCP
  • XHS data MCP
  • RedNote MCP
  • RedNote data MCP
  • Xiaohongshu note search MCP

Service

  • Hosted MCP endpoint: https://mcp.52choujiang.com/xhs/mcp
  • Hosted transport: streamable-http
  • Authentication: Authorization: Bearer <SOCIALDATAX_API_KEY>
  • Product: SocialDataX / 社媒数据助手
  • Website: https://socialdatax.com
  • Registry name: com.52choujiang/xhs-insights
  • Future registry name: com.socialdatax/xhs-insights
  • Current public capability version: 0.1.5

Platform MCP

Use the hosted streamable-http endpoint directly from clients that support authenticated remote MCP. For clients that only support command/stdio MCP servers, use mcp-remote as a local compatibility proxy.

Read-Only Scope

This MCP service is designed for read-only social media intelligence workflows. It does not provide account login, posting, editing, liking, commenting, or other account actions.

Supported workflows include:

  • Search related Xiaohongshu notes by keyword, with optional sort, note type, and publish-time filters.
  • Resolve a shared note link, short link, share text, or note ID into structured note details.
  • Read note details when the caller already has a note ID.
  • Fetch paginated first-level comments for comment analysis.
  • Fetch paginated replies under a first-level comment.
  • Read creator profile data from a profile link, short link, share text, or user ID.
  • Fetch paginated creator note lists from a user ID, profile link, short link, or share text for content style and account research.

Tools

ToolPublic purpose
xhs_search_notesSearch Xiaohongshu / 小红书 notes by keyword with optional sort, note type, and publish-time filters.
xhs_get_note_detail_by_note_urlResolve a shared XHS link, short link, share text, or note ID into structured note details.
xhs_get_note_detail_by_note_idFetch structured note details when the caller already has a note ID.
xhs_get_note_comments_by_note_idFetch paginated first-level comments when the caller already has a note ID.
xhs_get_note_comments_by_note_urlFetch paginated first-level comments directly from a shared note URL, short link, or share text.
xhs_get_note_sub_comments_by_comment_idFetch paginated replies under a first-level comment by note ID and comment ID.
xhs_get_user_info_by_user_idFetch creator profile data when the caller already has a user ID.
xhs_get_user_info_by_profile_urlResolve a profile link, short link, or share text into creator profile data.
xhs_get_user_posted_notes_by_user_idFetch a paginated list of notes published by a creator when the caller already has a user ID.
xhs_get_user_posted_notes_by_profile_urlFetch a paginated list of notes published by a creator from a profile link, short link, or share text.

Quick Start

For clients that support authenticated streamable-http, use the hosted endpoint directly:

{
  "mcpServers": {
    "socialdatax-xhs": {
      "type": "streamable_http",
      "url": "https://mcp.52choujiang.com/xhs/mcp",
      "headers": {
        "Authorization": "Bearer <SOCIALDATAX_API_KEY>"
      }
    }
  }
}

A ready-to-copy example is available in examples/streamable_http_config.json.

For command/stdio-only MCP clients, use mcp-remote:

{
  "mcpServers": {
    "socialdatax-xhs": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.52choujiang.com/xhs/mcp",
        "--header",
        "Authorization: Bearer <SOCIALDATAX_API_KEY>"
      ]
    }
  }
}

Claude Code can use remote HTTP directly:

claude mcp add --transport http --header "Authorization: Bearer <SOCIALDATAX_API_KEY>" socialdatax-xhs https://mcp.52choujiang.com/xhs/mcp

Claude Desktop should use its remote MCP / Connectors UI when available. If a local configuration file in your version only supports command/stdio servers, use the mcp-remote fallback.

Client Examples

Configuration examples are available in examples:

API Key

Request or manage API access from the product website:

https://socialdatax.com

Use the key as a Bearer token in the Authorization request header. Do not commit real API keys to code, docs, issues, or screenshots.

Directory Metadata

Public metadata files in this repository:

  • server-card.json: directory-oriented metadata for the hosted service. Official MCP Registry publishing uses the private source repo's registry/xhs/server.json for the current com.52choujiang/xhs-insights entry.
  • mcp.json: generic command/stdio fallback config using mcp-remote.
  • glama.json: Glama repository ownership metadata.
  • SUBMISSION_CHECKLIST.md: checklist for MCP directory submissions.

License

The files in this public repository are released under the MIT License. The license covers the public documentation and configuration examples in this repository only. It does not cover the managed service implementation, hosted infrastructure, or any private backend code outside this repository.

Server Terkait