Skip to main content
Glama

SocialDataX 小红书 Xiaohongshu XHS RedNote MCP

Server Details

XHS search/details, PGY, comments/replies, users/ID resolution/posts, transcript

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

A3.6/5.0

Scored across 44 tools

Disambiguation4/5

Each tool has a distinct resource+action, and the descriptions explicitly cross-reference sibling tools (e.g. 'use X instead of Y'), which strongly aids selection. The main residual ambiguity is within the large 蒲公英 analytics family (commercial_overview vs metrics_trend vs notes_performance) and the near-duplicate ID/URL pairs, where an agent must read carefully to avoid picking the wrong variant.

Naming Consistency4/5

Names follow a predictable `xhs_<verb>_<resource>_by_<param>` snake_case pattern, with a consistent `xhs_pgy_` prefix for the commercial sub-surface. Minor deviations (e.g. `xhs_search_notes`, `xhs_get_share_info`, `socialdatax_get_points_balance`) exist but remain readable and predictable.

Tool Count2/5

44 tools is heavy for any MCP surface; roughly eight are ID/URL twins that double the count, plus a dense cluster of pgy analytics tools. While the domain (notes, users, products, live, search, commercial data) is genuinely broad, the surface exceeds what an agent can comfortably navigate.

Completeness4/5

Coverage is strong for a read-only data API: notes/comments/sub-comments, search (notes, images, products, users, suggestions, hot list), users, products/reviews/replies, live history and schedules, share links, video speech-to-text, and commercial analytics. Minor gaps remain (e.g. topic discovery/search, follower lists, no write operations), but core read workflows are fully served.

Available Tools

44 tools
socialdatax_get_points_balanceA
Read-only
Inspect

查询当前 API Key 账户的 SocialDataX 积分余额、剩余积分或点数 / remaining points balance。需要充值时请访问 https://socialdatax.com/dashboard/billing。

Inputs: no named parameters. Returns: object

xhs_get_note_comments_by_note_idB
Read-only
Inspect

根据 note_id 获取单篇小红书笔记的一级评论,支持 sort_type 评论排序和 page_token 翻页。

Inputs: note_id (required), sort_type, page_token. Returns: items, points, comment_count, next_page_token, +1 more

xhs_get_note_comments_by_note_urlA
Read-only
Inspect

根据笔记链接、短链接或分享文案获取单篇小红书笔记的一级评论,支持 sort_type 评论排序和 page_token 翻页。

Inputs: note_url (required), sort_type, page_token. Returns: items, points, comment_count, next_page_token, +1 more

xhs_get_note_detail_by_note_idA
Read-only
Inspect

根据 note_id 获取单篇小红书笔记详情。 返回的 note_url 非 null 时,在任何使用场景都必须原样保留完整 URL,包括 xsec_token 等 query 参数;例如最终回答、展示、引用、存储、输出或传递;不得用 note_id 重新拼接链接;note_url 为 null 时不要用 note_id 合成公开链接。

Inputs: note_id (required). Returns: title, video, author, points, +16 more

xhs_get_note_detail_by_note_urlA
Read-only
Inspect

根据笔记链接、短链接或分享文案获取单篇小红书笔记详情。 返回的 note_url 在任何使用场景都必须原样保留完整 URL,包括 xsec_token 等 query 参数;例如最终回答、展示、引用、存储、输出或传递;不得用 note_id 重新拼接链接;note_url 为 null 时不要用 note_id 合成公开链接。

Inputs: note_url (required). Returns: title, video, author, points, +16 more

xhs_get_note_sub_comments_by_comment_idA
Read-only
Inspect

根据 note_id 和一级评论 comment_id 获取二级评论;用户已提供完整合法的 ID 组合时直接使用;已有 note_id 或笔记链接但缺少必需 ID 时,调用对应一级评论工具补全;缺少笔记定位信息时向用户索取;支持 page_token 翻页。

Inputs: note_id (required), comment_id (required), page_token. Returns: items, points, next_page_token

