A comprehensive wrapper around the xiaohongshu-mcp service that handles the full lifecycle of interacting with China's RedNote platform. It manages the tricky authentication flow (QR code login, cookie management), provides ready-to-use scripts for searching posts, tracking trending topics, and publishing content, plus generates detailed markdown reports with engagement analytics. The feed_id and xsec_token pairing requirement makes this more complex than typical social media APIs, but the scripts handle that complexity well. Most useful for social media monitoring, competitor research, or automated content publishing workflows where you need programmatic access to RedNote's ecosystem without dealing with browser automation yourself.

skills.sh installs
11.6K
GitHub stars
127
last updated
Jul 14, 2026

Install

$ npx -y skills add zhjiang22/openclaw-xhs --skill xiaohongshu --agent claude-code

Installs into .claude/skills of the current project.

Files

小红书 MCP Skill

基于 xiaohongshu-mcp 封装的 shell 脚本工具集。

前置条件

cd scripts/
./install-check.sh    # 检查依赖(xiaohongshu-mcp、jq、python3)
./start-mcp.sh        # 启动 MCP 服务(默认端口 18060)
./status.sh           # 确认已登录

未登录时需扫码:mcp-call.sh get_login_qrcode 获取二维码,用小红书 App 扫码。

服务端口可通过 MCP_URL 环境变量覆盖(默认 http://localhost:18060/mcp)。

核心数据流

重要: 大多数操作需要 feed_id + xsec_token 配对。这两个值从搜索/推荐/用户主页结果中获取,不可自行构造。

search_feeds / list_feeds / user_profile
        │
        ▼
  返回 feeds 数组,每个 feed 包含:
  ├── id          → 用作 feed_id
  ├── xsecToken   → 用作 xsec_token
  └── noteCard    → 标题、作者、封面、互动数据
        │
        ▼
  get_feed_detail(feed_id, xsec_token)
        │
        ▼
  返回完整笔记: 正文、图片列表、评论列表
  评论中包含 comment_id、user_id(用于回复评论)

脚本参考

Sponsors

Details

Repository
github.com/zhjiang22/openclaw-xhs
Category
AI & Agent Building
1nomadamas avatarreal-estate-searchnomadamas/k-skillKorean apartment/officetel/villa/single-house real transaction price and rent lookups via k-skill-proxy. Based on tae0y's real-estate-mcp and MOLIT public data 11.5Kskills.sh installs
2binance avatarmeme-rushbinance/binance-skills-hubLive launchpad feed + AI hot topics for meme tokens. (1) meme-rush: real-time lifecycle feed on launchpads (Pump.fun, Four.meme) — brand-new launches, currently11.5Kskills.sh installs
3google avatargemini-interactions-apigoogle/skillsGuides the usage of Gemini Interactions API on Gemini Enterprise Agent Platform. Use when the user wants to use the stateful, server-managed Interactions API fo11.4Kskills.sh installs
4rohitg00 avataragentmemory-rest-apirohitg00/agentmemoryThe agentmemory HTTP REST API surface, the primary protocol for talking to the memory server. Use when calling agentmemory over HTTP, when MCP is unavailable an11.4Kskills.sh installs
5getcargohq avatarcargo-orchestrationgetcargohq/cargo-skillsInteract with the Cargo platform via CLI. Use when the user wants to execute an action, run a workflow, trigger a batch, message an AI agent, query orchestratio11.2Kskills.sh installs
6worldwonderer avatarstory-setupworldwonderer/oh-story-claudecode网文写作工具集基础设施部署。为 Claude Code / OpenCode / Codex / ZCode / OpenClaw / Reasonix 提供内置适配;Web AI / 通用 Agent 可走 skills + AGENTS.md 文件模式。触发方式:/story-setup、$story-setup、11.2Kskills.sh installs