ai.smithery/blbl147-xhs-mcp

Official registry Other

搜索笔记、浏览首页推荐、查看笔记内容与评论,并发表你的评论。直接在工作流中与小红书内容互动,高效跟进话题。

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

Remote (streamable-http)
Claude Code
claude mcp add --transport http blbl147-xhs-mcp 'https://server.smithery.ai/@blbl147/xhs-mcp/mcp' --header 'Authorization: <Bearer token for Smithery authentication>'
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "blbl147-xhs-mcp": {
            "type": "http",
            "url": "https://server.smithery.ai/@blbl147/xhs-mcp/mcp",
            "headers": {
                "Authorization": "<Bearer token for Smithery authentication>"
            }
        }
    }
}

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. 小红书MCP服务
  2. 特点
  3. 快速开始
  4. 免责声明

小红书MCP服务

特点

  • [x] 采用js逆向出x-s,x-t,直接请求http接口,无须笨重的playwright
  • [x] 搜索笔记
  • [x] 获取笔记内容
  • [x] 获取笔记的评论
  • [x] 发表评论

快速开始

1. 环境
  • node
  • python 3.12
  • uv (pip install uv)
2. 安装依赖

git clone git@github.com:jobsonlook/xhs-mcp.git

cd xhs-mcp
uv sync 
3. 获取小红书的cookie

打开web小红书 登录后,获取cookie,将cookie配置到第4步的 XHS_COOKIE 环境变量中

4. 配置mcp server
{
    "mcpServers": {
        "xhs-mcp": {
            "command": "uv",
            "args": [
                "--directory",
                "/Users/xxx/xhs-mcp",
                "run",
                "main.py"
            ],
            "env": {
                "XHS_COOKIE": "xxxx"
            }
        }
    }
}

免责声明

本项目仅用于学习交流,禁止用于其他用途,任何涉及商业盈利目的均不得使用,否则风险自负。

Frequently asked questions

What is ai.smithery/blbl147-xhs-mcp?

搜索笔记、浏览首页推荐、查看笔记内容与评论,并发表你的评论。直接在工作流中与小红书内容互动,高效跟进话题。

How do I install ai.smithery/blbl147-xhs-mcp?

It runs as a remote server. In Claude Code: claude mcp add --transport http blbl147-xhs-mcp 'https://server.smithery.ai/@blbl147/xhs-mcp/mcp' --header 'Authorization: <Bearer token for Smithery authentication>'. For other clients, paste the JSON configuration from this page into their MCP settings.

Does ai.smithery/blbl147-xhs-mcp need an API key?

Yes. It expects Authorization, which you set in its configuration.

Is ai.smithery/blbl147-xhs-mcp open source?

Its code is public on GitHub, but the repository does not declare a standard license.

Who maintains ai.smithery/blbl147-xhs-mcp?

It is published by blbl147. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.