MCP.so
登录
小

小红书热帖获取 MCP Server

@chaseSpace

基本信息

分类

浏览器自动化

传输方式

stdio

作者

chaseSpace

提交者

LEI LI

关于 小红书热帖获取 MCP Server

暂无概览

小红书热帖获取 MCP Server 配置

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

{
  "mcpServers": {
    "mcp_fetch_xhs_post": {
      "command": "仅支持本地sse部署",
      "args": [],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
      }
    }
  }
}

小红书热帖获取 MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

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

概览

What is 小红书热帖获取?

小红书热帖获取 is an MCP server that fetches trending posts from Xiaohongshu (Little Red Book) based on a keyword. It uses the FastMCP SDK and requires user authentication via QR code delivered through DingTalk. Developers and researchers can integrate this server into MCP clients to retrieve post data for educational or research purposes.

How to use 小红书热帖获取?

Clone the repository, install dependencies with uv sync, then run uv run main.py. Configure DingTalk webhook and secret in a mcp.env file. Add the server to your MCP client with transport type SSE and URL http://127.0.0.1:9090/sse. On first run, scan the QR code sent to DingTalk to log in to Xiaohongshu. Use the fetch_xhs_hot_post tool to get posts by keyword.

Key features of 小红书热帖获取

  • Fetches hot Xiaohongshu posts by keyword
  • Returns 5–10 posts per request (configurable)
  • Includes title, content, publish time, and tags
  • Uses DingTalk for secure login
  • Runs locally with Python 3.12+ and Chrome

Use cases of 小红书热帖获取

  • Analyze trending topics on Xiaohongshu
  • Collect data for social media research
  • Monitor keyword-specific content trends
  • Feed post data into analytics pipelines

常见问题

1

How does authentication work?

The server sends a Xiaohongshu login QR code to a configured DingTalk group. You must scan it within 30 seconds; the process retries up to 3 times.

2

What data fields are returned for each post?

Each post includes its title, content, publish time, and associated tags. Refer to the `Post` model in `model.py` for the full schema.

3

Can I fetch more than 10 posts?

No. The server fetches a default of 5–10 posts per request and does not support pagination.

4

What are the system requirements?

Python 3.12+, Chrome browser, and an active internet connection. DingTalk robot credentials are required.

5

Is this server available on PyPI?

No. It is only distributed via GitHub for local deployment.

评论

浏览器自动化 分类下的更多 MCP 服务器