xhs-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| XHS_COOKIE | Yes | Your Xiaohongshu cookie string. Obtain from browser after logging in. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| xhs_searchA | Search notes on Xiaohongshu (Little Red Book). Returns titles, engagement metrics (likes/collects/comments), author info, and direct URLs. Useful for market research, trend analysis, and competitor monitoring on China's leading lifestyle platform. |
| xhs_note_detailA | Get full detail of a specific Xiaohongshu note by ID. Returns the complete content, all images, engagement metrics, author info, and tags. Use note IDs from xhs_search results. |
| xhs_user_profileA | Get a Xiaohongshu user's profile including follower count, total likes, number of notes, and bio. Useful for influencer research and competitive analysis. |
| xhs_user_notesA | Get all published notes from a specific Xiaohongshu user. Returns their content portfolio with engagement metrics. Useful for analyzing a creator's content strategy. |
| xhs_exploreA | Get the current trending/explore feed from Xiaohongshu homepage. Shows what content is currently popular on the platform. Great for trend spotting and understanding what resonates with Chinese consumers. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool targets a distinct resource and action: search notes, get note details, get user profile, get user notes, and explore trending feed. There is no overlap in their purposes, so an agent can easily choose the right tool.
All tool names use a consistent 'xhs_' prefix and snake_case. However, there is a slight mix between verb-based names (xhs_search, xhs_explore) and noun-based names (xhs_note_detail, xhs_user_profile, xhs_user_notes), deviating from a uniform verb_noun pattern.
Five tools is well within the ideal range for a focused server. Each tool meaningfully contributes to the apparent purpose of Xiaohongshu research and trend analysis without being padded or insufficient.
The server covers the core read-only workflows (search, detail, user portfolio, trends) for market research. Minor gaps exist, such as no user search or comment-level detail, but they do not severely hinder typical use cases.