xhs-mcp

MCP.Pizza Chef: jobsonlook

Xiaohongshu, also known as RED or Little Red Book, is a Chinese lifestyle and shopping app. This add-on reads the home feed, searches posts by keyword, pulls a post's full text, lists its comments, and can publish a comment of your own. It needs the sign-in cookie copied out of your browser, which expires and has to be refreshed. There have been no code changes since February 2026, and the author states it is for study only.

Communication
Web/Research

Use This MCP server To

Search Xiaohongshu posts about a product I am researching Read the full text of a post someone sent me Pull the comments under a post to see reactions Publish a comment on a note from my chat window Check whether my saved sign-in still works

README

小红书MCP服务

smithery badge PyPI version

一个用于小红书API的MCP(Model Context Protocol)服务器,支持搜索笔记、获取内容、查看评论和发表评论等功能。

特点

  • 采用js逆向出x-s,x-t,直接请求http接口,无须笨重的playwright
  • 搜索笔记
  • 获取笔记内容
  • 获取笔记的评论
  • 发表评论

特性

快速开始

方法一:使用uvx(推荐)

1. 环境要求
  • Python 3.12+
  • uv (安装方法: pip install uv)
2. 获取小红书的cookie

xhs-mcp FAQ

Is this still maintained?
The last code change was February 2026, so it is quiet — and because it leans on the site's internal behaviour, it can break without warning.
Which apps does it work in?
Claude Desktop and any other assistant that reads a standard tool-server config file.
Do I need a token?
No token, but you must sign in on the Xiaohongshu website and copy your browser cookie into the config.
How hard is setup?
Developer level — you install the uv tool, then dig your cookie out of the browser developer tools.
Can I use this to leave a comment on a post?
Yes — it can publish a comment you have approved to a specific note.
Why does it stop working?
The cookie expires after a while; sign in again on the website and paste in a fresh one.
Can I use it for business?
No — the author says it is for study and exchange only, and forbids commercial use.