xiaohongshu-mcp-zh

xiaohongshu-mcp-zh is a skill for Claude Code, Codex from L-LesterYu/OpenClaw-hot-skills-zh. It costs 114 tokens per session (1,114 once invoked), scanned A, original, MIT.

A Python client for automating Xiaohongshu, also known as RedNote, a Chinese social-media platform for image, text, and video posts.

In plain words
What is it for?
Use it to publish posts, search notes and trends, inspect post details and comments, and manage profiles and content feeds through a local server.
Why use it?
It provides command-line access to publishing, searching, and reviewing content instead of requiring each action to be done manually in the app.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to publish posts, search notes and trends, inspect post details and comments, and manage profiles and content feeds through a local server.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/l-lesteryu/openclaw-hot-skills-zh/xiaohongshu-mcp-zh
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 L-LesterYu/OpenClaw-hot-skills-zh --skill xiaohongshu-mcp-zh
Clone the repo
git clone --depth 1 https://github.com/L-LesterYu/OpenClaw-hot-skills-zh

Made for: Claude Code, 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-zh

README.md
[![agentmods](https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/xiaohongshu-mcp-zh/github.svg)](https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/xiaohongshu-mcp-zh)
Your own site
<a href="https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/xiaohongshu-mcp-zh"><img src="https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/xiaohongshu-mcp-zh/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-zh

Your own site · 80×15
<a href="https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/xiaohongshu-mcp-zh"><img src="https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/xiaohongshu-mcp-zh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 114 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,114 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.
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.00114 $0.01114
Opus 5 $0.00057 $0.00557
Sonnet 5 $0.00023 $0.00223
Haiku 4.5 $0.00011 $0.00111

Measured 9d ago against content hash fb77c9ac8124, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

xiaohongshu-mcp-zh 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/xhs_client.py), 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.

skills/xiaohongshu-mcp-zh/SKILL.md · 92 lines

How it starts

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

小红书 MCP 技能(含 Python 客户端)

通过内置的 Python 脚本自动化操作小红书内容运营,与 xpzouying/xiaohongshu-mcp 服务器(8.4k+ 星标)进行交互。

项目地址: xpzouying/xiaohongshu-mcp

1. 本地服务器部署

本技能需要在本地运行 xiaohongshu-mcp 服务器。

第一步:下载二进制文件

GitHub Releases 页面下载适合你系统的二进制文件。

平台 MCP 服务器 登录工具
macOS (Apple Silicon) xiaohongshu-mcp-darwin-arm64 xiaohongshu-login-darwin-arm64
macOS (Intel) xiaohongshu-mcp-darwin-amd64 xiaohongshu-login-darwin-amd64
Windows xiaohongshu-mcp-windows-amd64.exe xiaohongshu-login-windows-amd64.exe
Linux xiaohongshu-mcp-linux-amd64 xiaohongshu-login-linux-amd64

为下载的文件添加执行权限:

chmod +x xiaohongshu-mcp-darwin-arm64 xiaohongshu-login-darwin-arm64

第二步:登录(仅首次需要)

运行登录工具,会打开一个浏览器窗口显示二维码。使用小红书手机 App 扫码登录。

./xiaohongshu-login-darwin-arm64

重要提示: 请勿在其他任何网页浏览器上登录同一个小红书账号,否则会导致服务器的登录会话失效。

第三步:启动 MCP 服务器

在单独的终端窗口中运行 MCP 服务器,它将在后台运行。

# 以无头模式运行(推荐)
./xiaohongshu-mcp-darwin-arm64

# 或者,以可见浏览器模式运行(用于调试)
./xiaohongshu-mcp-darwin-arm64 -headless=false

服务器将在 http://localhost:18060 上提供服务。

2. 使用技能

本技能包含一个 Python 客户端(scripts/xhs_client.py)用于与本地服务器交互。你可以直接通过命令行使用。

可用命令

命令 说明 示例
status 检查登录状态 python scripts/xhs_client.py status
search <关键词> 搜索笔记 python scripts/xhs_client.py search "咖啡"
detail <id> <token> 获取笔记详情 python scripts/xhs_client.py detail "note_id" "xsec_token"
feeds 获取推荐信息流 python scripts/xhs_client.py feeds
publish <标题> <内容> <图片> 发布笔记 python scripts/xhs_client.py publish "标题" "内容" "url1,url2"

示例工作流:市场调研

  1. 检查状态:首先确认服务器正在运行且已登录。

    python ~/clawd/skills/xiaohongshu-mcp-zh/scripts/xhs_client.py status
    
  2. 搜索关键词:查找与调研主题相关的笔记。输出结果会包含下一步所需的 feed_idxsec_token

    python ~/clawd/skills/xiaohongshu-mcp-zh/scripts/xhs_client.py search "户外电源"
    

Read the full file on GitHub · 92 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 92 lines · 114 tokens per session scan A fb77c9ac8124

Subscribe to this mod's changes

xiaohongshu-mcp-zh is a skill published in the GitHub repository L-LesterYu/OpenClaw-hot-skills-zh (54 stars, last pushed 5mo ago), licensed MIT. It adds 114 tokens to every session and 1,114 once invoked, about $0.0006 per session on Opus 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-09-03.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

opencli-sitemap-author

Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.

jackwener/OpenCLI · 67 tokens

interactive-login

How to complete browser/interactive logins (aws / gh / glab / gcloud). The platform backgrounds the login poller so it survives the human's browser round-trip — and when that does NOT work.

yc-software/qm · 46 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

azure-messaging-webpubsub-java

Build real-time web applications with Azure Web PubSub SDK for Java. Use when implementing WebSocket-based messaging, live updates, chat applications, or server-to-client push notifications.

microsoft/skills · 43 tokens

google-safe-browsing

Prevent and fix Google Safe Browsing "Dangerous site" flags. Use when launching a public web app, buying/picking a domain, building a login or signup page, or when any site shows a red "Dangerous site" / "Deceptive site" warning in Chrome, Brave, Safari, Firefox, or Edge. Triggers on "dangerous site", "deceptive…

davidondrej/skills · 105 tokens