xhs_get_product_detail_by_sku_idA
Read-only
Inspect

根据小红书商品 sku_id 获取商品详情;已有该 ID 时直接使用,否则可从 xhs_search_products 获取。只有商品链接、短链接或分享文案时使用 xhs_get_product_detail_by_url;本工具不支持商品链接、spu_id 或搜索词。

Inputs: sku_id (required). Returns: price, title, points, sku_id, +19 more

xhs_get_product_detail_by_urlA
Read-only
Inspect

根据小红书商品链接、短链接或分享文案获取商品详情,无需先搜索。已有完整 sku_id 时使用 xhs_get_product_detail_by_sku_id;返回的 sku_id 可继续用于商品评价工具。

Inputs: url (required). Returns: price, title, points, sku_id, +19 more

xhs_get_product_review_repliesA
Read-only
Inspect

根据一级商品评价 review_id 获取其下回复;已有该 ID 时直接使用,否则可从 xhs_get_product_reviews 获取;支持 page_token 翻页。继续翻页时必须将返回的完整 next_page_token 原样作为 page_token 传回,不得截断、缩写、掩码或用省略号替换中间内容;不接受 root_review_id。

Inputs: review_id (required), page_token. Returns: items, points, next_page_token

xhs_get_product_review_reply_repliesA
Read-only
Inspect

根据商品评价回复 review_id 获取其下的嵌套回复;已有该 ID 时直接使用,否则可从 xhs_get_product_review_replies 获取;支持 page_token 翻页。继续翻页时必须将返回的完整 next_page_token 原样作为 page_token 传回,不得截断、缩写、掩码或用省略号替换中间内容;不接受 root_review_id。

Inputs: review_id (required), page_token. Returns: items, points, next_page_token

xhs_get_product_reviewsA
Read-only
Inspect

根据小红书商品 sku_id 获取商品评价;已有该 ID 时直接使用,否则可从 xhs_search_products 获取;支持 sort_type、has_image 和 page_token 翻页。返回当前可获取的评价,不保证覆盖商品展示的全部评价。继续翻页时必须将返回的完整 next_page_token 原样作为 page_token 传回,不得截断、缩写、掩码或用省略号替换中间内容;不支持商品链接、spu_id 或搜索词。

Inputs: sku_id (required), has_image, sort_type, page_token. Returns: items, points, next_page_token

xhs_get_search_hot_listC
Read-only
Inspect

获取小红书搜索热榜。

Inputs: no named parameters. Returns: items, points

xhs_get_share_infoA
Read-only
Inspect

根据小红书笔记分享短链接或完整分享文案获取分享人、笔记摘要及作者。

需要笔记完整内容时,使用笔记详情工具;分享信息不包含分享时间。

Inputs: share_text (required). Returns: points, note_info, share_user_info

xhs_get_topic_notes_by_page_idB
Read-only
Inspect

根据 page_id 获取标签页笔记列表,支持 sort_type 排序和 page_token 翻页。

Inputs: page_id (required), sort_type, page_token. Returns: items, points, next_page_token, total_note_count, +1 more

xhs_get_topic_notes_by_topic_urlB
Read-only
Inspect

根据话题页链接、短链接或分享文案获取标签页笔记列表,支持 sort_type 排序和 page_token 翻页。

Inputs: topic_url (required), sort_type, page_token. Returns: items, points, next_page_token, total_note_count, +1 more

xhs_get_user_id_by_encrypted_user_idA
Read-only
Inspect

根据完整加密用户 ID 获取稳定 user_id。 仅需单独转换 ID 时使用;查询用户信息或作品可直接使用已有用户 ID 或主页链接,无需先调用本工具。

Inputs: encrypted_user_id (required). Returns: points, user_id

xhs_get_user_info_by_profile_urlA
Read-only
Inspect

根据主页链接、短链接或分享文案获取单个小红书用户信息。

Inputs: profile_url (required). Returns: bio, name, points, red_id, +16 more

xhs_get_user_info_by_user_idC
Read-only
Inspect

根据 user_id 获取单个小红书用户信息。

