jpskill.com
💼 ビジネス コミュニティ

xiaohongshu-mcp

Xiaohongshu(小紅書)のコンテンツ運用を自動化し、投稿、検索、分析、プロフィール管理などをPythonで効率的に行うためのSkillです。

📜 元の英語説明(参考)

Automate Xiaohongshu (RedNote) content operations using a Python client for the xiaohongshu-mcp server. Use for: (1) Publishing image, text, and video content, (2) Searching for notes and trends, (3) Analyzing post details and comments, (4) Managing user profiles and content feeds. Triggers: xiaohongshu automation, rednote content, publish to xiaohongshu, xiaohongshu search, social media management.

🇯🇵 日本人クリエイター向け解説

一言でいうと

Xiaohongshu(小紅書)のコンテンツ運用を自動化し、投稿、検索、分析、プロフィール管理などをPythonで効率的に行うためのSkillです。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o xiaohongshu-mcp.zip https://jpskill.com/download/5597.zip && unzip -o xiaohongshu-mcp.zip && rm xiaohongshu-mcp.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/5597.zip -OutFile "$d\xiaohongshu-mcp.zip"; Expand-Archive "$d\xiaohongshu-mcp.zip" -DestinationPath $d -Force; ri "$d\xiaohongshu-mcp.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して xiaohongshu-mcp.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → xiaohongshu-mcp フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-17
取得日時
2026-05-17
同梱ファイル
2

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Xiaohongshu MCP スキル (Python クライアント付き)

xpzouying/xiaohongshu-mcp サーバー (8.4k+ スター) と連携するバンドルされた Python スクリプトを使用して、Xiaohongshu (小紅書) でのコンテンツ運用を自動化します。

プロジェクト: xpzouying/xiaohongshu-mcp

1. ローカルサーバーのセットアップ

このスキルには、xiaohongshu-mcp サーバーがローカルマシンで実行されている必要があります。

ステップ 1: バイナリのダウンロード

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

ステップ 2: ログイン (初回のみ)

ログインツールを実行します。ブラウザウィンドウが開き、QR コードが表示されます。Xiaohongshu モバイルアプリでスキャンしてください。

./xiaohongshu-login-darwin-arm64

重要: 他のウェブブラウザで同じ Xiaohongshu アカウントにログインしないでください。サーバーのセッションが無効になります。

ステップ 3: 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 <keyword> ノートの検索 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 <title> <content> <images> ノートの公開 python scripts/xhs_client.py publish "タイトル" "コンテンツ" "url1,url2"

ワークフロー例: 市場調査

  1. ステータスの確認: まず、サーバーが実行中でログインしていることを確認します。

    python ~/clawd/skills/xiaohongshu-mcp/scripts/xhs_client.py status
  2. キーワードの検索: 調査トピックに関連するノートを見つけます。出力には、次のステップで必要となる feed_idxsec_token が含まれます。

    python ~/clawd/skills/xiaohongshu-mcp/scripts/xhs_client.py search "アウトドア電源"
  3. ノートの詳細を取得: 検索結果の feed_idxsec_token を使用して、特定のノートの全コンテンツとコメントを取得します。

    python ~/clawd/skills/xiaohongshu-mcp/scripts/xhs_client.py detail "64f1a2b3c4d5e6f7a8b9c0d1" "security_token_here"
  4. 分析: ノートのコンテンツ、コメント、エンゲージメントデータをレビューして洞察を収集します。

📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Xiaohongshu MCP Skill (with Python Client)

Automate content operations on Xiaohongshu (小红书) using a bundled Python script that interacts with the xpzouying/xiaohongshu-mcp server (8.4k+ stars).

Project: xpzouying/xiaohongshu-mcp

1. Local Server Setup

This skill requires the xiaohongshu-mcp server to be running on your local machine.

Step 1: Download Binaries

Download the appropriate binaries for your system from the GitHub Releases page.

Platform MCP Server Login Tool
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

Grant execute permission to the downloaded files:

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

Step 2: Login (First Time Only)

Run the login tool. It will open a browser window with a QR code. Scan it with your Xiaohongshu mobile app.

./xiaohongshu-login-darwin-arm64

Important: Do not log into the same Xiaohongshu account on any other web browser, as this will invalidate the server's session.

Step 3: Start the MCP Server

Run the MCP server in a separate terminal window. It will run in the background.

# Run in headless mode (recommended)
./xiaohongshu-mcp-darwin-arm64

# Or, run with a visible browser for debugging
./xiaohongshu-mcp-darwin-arm64 -headless=false

The server will be available at http://localhost:18060.

2. Using the Skill

This skill includes a Python client (scripts/xhs_client.py) to interact with the local server. You can use it directly from the shell.

Available Commands

Command Description Example
status Check login status python scripts/xhs_client.py status
search <keyword> Search for notes python scripts/xhs_client.py search "咖啡"
detail <id> <token> Get note details python scripts/xhs_client.py detail "note_id" "xsec_token"
feeds Get recommended feed python scripts/xhs_client.py feeds
publish <title> <content> <images> Publish a note python scripts/xhs_client.py publish "Title" "Content" "url1,url2"

Example Workflow: Market Research

  1. Check Status: First, ensure the server is running and you are logged in.

    python ~/clawd/skills/xiaohongshu-mcp/scripts/xhs_client.py status
  2. Search for a Keyword: Find notes related to your research topic. The output will include the feed_id and xsec_token needed for the next step.

    python ~/clawd/skills/xiaohongshu-mcp/scripts/xhs_client.py search "户外电源"
  3. Get Note Details: Use the feed_id and xsec_token from the search results to get the full content and comments of a specific note.

    python ~/clawd/skills/xiaohongshu-mcp/scripts/xhs_client.py detail "64f1a2b3c4d5e6f7a8b9c0d1" "security_token_here"
  4. Analyze: Review the note's content, comments, and engagement data to gather insights.

同梱ファイル

※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。