socialdatax_get_points_balanceLABSCO SUMMARY
Research only — nothing in this surface can act as an account.
It reads notes, products, reviews, comments, creators, topic pages and transcripts, and stops there: no login, no posting, no liking, no commenting. That makes it a calmer thing to hand an agent than a tool that could act in your name. Two mechanics decide whether it behaves in practice: pagination works only when next_page_token goes back untouched, and returned note URLs must be forwarded exactly as received, since the xsec_token is part of what makes them resolve. The PGY calls are the ones with a price on them — 20 points on success, nothing on failure — so watch the balance while exploring.
What it is
A hosted MCP service for Xiaohongshu (小红书 / RedNote) content research, reached at https://mcp.socialdatax.com/xhs/mcp. The surface is reading only: notes, products, reviews, comments, creator profiles, topic pages, the search hot list and video transcripts, with no login, posting, liking or commenting anywhere in it. This repository carries the connection docs and metadata; the implementation is hosted.
What you get
- xhs_search_notes searches by keyword with sort, note type and publish-time filters, continuing through pages by passing next_page_token back unchanged
- Note details from either end: xhs_get_note_detail_by_note_id when you already have the ID, xhs_get_note_detail_by_note_url when all you have is a link, a short link or pasted share text
- Comments the same way — xhs_get_note_comments_by_note_id and xhs_get_note_comments_by_note_url, sorted default, time_descending or like_count_descending — with xhs_get_note_sub_comments_by_comment_id for the replies underneath
- Products: xhs_search_products by name, brand or category, then xhs_get_product_detail and xhs_get_product_reviews by sku_id, and xhs_get_product_review_replies under a review
- Creator research: xhs_get_user_info_by_user_id or by profile URL, with xhs_get_user_posted_notes_by_user_id and by profile URL for what they have published
- Topic pages through xhs_get_topic_notes_by_topic_url or xhs_get_topic_notes_by_page_id, sorted hot or time_descending
- xhs_get_search_hot_list returns the hot list with each item's heat value, and xhs_search_suggestions returns suggestions for a partial phrase along with their search target
- The PGY (蒲公英) pair — xhs_pgy_get_note_detail_by_note_id and xhs_pgy_get_note_detail_by_note_url — returns commercial data rather than ordinary public detail: exposure, reads, engagement counts and image or video pricing. A successful call costs 20 points and a failure costs nothing
- Video notes can be transcribed: submit with xhs_submit_video_speech_text_by_note_url or by note ID, then poll xhs_get_video_speech_text_job with the job_id it returned — each poll waits up to 240 seconds
- socialdatax_get_points_balance reports what is left on the key
Requirements
The endpoint is https://mcp.socialdatax.com/xhs/mcp over streamable HTTP with Authorization: Bearer <YOUR_SOCIALDATAX_API_KEY>, and keys come from socialdatax.com. Clients that speak only stdio reach it through mcp-remote carrying the same header. Usage is metered in points, with the PGY note detail at 20 points per successful call. A returned note_url has to be passed on exactly as given, xsec_token included — a link rebuilt from note_id will not resolve. The files in this repository are MIT; that does not extend to the hosted service.
Setup effort
One command plus a key — claude mcp add --transport http socialdatax-xhs https://mcp.socialdatax.com/xhs/mcp --header 'Authorization: Bearer ${SOCIALDATAX_API_KEY}'
USE CASES
Sizing up how a topic is being talked about
Search notes by keyword with the sort and publish-time filters that matter, then read the hot list and suggestion terms to see what the platform itself is surfacing.
Turning a link someone sent you into structured data
Resolve a share link, short link or pasted share text into the full note, then read its comments and the replies beneath them.
Researching a product and what buyers said about it
Search by product name or brand, open the detail by sku_id, then work through the reviews with image and recency filters and the replies under them.
Vetting a creator before a collaboration
Read the profile from a link or user ID and page through what they have actually published, then pull the PGY figures — exposure, reads, engagement and pricing — for the notes that matter.
Getting the words out of a video note
Submit the transcript job from a link or note ID and poll the same job_id until it reaches a terminal state. Each poll waits up to 240 seconds rather than returning empty.
24 tools
Listed in project docs. Your client may show a different list.
xhs_search_notesxhs_search_productsxhs_get_product_detailxhs_pgy_get_note_detail_by_note_idxhs_pgy_get_note_detail_by_note_urlxhs_get_product_reviewsxhs_get_product_review_repliesxhs_get_search_hot_listxhs_search_suggestionsxhs_get_note_detail_by_note_urlxhs_get_note_detail_by_note_idxhs_get_note_comments_by_note_idxhs_get_note_comments_by_note_urlxhs_get_note_sub_comments_by_comment_idxhs_get_user_info_by_user_idxhs_get_user_info_by_profile_urlxhs_get_user_posted_notes_by_user_idxhs_get_user_posted_notes_by_profile_urlxhs_get_topic_notes_by_topic_urlxhs_get_topic_notes_by_page_idxhs_submit_video_speech_text_by_note_urlxhs_submit_video_speech_text_by_note_idxhs_get_video_speech_text_jobBEFORE YOU INSTALL
What to know first
Tools you get
24 tools named in the project's documentation.
Requires
- A client that can reach a remote MCP server over HTTP
- SOCIALDATAX_API_KEY in your environment
Where it runs
All 4 documented clients connect to a hosted endpoint.
INSTALLATION
Connect your client
Server setup
claude mcp add
Claude Code
claude mcp add --transport http socialdatax-xhs https://mcp.socialdatax.com/xhs/mcp --header 'Authorization: Bearer ${SOCIALDATAX_API_KEY}'Hosted endpoint
https://mcp.socialdatax.com/xhs/mcpAdd this hosted endpoint to your MCP client using the credentials listed under Requirements.
MCP Clients
Claude Desktop
{
"mcpServers": {
"socialdatax-xhs": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.socialdatax.com/xhs/mcp",
"--header",
"Authorization: Bearer ${SOCIALDATAX_API_KEY}"
],
"env": {
"SOCIALDATAX_API_KEY": "<YOUR_SOCIALDATAX_API_KEY>"
}
}
}
}Cursor, Any MCP client
{
"mcpServers": {
"socialdatax-xhs": {
"type": "streamable_http",
"url": "https://mcp.socialdatax.com/xhs/mcp",
"headers": {
"Authorization": "Bearer <YOUR_SOCIALDATAX_API_KEY>"
}
}
}
}