PolarHub
  • Agents
  • MCP Servers
  • Skills
  • PolarBear
PolarHub © 2026
MCP Serverssocial-media小红书API代理
返回「social-media」

小红书API代理

modelscope·@proerror77/xhs_mcp_agent

social-media0下载LocalModelScope

简介

一个将小红书(Xiaohongshu)API封装为RESTful API服务器的微服务,允许用户在该平台上执行多种操作,例如获取笔记、搜索用户和内容、访问用户信息等。

MCP Server 详情

来自 ModelScope 索引

Xiaohongshu API MCP Server | Little Red Book API Microservice

This is a microservice that encapsulates the Xiaohongshu (Little Red Book) API into a RESTful API server. It can be deployed using Docker.

Features

  • RESTful API for Xiaohongshu operations | RESTful API for Little Red Book operations
  • Multiple client support | Support for multiple clients
  • Docker containerization | Docker containerization
  • Easy to deploy and scale | Easy to deploy and scale

API Endpoints

The server provides the following endpoints:

  • /clients - Create and manage Xiaohongshu client instances
  • /clients/{client_id}/note - Get note by ID
  • /clients/{client_id}/note/html - Get note from HTML by ID
  • /clients/{client_id}/search/notes - Search notes by keyword
  • /clients/{client_id}/search/users - Search users by keyword
  • /clients/{client_id}/user/info - Get user information by ID
  • /clients/{client_id}/user/notes - Get user's notes
  • /clients/{client_id}/feed/categories - Get recommended feed categories
  • /clients/{client_id}/feed/{feed_type} - Get recommended feed by type
  • /health - Health check endpoint

Project Structure

. ├── xhs_mcp_server/ # Main server directory │ ├── app/ # Application core │ ├── xhs/ # Xiaohongshu API module │ ├── Dockerfile # Docker build file │ └── requirements.txt # Python dependencies └── xhs_api.py # API implementation

Quick Start

Prerequisites

  • Docker
  • Docker Compose

Installation and Running

  1. Build and start the Docker container:

bash cd xhs_mcp_server docker-compose up -d

The service will run at http://localhost:8000.

  1. Run directly with Python:

bash pip install -r xhs_mcp_server/requirements.txt python xhs_api.py

API Documentation

After the server is running, you can access the API documentation at the following locations:

  • Swagger UI: http://localhost:8000/docs
  • ReDoc: http://localhost:8000/redoc

Usage Examples

  1. Create a client:

bash curl -X POST "http://localhost:8000/clients" -H "Content-Type: application/json" -d {"cookie": "your_cookie_here"}

  1. Get a note by ID:

bash curl -X POST "http://localhost:8000/clients/client_1/note" -H "Content-Type: application/json" -d {"note_id": "your_note_id", "xsec_token": "your_xsec_token"}

License

This project is intended for educational purposes only. Use at your own risk.

相关 MCP Servers(来自「social-media」)

活动搜索助手

该服务器为AI助手提供了与Eventbrite API交互的工具,允许用户搜索活动、获取活动详情、检索场地信息以及列出活动类别。

@ibraheem4/eventbrite-mcp

热闻社媒服务

一个模型上下文协议服务器,提供来自主要中文社交平台和新闻网站的实时热门话题。

@wopal-cn/mcp-hotnews-server

实时热点MCP

一个模型上下文协议服务器,为人工智能模型提供来自18个主要中国互联网平台(包括微博、知乎和哔哩哔哩)的实时热点内容。

@wangtsiao/pulse-cn-mcp

Hacker News模型上下文协议

为LLM客户端添加了强大的Hacker News集成,允许用户通过模型上下文协议访问故事、评论、用户资料和搜索功能。

@devabdultech/hn-mcp

LinkedIn数据管理服务器

一种模型上下文协议服务器,提供对LinkedIn数据和功能的全面访问,通过HorizonDataWave API实现数据检索和用户账户管理。

@horizondatawave/hdw-mcp-server

抖音mcp

dy-mcp 是一个强大的自动化抖音dy-mcp工具,旨在帮助内容创作者和运营者高效地使用抖音自动化工具,快速上手。 > 🎬 预览视频 - - 1. 克隆项目: bash git clone https://github.com/vipcong816/dy-mcp.git cd dy-mcp 2. 安装依赖:

@vipcong816/dy-mcp

自动安装

点击按钮会唤起 PolarBear 客户端,并把当前 MCP Server 的 Markdown 详情文档地址传给客户端。

/api/mcps/proerror77-xhs_mcp_agent/markdown
打开 PolarBear 安装查看 Markdown 文档

手动安装

在 PolarBear 或其他支持 MCP 的客户端中,新建 MCP Server,并参考下方来源或安装提示配置。

暂未识别到安装命令,请打开 ModelScope 详情查看完整配置。

基本信息

分类
social-media / developer-tools / content-management-systems
运行方式
No
许可证
Unknown
详情文件
proerror77-xhs_mcp_agent.md