Inputs: user_id (required). Returns: bio, name, points, red_id, +16 more

xhs_get_user_live_history_by_profile_urlA
Read-only
Inspect

根据主播主页链接、短链接或分享文案读取其历史直播记录,返回开播时间和讲解商品数。支持 page_token 翻页;历史记录不保证可播放回放。

Inputs: profile_url (required), page_token. Returns: items, points, total_count, next_page_token

xhs_get_user_live_history_by_user_idA
Read-only
Inspect

根据用户 ID 读取该用户作为主播的历史直播记录,返回开播时间和讲解商品数。支持 page_token 翻页;历史记录不保证可播放回放。

Inputs: user_id (required), page_token. Returns: items, points, total_count, next_page_token

xhs_get_user_live_schedules_by_profile_urlA
Read-only
Inspect

根据主播主页链接、短链接或分享文案读取其已发布的直播预告,返回计划时间和预约人数。只读取信息,不执行预约操作。

Inputs: profile_url (required). Returns: items, points

xhs_get_user_live_schedules_by_user_idA
Read-only
Inspect

根据用户 ID 读取该主播已发布的直播预告,返回计划时间和预约人数。只读取信息,不执行预约操作。

Inputs: user_id (required). Returns: items, points

xhs_get_user_posted_notes_by_profile_urlA
Read-only
Inspect

根据主页链接、短链接或分享文案获取用户已发布笔记列表,支持 page_token 翻页。

Inputs: profile_url (required), page_token. Returns: items, points, next_page_token

xhs_get_user_posted_notes_by_user_idB
Read-only
Inspect

根据 user_id 获取用户已发布笔记列表,支持 page_token 翻页。

Inputs: user_id (required), page_token. Returns: items, points, next_page_token

xhs_get_video_speech_text_jobA
Read-only
Inspect

根据用户提供的有效 job_id,或提交工具返回的 job_id 查询任务状态;用于继续未完成任务,每次最多等待 240 秒,不触发重处理,也不要重复提交任务。

Inputs: job_id (required). Returns: error, job_id, status, message, +9 more

xhs_pgy_get_creator_commercial_overviewA
Read-only
Inspect

根据完整 user_id 获取小红书蒲公英创作者商业概览:笔记规模和中位数、服务表现、平台标签、增长、预估成本及对比值。 查询指定日常/合作口径的商业汇总与成本参考时使用,不返回逐篇明细。逐篇表现使用创作者笔记表现工具,也可选择日常或合作口径。资料与报价使用创作者档案工具,粉丝构成使用粉丝画像工具。 查看日常内容表现选 daily(默认,不是按天汇总);查看商单、品牌合作笔记或外溢进店的汇总表现选 cooperation。输出回显口径,不能混用;不是对全部字段统一筛选,note_count 不能解释为所选口径的笔记数。两种口径的成本估计依据不同,均不代表实际成交成本或ROI。 不支持指定日期,统计截止日期未提供;进店不等于订单或成交,不据此推断调用方自己的投放成绩。 成功直接返回业务字段和 points;成功调用扣减 20 积分,失败不扣费。

Inputs: user_id (required), note_scope. Returns: points, user_id, data_date, note_count, +34 more

xhs_pgy_get_creator_fans_profileA
Read-only
Inspect

根据完整 user_id 获取小红书蒲公英创作者粉丝画像,包括年龄、性别、地域、城市、兴趣和设备品牌分布及数据日期。 查询粉丝构成时使用;粉丝规模、增长、活跃、阅读和互动情况使用创作者粉丝汇总工具;创作者资料和报价使用创作者档案工具。 使用平台默认统计范围,不支持指定日期;分布不保证完整,不能据此推算粉丝人数或补齐其他类别。 成功返回画像字段和 points;成功调用扣减 20 积分,失败不扣费。

Inputs: user_id (required). Returns: points, user_id, data_date, age_distribution, +5 more

xhs_pgy_get_creator_fans_summaryA
Read-only
Inspect

