MCP.so
登录

Xiaohongshu API MCP Server | 小红书 API 微服务

@proerror77

关于 Xiaohongshu API MCP Server | 小红书 API 微服务

XHS MCP Agent - A MCP server implementation

基本信息

分类

AI 与智能体

运行时

python

传输方式

stdio

发布者

proerror77

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "xhs_mcp_agent": {
      "command": "python",
      "args": [
        "xhs_api.py"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Xiaohongshu API MCP Server | 小红书 API 微服务?

Xiaohongshu API MCP Server is a microservice that wraps Xiaohongshu (Little Red Book) API into a RESTful API server, deployable via Docker. It is intended for developers who need programmatic access to Xiaohongshu data.

How to use Xiaohongshu API MCP Server | 小红书 API 微服务?

Build and start the Docker container with docker-compose up -d in the xhs_mcp_server directory, then access the service at http://localhost:8000. Alternatively, run directly with Python after installing dependencies from requirements.txt and executing python xhs_api.py. API documentation is available at /docs (Swagger) or /redoc.

Key features of Xiaohongshu API MCP Server | 小红书 API 微服务

  • RESTful API for Xiaohongshu operations
  • Multiple client instance support
  • Docker containerization for easy deployment
  • Endpoints for notes, users, search, feeds, and health check

Use cases of Xiaohongshu API MCP Server | 小红书 API 微服务

  • Fetching Xiaohongshu notes by ID for content analysis
  • Searching notes and users by keyword for market research
  • Retrieving user information and their posted notes
  • Browsing categorized recommendation feeds for trend monitoring

FAQ from Xiaohongshu API MCP Server | 小红书 API 微服务

What dependencies are required to run the server?

Docker and Docker Compose are required for containerized deployment. For direct Python running, dependencies are listed in requirements.txt.

How do I authenticate with the Xiaohongshu API?

Create a client instance by sending a POST request to /clients with a JSON body containing your Xiaohongshu cookie.

Are there any usage restrictions or data storage details mentioned?

The README states that the project is for educational purposes only (“仅用于教育目的”) and implies use at your own risk. No details about data storage or retention are provided.

What transports or authentication mechanisms are supported?

The server exposes HTTP REST endpoints. Authentication is handled via a cookie submitted when creating a client instance; no other transport (e.g., WebSocket) or auth methods (OAuth, tokens) are mentioned.

Are there known limits or rate limits?

No limits or rate limits are mentioned in the README.

评论

AI 与智能体 分类下的更多 MCP 服务器