iFurySt/RedNote-MCP
🚀MCP server for accessing RedNote(XiaoHongShu, xhs).
Overview
iFurySt/RedNote-MCP is a TypeScript MCP server licensed under MIT. 🚀MCP server for accessing RedNote(XiaoHongShu, xhs). Topics: ai, mcp, mcp-server, rednote, xhs, rednote-mcp, xhs-mcp.
Ranked #7804 out of 25632 indexed tools.
Has 1,010 GitHub stars.
Ecosystem
TypeScript MIT
aimcpmcp-serverrednotexhsrednote-mcpxhs-mcp
Signal Breakdown
Stars 1,010
Freshness 10mo ago
Issue Health 20%
Contributors 4
Dependents 0
Forks 161
Description Good
License MIT
How to Improve
Description low impact
Freshness high impact
Issue Health high impact
Matched Queries
From the README
# RedNote MCP
小红书内容访问的MCP服务
https://github.com/user-attachments/assets/06b2c67f-d9ed-4a30-8f1d-9743f3edaa3a
## 快速开始
开始前确保安装了 [playwright](https://github.com/microsoft/playwright) 环境:
```bash
npx playwright install
```
### NPM 全局安装
```bash
# 全局安装
npm install -g rednote-mcp
# 初始化登录,会自动记录cookie到 ~/.mcp/rednote/cookies.json
rednote-mcp init
```
### 从源码安装
```bash
# 克隆项目
git clone https://github.com/ifuryst/rednote-mcp.git
cd rednote-mcp
# 安装依赖
npm install
# 全局安装(可选,方便命令行调用)
npm install -g .
# 或者直接运行,如初始化登录
npm run dev -- init
```
## 功能特性
- 认证管理(支持 Cookie 持久化)
- 关键词搜索笔记
- 命令行初始化工具
- 通过 URL 访问笔记内容
- [ ] 通过 URL 访问评论内容
## 使用说明
### 1. 初始化登录
首次使用需要先进行登录初始化:
```bash
rednote-mcp init
# 或者直接从源码run
npm run dev -- init
# 或者mcp-client里选择login
```
执行此命令后:
1. 会自动打开浏览器窗口
2. 跳转到小红书登录页面
3. 请手动完成登录操作
4. 登录成功后会自动保存 Cookie 到 `~/.mcp/rednote/cookies.json` 文件
### 2. 在 Cursor 中配置 MCP Server
在 Cursor 的 settings.json 中添加以下配置:
```json
{
"mcpServers": {
"RedNote MCP": {
"command": Read full README on GitHub →
Are you the maintainer? Claim this listing