根据完整 user_id 获取小红书蒲公英创作者粉丝总数、平台增长指标、活跃、阅读和互动粉丝人数及占比。 查询粉丝规模和活跃情况时使用;年龄、性别、地域和兴趣等构成使用创作者粉丝画像工具。 不支持指定日期或统计周期;增长周期及各统计窗口截止日期未提供,不能按查询日期推算,不承诺指定期间增长数据。 成功直接返回汇总字段和 points;成功调用扣减 20 积分,失败不扣费。

Inputs: user_id (required). Returns: points, user_id, follower_count, read_follower_ratio, +7 more

xhs_pgy_get_creator_metrics_trendA
Read-only
Inspect

根据完整 user_id 获取小红书蒲公英创作者曝光、阅读、互动中位数及预估成本的日期趋势和概览。 观察指标随时间变化时使用;中位数按 note_scope 选择日常或合作笔记,可选近30/90日、图文/视频/全部、自然/全流量,默认近30日、全部类型、全流量。合作口径包含进店指标,日常口径的进店字段为 null;输出回显统计条件,不能混用。 不支持自定起止日期;90日统计窗口不保证返回90个日点。返回指标不是每日新增量或累计总量,不可跨日期求和;可能缺少日期,不补零。 成本估算口径见字段说明,不代表实际成交成本。查看某种笔记类型的成本趋势时,设置 note_type;需要商业汇总或在同一份汇总中并列查看图文和视频成本时,使用商业概览工具。逐篇表现使用笔记表现工具。 成功直接返回业务字段和 points;成功调用扣减 20 积分,失败不扣费。

Inputs: user_id (required), note_type, note_scope, period_days, +1 more. Returns: items, points, summary, user_id, +4 more

xhs_pgy_get_creator_notesA
Read-only
Inspect

根据完整 user_id 分页读取小红书蒲公英作者笔记及阅读、点赞、收藏量和合作品牌名称,支持全部或合作笔记筛选。 获取合作笔记明细时使用;统计摘要使用笔记表现工具,更广的公开历史笔记使用普通用户笔记列表工具。 固定最新排序、全流量,限平台当前可返回的近期范围,不代表全历史,不支持自选日期。 cover_image_url 为列表展示用的笔记封面图 URL;缺失时为 null。 首次省略 page_token,续页原样传回 next_page_token 并保持 user_id、note_scope 不变;空字符串表示结束,每页最多8篇,不保证跨页快照稳定,可按 note_id 去重。 cooperation_brand_name 为本篇笔记的平台标注合作品牌名称;未标注或未提供时为 null,不代表没有合作。计数未知为 null,零值保留。 成功(含空结果)扣减20积分,失败不扣费;返回 items、next_page_token 和 points。

Inputs: user_id (required), note_scope, page_token. Returns: items, points, next_page_token

xhs_pgy_get_creator_notes_performanceA
Read-only
Inspect

根据完整 user_id 获取小红书蒲公英创作者笔记表现,包括笔记数量、曝光/阅读/互动中位数、互动率、视频完播率、图文 3 秒阅读率、内容标签和笔记明细。 查询日常或合作笔记表现及最近明细时使用;商业汇总与成本参考使用商业概览工具,资料和报价使用创作者档案工具。 视频完播相关字段仅在 video_note_count 大于 0 时用于表现判断;图文 3 秒阅读率仅在统计范围内有图文笔记时用于表现判断;其他情况下 0 值不表示对应表现为 0%。 可选近30/90日、图文/视频/全部、自然/全流量,默认近30日、全部类型、全流量;返回回显统计条件,不支持自定起止日期。明细最多 15 篇,不是全量列表。仅 notes[] 内的 *_benchmark_rate 是相较于平台中位数的相对差异,允许负数和超过 1,不能当作排名比例;汇总层同名字段仍是平台返回的 0 到 1 对比值,计算方式未公开,不能混用。 成功返回表现字段和 points;成功调用扣减 20 积分,失败不扣费。

