XHS-Downloader
Fetch and download Xiaohongshu (RedNote) posts via GUI, CLI, API, or MCP
Install
See setup instructions on discord.comWhat it does
XHS-Downloader is a tool for extracting metadata and downloading media from Xiaohongshu (also called RedNote). Given post links from explore, discovery, user profile, or xhslink share URLs, it retrieves post details, resolves download addresses, and saves images, videos, video covers, and live photos to disk. It supports image format selection, per-post or per-author folders, download records that skip already-fetched items, resumable transfers, and optional saving of post metadata to a SQLite file. Multi-link input is accepted, and a browser userscript can push download tasks to a running instance.
It is aimed at users who archive their own or public Xiaohongshu content: desktop users wanting a GUI or TUI, and developers who need programmatic access. Runtime options include packaged executables for Windows and macOS, Python source with Python 3.12 or newer, and Docker images. An API mode exposes a /xhs/detail endpoint on port 5556 with bearer-token authentication, and an MCP mode serves Streamable HTTP at /mcp, also token-protected. Client configuration is supplied as an MCP server entry with an Authorization header.
Limitations: Cookie setup is optional but without one, videos are limited to lower resolution; recently issued links may be required because older links can be rejected; browser-cookie reading may fail on newer browser versions; Docker lacks clipboard monitoring and command-line invocation; and some Mac builds need a quarantine flag removed before first launch. Built-in request delays reduce load on the platform.
Compatibility and authentication
- Connection
- Local
- Transports
- Unspecified
- Authentication
- Unknown
Security and permissions
- When you run the server locally, it runs with your user permissions.
- Authentication type: Unknown.
Repository data
- Stars
- 13,389
- Last push
- Nov 21, 2026
- License
- GPL-3.0
- Archived
- No
FAQ
- What license does XHS-Downloader use?
- GPL-3.0
- Does XHS-Downloader run locally or remotely?
- It runs locally.
- Is XHS-Downloader an official server?
- It is listed as a community server.
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/mcp/xhs-downloader"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.