/ ディレクトリ / プレイグラウンド / xiaohongshu-mcp
● コミュニティ xpzouying ⚡ 即起動

xiaohongshu-mcp

作者 xpzouying · xpzouying/xiaohongshu-mcp

AI-powered Xiaohongshu (Little Red Book) integration — publish, search, engage, and manage content on China's top social commerce platform.

xiaohongshu-mcp is an MCP server enabling AI assistants to interact with Xiaohongshu (Little Red Book), China's popular social media and commerce platform. It provides 13 tools for content publishing (image-text and video), feed discovery, search, post interaction (like, comment, favorite), user profiles, and QR-code authentication. Available as pre-built binaries, from source (Go), or via Docker.

なぜ使うのか

主な機能

ライブデモ

実際の動作

xiaohongshu-mcp.replay ▶ 準備完了
0/0

インストール

クライアントを選択

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "xiaohongshu-mcp": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/xpzouying/xiaohongshu-mcp"
      ]
    }
  }
}

Claude Desktop → Settings → Developer → Edit Config を開く。保存後、アプリを再起動。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "xiaohongshu-mcp": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/xpzouying/xiaohongshu-mcp"
      ]
    }
  }
}

Cursor は Claude Desktop と同じ mcpServers スキーマを使用。プロジェクト設定はグローバルより優先。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "xiaohongshu-mcp": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/xpzouying/xiaohongshu-mcp"
      ]
    }
  }
}

Cline サイドバーの MCP Servers アイコンをクリックし、"Edit Configuration" を選択。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "xiaohongshu-mcp": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/xpzouying/xiaohongshu-mcp"
      ]
    }
  }
}

Claude Desktop と同じ形式。Windsurf を再起動して反映。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "xiaohongshu-mcp",
      "command": "TODO",
      "args": [
        "See README: https://github.com/xpzouying/xiaohongshu-mcp"
      ]
    }
  ]
}

Continue はマップではなくサーバーオブジェクトの配列を使用。

~/.config/zed/settings.json
{
  "context_servers": {
    "xiaohongshu-mcp": {
      "command": {
        "path": "TODO",
        "args": [
          "See README: https://github.com/xpzouying/xiaohongshu-mcp"
        ]
      }
    }
  }
}

context_servers に追加。保存時に Zed がホットリロード。

claude mcp add xiaohongshu-mcp -- TODO 'See README: https://github.com/xpzouying/xiaohongshu-mcp'

ワンライナー。claude mcp list で確認、claude mcp remove で削除。

ユースケース

実用的な使い方: xiaohongshu-mcp

How to publish content to Xiaohongshu with AI assistance

👤 Content creators and brands publishing on Xiaohongshu ⏱ ~10 min beginner

使うタイミング: You want to publish posts to Xiaohongshu without using the mobile app.

前提条件
  • xiaohongshu-mcp running — Download binary from releases or docker run
  • Xiaohongshu account authenticated — Use get_login_qrcode to scan and authenticate
フロー
  1. Authenticate
    Log into Xiaohongshu. Generate a QR code for me to scan.✓ コピーしました
    → QR code displayed for mobile scanning
  2. Publish a post
    Publish a post about my coffee shop visit with these 3 photos. Title: '隐藏在街角的宝藏咖啡店'. Add hashtags #咖啡 #探店.✓ コピーしました
    → Post published confirmation with link

結果: Content published to Xiaohongshu with images and hashtags.

注意点
  • Content moderation may reject posts — Xiaohongshu has strict content policies. Avoid promotional language and follow community guidelines.
組み合わせ: filesystem

組み合わせ

他のMCPと組み合わせて10倍の力を

xiaohongshu-mcp + filesystem

Batch prepare posts locally and publish them to Xiaohongshu

Read my prepared posts from ~/content/xhs/ and publish them one by one with appropriate hashtags.✓ コピーしました

ツール

このMCPが提供する機能

ツール入力呼び出すタイミングコスト
get_login_qrcode none Get QR code for authentication 0
check_login_status none Verify authentication status 0
publish_content title: str, description: str, images: str[], hashtags?: str[] Publish an image-text post 0
publish_with_video title: str, description: str, video: str Publish a video post 0
search_feeds keyword: str, filters? Search for content by keyword 0
get_feed_detail feed_id: str Get post details with comments 0
post_comment_to_feed feed_id: str, content: str Comment on a post 0
like_feed feed_id: str Like or unlike a post 0
user_profile user_id: str Get a user's profile information 0

コストと制限

運用コスト

APIクォータ
Subject to Xiaohongshu's internal rate limits
呼び出しあたりのトークン
200–1000 tokens per tool call
金額
Free
ヒント
Search before publishing to understand what performs well in your niche.

セキュリティ

権限、シークレット、影響範囲

認証情報の保管: Session cookies stored locally after QR authentication
データ送信先: Calls to Xiaohongshu's internal API endpoints

トラブルシューティング

よくあるエラーと対処法

QR code login fails

Ensure you scan the QR code with the Xiaohongshu mobile app within the timeout period. Try generating a new code.

確認: check_login_status after scanning
Session expired

Re-authenticate by generating a new QR code and scanning again.

確認: check_login_status
Post rejected by content moderation

Xiaohongshu has strict content policies. Review your content for promotional language, sensitive topics, or policy violations.

確認: Check Xiaohongshu's content guidelines

代替案

xiaohongshu-mcp 他との比較

代替案代わりに使う場面トレードオフ
Manual posting via Xiaohongshu appYou want guaranteed ToS complianceManual but no risk of account restrictions

その他

リソース

📖 GitHub の公式 README を読む

🐙 オープンな issue を見る

🔍 400以上のMCPサーバーとSkillsを見る