Feedback

小红书热帖获取 MCP Server

@chasespace Claim

Basic information

Runtime
Python
License
Not specified
Transports
stdio
Author
chasespace
Submitted by
Community
Quality
10
Stars
5

About 小红书热帖获取 MCP Server

## Python-MCP-Server:小红书热帖获取

小红书热帖获取 is a MCP server in the Browser Automation category listed in the AddMCP.net directory, published by chaseSpace. Supported transport: stdio. Runtime: Python. The repository has 5 GitHub stars. Source code is hosted on github.com. Related topics: mcp, mcp-server, xiaohongshu.

Setup

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

小红书热帖获取 MCP Server config

Add this server to your MCP-compatible client using the configuration below.

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

小红书热帖获取 MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

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

Frequently asked questions

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.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