xiaohongshu-mcp

xiaohongshu-mcp is a skill for Codex from tsingyuai/growth-lab. It costs 78 tokens per session (753 once invoked), scanned A, original, Apache-2.0.

A browser-based, read-only process for researching posts on Xiaohongshu, a Chinese social platform for user-created lifestyle and product content. It can collect search results, candidate cover images, selected post details, and sanitized evidence.

In plain words
What is it for?
Use it to search Xiaohongshu by topic, collect a recommended batch of posts, download candidate first images, complete details for selected posts, and save the research locally.
Why use it?
It provides a controlled way to gather visual and topic references while keeping the research separate from actions such as liking, saving, commenting, following, or publishing.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to search Xiaohongshu by topic, collect a recommended batch of posts, download candidate first images, complete details for selected posts, and save the research locally.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tsingyuai/growth-lab/xiaohongshu-mcp
About the project

Growth Lab is an open-source growth system that uses coding agents to understand a product, research markets, execute growth activities, and learn from the results. It is designed for teams that want to manage growth work across channels such as SEO and Xiaohongshu through natural-language collaboration, persistent product context, and recorded outcomes. Catalogue add-ons define parts of its product models, research methods, execution workflows, and agent operation.

tsingyuai/growth-lab · 1,984 stars · on GitHub · growthlab.tsingyuai.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tsingyuai/growth-lab --skill xiaohongshu-mcp
Clone the repo
git clone --depth 1 https://github.com/tsingyuai/growth-lab

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for xiaohongshu-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/tsingyuai/growth-lab/xiaohongshu-mcp/github.svg)](https://agentmods.dev/skills/tsingyuai/growth-lab/xiaohongshu-mcp)
Your own site
<a href="https://agentmods.dev/skills/tsingyuai/growth-lab/xiaohongshu-mcp"><img src="https://agentmods.dev/badge/skills/tsingyuai/growth-lab/xiaohongshu-mcp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for xiaohongshu-mcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/tsingyuai/growth-lab/xiaohongshu-mcp"><img src="https://agentmods.dev/badge/skills/tsingyuai/growth-lab/xiaohongshu-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 753 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00078 $0.00753
Opus 5.5 $0.00031 $0.00301
Sonnet 5.5 $0.00016 $0.00151
Haiku 4.5 $0.00008 $0.00075

Measured 3mo ago against content hash 516fa2fd1855, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

xiaohongshu-mcp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

The scan reads SKILL.md. This mod also ships 8 executable files (scripts/collect_selected_xiaohongshu_note.py, scripts/collect_xiaohongshu.py, scripts/login_xiaohongshu.ps1, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

collectors/xiaohongshu-mcp/SKILL.md · 56 lines

How it starts

The opening of the file, as written. The whole thing — 56 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Xiaohongshu browser-first collection

Read runtime.md before startup and cover-screening.md before visual selection.

First-run conversation

Before collection, tell the user:

  • the recommended first-run batch is 25 notes;
  • the count is adjustable, but 25 is recommended;
  • collection is read-only and saves sanitized research evidence and requested images locally;
  • login does not authorize likes, saves, comments, follows, uploads, or publication.

If required settings are missing, stop and invoke onboard-growth-lab. Give the user the exact configuration file and fields from CONFIGURATION.md; never ask them to paste a key, cookie, or signed URL into the conversation.

Runtime

powershell -ExecutionPolicy Bypass -File collectors/xiaohongshu-mcp/scripts/start_xiaohongshu_service.ps1
python collectors/xiaohongshu-mcp/scripts/collect_xiaohongshu.py "<topic>" `
  --limit 25 --cover-pool 25 `
  --out "memory/xhs-replicate/<run>/xiaohongshu-search.json"

The service must be local HTTP only. If it is not logged in, explain the boundary, ask before opening the visible login window, run login_xiaohongshu.ps1, verify once, and resume. Stop on timeout, risk-control, login loss, or repeated empty responses; do not loop around platform controls.

Visual selection

  1. Persist the 20-30 item search response immediately as one batch. Do not wait for page-wide stability after the response is complete.
  2. Download all covers from the first batch and inspect every contact sheet.
  3. Score promotional layout quality before engagement. Fetch full details only for 3-8 passing candidates.
  4. Show every passing candidate with its actual representative image, title, score, and risk. If inline image rendering is unavailable or cannot be confirmed, include the clean public note URL in the same response.
  5. If the user rejects all candidates, record the reasons and run a new product/workflow-oriented query. Do not force the best item from a weak batch.
  6. Select exactly one external visual learning sample. Write and validate visual-reference-selection.json:

Read the full file on GitHub · 56 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 56 lines · 78 tokens per session scan A 516fa2fd1855

Subscribe to this mod's changes

xiaohongshu-mcp is a skill published in the GitHub repository tsingyuai/growth-lab (1,984 stars, last pushed 20d ago), licensed Apache-2.0. It adds 78 tokens to every session and 753 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

xiaohongshu-mcp compared with skills from other repositories

xiaohongshu-mcp next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
xiaohongshu-mcptsingyuai/growth-labSkill2.0k20d agoApache-2.0A78Codex
viral-marketing-playbookGingiris-1031/gingiris-skillsSkill9316d agoMITA50Claude Code, Codex
synthesis-exploreacogood/diffmode_freeSkill1713mo agoApache-2.0A178Claude Code
diagnostics-intakeacogood/diffmode_freeSkill1713mo agoApache-2.0A125Claude Code
growth-factors-miningacogood/diffmode_freeSkill1713mo agoApache-2.0A129Claude Code
lite-constraintsacogood/diffmode_freeSkill1713mo agoApache-2.0A100Claude Code
communityericrisco/rsc-harnessSkill701todayMITA77Claude Code, Codex