xiaohongshu
Installation
Summary
Search, analyze, and interact with Xiaohongshu (RedNote) content through a unified MCP interface.
- Search notes by keyword with filters (sort, note type, publish time, location); retrieve homepage recommendations and user profiles with associated note lists
- Extract complete post details including text, images, interaction metrics, and comment threads; post comments, reply to comments, like, and favorite posts
- Publish image or video notes with titles, captions, tags, and optional scheduling up to 14 days ahead
- Generate trend analysis reports for tracked topics with statistics, top posts, keyword extraction, and optional Feishu export; export posts as long-form JPG images
- Requires
feed_idandxsec_tokenpairs (obtained from search/recommendation/profile results) for most operations; MCP service runs on port 18060 by default with cookie-based authentication valid for ~30 days
SKILL.md
小红书 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)。