Inputs: user_id (required), note_type, note_scope, period_days, +1 more. Returns: notes, points, user_id, note_type, +22 more

xhs_pgy_get_creator_profileA
Read-only
Inspect

根据完整 user_id 获取小红书蒲公英创作者档案、粉丝和商业笔记规模、合作行业、笔记阅读与互动中位数、内容分类、特征标签和创作者图文/视频合作报价。 查询蒲公英创作者资料和报价时使用;普通账号资料使用用户信息工具。 笔记表现使用创作者笔记表现工具;粉丝画像使用创作者粉丝画像工具;指标随日期变化使用创作者指标趋势工具。图文和视频报价单位为人民币元;零值不表示免费合作。 成功返回档案字段和 points;成功调用扣减 20 积分,失败不扣费。

Inputs: user_id (required). Returns: name, gender, points, red_id, +15 more

xhs_pgy_get_note_detail_by_note_idA
Read-only
Inspect

根据 note_id 获取小红书蒲公英单篇笔记商业增强详情,包括正文、图片或视频摘要、作者、曝光量、阅读量、点赞、收藏、评论、分享和创作者图文/视频合作报价(单位:人民币元;不是当前笔记的成交金额;零值不表示免费合作)。 仅适用于已入驻蒲公英博主的笔记;用户明确要求蒲公英商业数据时使用,普通笔记详情使用普通详情工具。 用户只提曝光量、阅读量或报价且上下文未明确蒲公英口径时,先澄清商业口径和成功 20 积分的费用;上下文已明确时不重复确认。 这是蒲公英商业口径数据,不等同普通公开笔记详情;成功调用扣减 20 积分,失败不扣费。 查询明确无商业数据时返回 pgy_commercial_data_unavailable,表示本次商业数据不可用,不据此断定作者未入驻、内容删除或权限限制;不换 ID/链接入口重试。超时、鉴权和余额不足等保留各自错误。

Inputs: note_id (required). Returns: title, video, author, points, +16 more

xhs_pgy_get_note_detail_by_note_urlA
Read-only
Inspect

根据笔记链接、短链接或分享文案获取小红书蒲公英单篇笔记商业增强详情,包括曝光量、阅读量、点赞、收藏、评论、分享和创作者图文/视频合作报价(单位:人民币元;不是当前笔记的成交金额;零值不表示免费合作)。 仅适用于已入驻蒲公英博主的笔记;用户明确要求蒲公英商业数据时使用,普通笔记详情使用普通详情工具。 用户只提曝光量、阅读量或报价且上下文未明确蒲公英口径时,先澄清商业口径和成功 20 积分的费用;上下文已明确时不重复确认。 这是蒲公英商业口径数据,不等同普通公开笔记详情;成功调用扣减 20 积分,失败不扣费。 查询明确无商业数据时返回 pgy_commercial_data_unavailable,表示本次商业数据不可用,不据此断定作者未入驻、内容删除或权限限制;不换 ID/链接入口重试。超时、鉴权和余额不足等保留各自错误。

Inputs: note_url (required). Returns: title, video, author, points, +16 more

xhs_pgy_search_creatorsA
Read-only
Inspect

按昵称搜索小红书蒲公英商业达人,返回用户 ID、昵称、小红书号、头像、商业笔记数和图文/视频报价。 普通账号搜索使用用户搜索工具;取得 user_id 后可用蒲公英创作者档案工具查看详细资料。 keyword 为昵称搜索词,不保证严格精确匹配。首次省略 page_token,续页原样传回 next_page_token;为空表示结束,每次最多20条,不保证跨页快照不变。 报价单位为人民币元,隐藏或缺失为 null,可见零值保留但不表示免费。 成功(含空结果)扣减20积分,失败不扣费;返回 items、next_page_token 和 points。

Inputs: keyword (required), page_token. Returns: items, points, next_page_token

xhs_search_imagesA
Read-only
Inspect

