MCP Catalogs
Homexiaohongshu-mcp screenshot

xiaohongshu-mcp

by xpzouying·13,616·Score 59

MCP server for automating Xiaohongshu operations including content posting, commenting, and user interaction.

social-mediabrowser-automationweb-scraping
2,068
Forks
258
Open issues
this month
Last commit
2d ago
Indexed

Overview

xiaohongshu-mcp is a comprehensive MCP server written in Go that enables AI assistants to interact with Xiaohongshu (Little Red Book), a popular Chinese social media platform. The server implements MCP protocol through HTTP transport, allowing clients to authenticate, publish posts (both images and videos), search content, retrieve post details, manage user profiles, and perform engagement actions like liking and commenting. The project includes multiple deployment options including precompiled binaries, Docker containers, and source code compilation, making it accessible for both technical and non-technical users.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Automated content publishing to maintain social media presence
you:AI-powered social media management for businesses
you:Content research and analysis through automated search
you:Is using this MCP server against Xiaohongshu terms of service?
you:Can this MCP handle multiple accounts?

When to choose this

Choose this MCP server if you need to automate interactions with Xiaohongshu platform and prefer a self-hosted solution over the browser plugin alternative.

When NOT to choose this

Avoid this if you need write access to other social platforms, as it's specifically designed for Xiaohongshu only. Also consider the browser plugin version if you prefer zero configuration.

Tools this server exposes

11 tools extracted from the README
  • check_login_status

    Check if the user is currently logged in to xiaohongshu.com

  • publish_post

    Publish a text and image post to xiaohongshu.com

  • publish_video

    Publish a video post to xiaohongshu.com with title and description

  • search_content

    Search for content on xiaohongshu.com based on keywords

  • get_recommendations

    Get the recommended content feed from xiaohongshu homepage

  • get_post_detail

    Get detailed information about a specific post including comments

  • comment_on_post

    Leave a comment on a specific xiaohongshu post

  • get_user_profile

    Retrieve a user's profile information and their posts

  • reply_to_comment

    Reply to a specific comment on a post

  • like_post

    Like or unlike a specific post on xiaohongshu

  • bookmark_post

    Bookmark or unbookmark a specific post on xiaohongshu

Comparable tools

x-mcpsocial-media-mcpbrowser-automation-mcp

Installation

Installation Options

**Option 1: Download Precompiled Binary**

  1. Download the binary for your platform from [GitHub Releases](https://github.com/xpzouying/xiaohongshu-mcp/releases)
  2. Run the login tool first: chmod +x xiaohongshu-login-darwin-arm64 && ./xiaohongshu-login-darwin-arm64
  3. Start the MCP service: chmod +x xiaohongshu-mcp-darwin-arm64 && ./xiaohongshu-mcp-darwin-arm64

**Option 2: Use Docker (Recommended)**

docker pull xpzouying/xiaohongshu-mcp
docker compose up -d```

**Option 3: Build from Source**
1. Clone the repository
2. Run `go run cmd/login/main.go` for login
3. Run `go run .` to start the MCP service

### Claude Desktop Configuration
Add to your `claude_desktop_config.json`:
```json
"mcpServers": {
  "xiaohongshu": {
    "command": "path/to/xiaohongshu-mcp",
    "args": []
  }
}

FAQ

Is using this MCP server against Xiaohongshu terms of service?
The developer mentions this is for learning purposes and includes risk warnings. Users should check Xiaohongshu's terms of service before deploying in production.
Can this MCP handle multiple accounts?
The README specifically warns against multiple web logins for the same account as it will 'kick out' the current MCP session, though mobile app viewing is still possible.

Compare xiaohongshu-mcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.