# XHS Downloader (MCP server)

> XHS Downloader is an MCP server that adds tools to AI assistants such as Claude Desktop, Claude Code and Cursor. 小红书（XiaoHongShu、RedNote）链接提取/作品采集工具. It has 12,922 GitHub stars, is released under the GPL-3.0 license and runs locally with docker run -i --rm ghcr.io/joeanamier/xhs-downloader.

项目程序与用户脚本功能清单，快速了解项目能力（点击展开） 程序功能 ✅ 采集小红书作品信息 ✅ 提取小红书作品下载地址 ✅ 下载小红书作品文件 ✅ 下载视频作品封面文件 ✅ 下载小红书 livePhoto 文件 ✅ 自动跳过已下载的作品文件 ✅ 作品文件完整性处理机制 ✅ 自定义图文作品文件下载格式 ✅ 持久化储存作品信息至文件 ✅ 作品文件储存至单独文件夹 ✅ 后台监听剪贴板下载作品 ✅ 记录已下载作品 ID ✅ 支持命令行下载作品文件 ☑️ 从浏览器读取 Cookie ✅ 自定义文件名称格式 ✅ 支持 API 调用功能 ✅ 支持 MCP 调用功能 ✅ 支持文件断点续传下载 ✅ 智能识别作品文件类型 ✅ 支持设置作者备注 ✅ 自动更新作者昵称 脚本功能 ✅ 下载小红书作品文件 ✅ 提取推荐页面作品链接 ✅ 提取账号发布作品链接 ✅ 提取账号收藏作品链接 ✅ 提取账号点赞作品链接 ✅ 提取账号专辑作品链接 ✅ 提取搜索结果作品链接 ✅ 提取搜索结果用户链接

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/JoeanAmier/XHS-Downloader |
| GitHub stars | 12,922 |
| License | GPL-3.0 |
| Language | JavaScript |
| Transport | stdio |
| Packages | docker: ghcr.io/joeanamier/xhs-downloader |
| Remote URL | none |
| Needs API key | no |
| Official | no |
| Works with | Claude Desktop, Claude Code, Cursor, VS Code |
| Category | Other |
| Latest release | 2.8 (Sep 12, 2026) |
| Last commit | Sep 16, 2026 |

## Install

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "xhs-downloader": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/joeanamier/xhs-downloader"
      ]
    }
  }
}
```

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

### Claude Code

```sh
claude mcp add --transport stdio xhs-downloader -- docker run -i --rm ghcr.io/joeanamier/xhs-downloader
```

### Cursor (.cursor/mcp.json)

```json
{
  "mcpServers": {
    "xhs-downloader": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/joeanamier/xhs-downloader"
      ]
    }
  }
}
```

Project file; use ~/.cursor/mcp.json to enable it in every project.

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "xhs-downloader": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/joeanamier/xhs-downloader"
      ]
    }
  }
}
```

Config formats checked against the official docs on 2026-10-07.

## Similar MCP servers

- [Reactive Resume](https://appsgit.com/mcp-servers/reactive-resume): A one-of-a-kind resume builder that keeps your privacy in mind. (43,921 stars, MIT)
- [N8n MCP](https://appsgit.com/mcp-servers/n8n-mcp): A MCP for Claude Desktop / Claude Code / Windsurf / Cursor to build n8n workflows for you. (23,047 stars, MIT)
- [MCP Use](https://appsgit.com/mcp-servers/mcp-use): The fullstack MCP framework to develop MCP Apps for ChatGPT / Claude & MCP Servers for AI Agents. (10,726 stars, MIT)
- [Ha MCP](https://appsgit.com/mcp-servers/ha-mcp): Comprehensive Model Context Protocol server for managing Home Assistant through AI assistants. (4,964 stars, MIT)
- [MCP Server Chart](https://appsgit.com/mcp-servers/mcp-server-chart): A Model Context Protocol server for generating charts using AntV. (4,391 stars, MIT, needs API key)
- [Flint Chart](https://appsgit.com/mcp-servers/flint-chart): 🪄 Flint is a visualization language that lets AI agents reliably create expressive, good-looking charts from simple, human-editable chart specs. (4,343 stars, MIT, official)

---

Canonical page: https://appsgit.com/mcp-servers/xhs-downloader
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