按搜索词搜索小红书图片;已有笔记链接或 note_id,且需要读取该篇笔记详情时,使用对应详情工具。每项为一张图片及关联笔记,同一笔记可返回多张图片;page_token 可用于尝试下一页,不保证下一页有结果;结果按平台相关性排序,不承诺每条内容包含原词,不承诺完整召回;需要图文笔记而非单张图片时使用 xhs_search_notes(note_type="image");需要视频笔记时使用 xhs_search_notes(note_type="video")。

Inputs: keyword (required), page_token. Returns: items, points, next_page_token

xhs_search_notesA
Read-only
Inspect

搜索小红书 / Xiaohongshu / XHS / RedNote 笔记,包含普通、图文和视频笔记;note_type 默认 "all"。查找图文笔记可设 note_type="image",查找视频笔记可设 note_type="video"。发布时间筛选参数名为 publish_time_range(不是 publish_time);本工具不接受 max_items。查找单张图片用 xhs_search_images;已有笔记链接或 note_id 且需要单篇笔记详情时使用对应的详情工具;需要评论、回复或口播转文字时使用相应的 URL/ID 工具;支持 page_token 翻页。继续翻页时必须将返回的完整 next_page_token 原样作为 page_token 传回,不得截断、缩写、掩码或用省略号替换中间内容。 返回的 note_url 在任何使用场景都必须原样保留完整 URL,包括 xsec_token 等 query 参数;例如最终回答、展示、引用、存储、输出或传递;不得用 note_id 重新拼接链接。

Inputs: keyword (required), note_type, sort_type, page_token, +1 more. Returns: items, points, next_page_token

xhs_search_productsA
Read-only
Inspect

搜索小红书商品。用户需要按搜索词查找商品时使用;已有完整 sku_id(包括用户直接提供)时使用商品详情或商品评价工具,已有商品链接或分享文案时使用 xhs_get_product_detail_by_url;支持 page_token 翻页。继续翻页时必须将返回的完整 next_page_token 原样作为 page_token 传回,不得截断、缩写、掩码或用省略号替换中间内容。

Inputs: keyword (required), page_token. Returns: items, points, next_page_token

xhs_search_suggestionsA
Read-only
Inspect

根据搜索词获取小红书候选搜索建议,用于补全搜索词;需要实际搜索笔记或商品时,分别使用 xhs_search_notes 或 xhs_search_products。

Inputs: keyword (required). Returns: items, points

xhs_search_usersA
Read-only
Inspect

按搜索词搜索小红书用户、账号或博主,支持分页;已有用户 ID 或主页链接时,使用用户资料工具。

Inputs: keyword (required), page_token. Returns: items, points, next_page_token

xhs_submit_video_speech_text_by_note_idAInspect

根据小红书 note_id 提交视频笔记口播转文字任务;提交后最多等待 240 秒,未完成时返回 job_id 和下一步查询动作。

Inputs: note_id (required). Returns: error, job_id, status, message, +9 more

xhs_submit_video_speech_text_by_note_urlAInspect

根据小红书视频笔记链接、短链接或分享文案提交口播转文字任务;提交后最多等待 240 秒,未完成时返回 job_id 和下一步查询动作。

Inputs: note_url (required). Returns: error, job_id, status, message, +9 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      SocialDataX(社媒数据助手)is a read-only MCP for 小红书 / Xiaohongshu / XHS / RedNote. Hosted version 0.1.15 provides 35 tools for note and user search, details, comments, creator data, products, and video transcripts. Search video notes with xhs_search_notes(note_type="video").
      35
      48 npm
      4
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables automated interaction with Xiaohongshu (Little Red Book) platform including searching posts, retrieving content and comments, and posting AI-generated comments with persistent login support.
      460
      -
    • F
      license
      A
      quality
      D
      maintenance
      Enables searching notes, retrieving note content and comments, and posting comments on Xiaohongshu (Little Red Book) via HTTP API without using Playwright.
      6
      -
    • A
      license
      B
      quality
      D
      maintenance
      Enables users to search and retrieve content from Xiaohongshu (Red Book) platform with smart search capabilities and rich data extraction including note content, author information, and images.
      1
      30
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources