小红书热帖获取
@chaseSpace
About 小红书热帖获取
No overview available yet
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>"
}
}
}
}Tools
No tools detected
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
FAQ from 小红书热帖获取
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.
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.
Can I fetch more than 10 posts?
No. The server fetches a default of 5–10 posts per request and does not support pagination.
What are the system requirements?
Python 3.12+, Chrome browser, and an active internet connection. DingTalk robot credentials are required.
Is this server available on PyPI?
No. It is only distributed via GitHub for local deployment.
Frequently asked questions
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.
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.
Can I fetch more than 10 posts?
No. The server fetches a default of 5–10 posts per request and does not support pagination.
What are the system requirements?
Python 3.12+, Chrome browser, and an active internet connection. DingTalk robot credentials are required.
Is this server available on PyPI?
No. It is only distributed via GitHub for local deployment.
Basic information
More Browser Automation MCP servers
@mendableai/firecrawl Mcp Server
mendableaiThe API to search, scrape, and interact with the web at scale. 🔥
Playwright MCP Server 🎭
executeautomationPlaywright Model Context Protocol Server - Tool to automate Browsers and APIs in Claude Desktop, Cline, Cursor IDE and More 🔌
Puppeteer MCP Server
merajmehrabiThis MCP server provides browser automation capabilities through Puppeteer, allowing interaction with both new browser instances and existing Chrome windows.
browser-mcp
djydeA browser extension and MCP server that allows you to interact with the browser you are using.

Fetch
modelcontextprotocolModel Context Protocol Servers
Comments