Skip to main content Switch to mobile version redfox-xiaohongshu-mcp 0.4.0 RedFoxHub Xiaohongshu MCP server: note/blogger search, account info, note detail, AI notes search
pip install redfox-xiaohongshu-mcp==0.4.0 Copy PIP instructions
RedFoxHub 小红书数据 MCP Server — 将小红书数据 API 封装为 15 个 MCP 工具,适用于 dsh、Claude Code、Cursor 等任意 MCP 客户端。
异步工具(评论、提文案)内部自动轮询:提交 → 等待 → 返回完整结果。若等待超过 timeout_seconds(默认 240 秒),返回 taskId,可用对应的 result 工具补查。
前往 https://redfox.hk/settings/api-keys?source=mcp 获取 API Key
export REDFOX_API_KEY="YOUR_API_KEY" 未配置 key 时,每个工具都会返回结构化的获取引导。
uvx redfox-xiaohongshu-mcp 或:
claude mcp add redfox-xiaohongshu --env REDFOX_API_KEY=YOUR_API_KEY -- uvx redfox-xiaohongshu-mcp Cursor / 其他 MCP 客户端:
{ "mcpServers": { "redfox-xiaohongshu": { "command": "uvx", "args": ["redfox-xiaohongshu-mcp"], "env": { "REDFOX_API_KEY": "YOUR_API_KEY" } } } } 远程 HTTP 模式(多租户)
适用于 MCP 市场与托管场景,每个用户携带自己的 API Key:
redfox-xiaohongshu-mcp --transport http --host 0.0.0.0 --port 8000 # 或环境变量:REDFOX_MCP_TRANSPORT=http REDFOX_MCP_HOST=0.0.0.0 REDFOX_MCP_PORT=8000 MCP 端点:http:// :8000/mcp(Streamable HTTP);健康检查:GET /health
每个请求通过请求头 REDFOX_API_KEY: (或 Authorization: Bearer )携带自己的 key,按 key 建独立客户端缓存,额度互不共享
{ "mcpServers": { "redfox-xiaohongshu": { "url": "http:// :8000/mcp", "headers": { "REDFOX_API_KEY": "ak_your_key" } } } } Docker 部署
本包目录自带 Dockerfile,可独立构建部署:
cd packages/redfox-xiaohongshu-mcp docker build -t redfox-xiaohongshu-mcp . docker run -d -p 8000:8000 redfox-xiaohongshu-mcp 镜像不内置任何 API Key,调用方通过请求头携带自己的 key。
基于官方 SDK redfox-python-sdk。API 文档:https://redfox.hk/?source=mcp。
MIT View SPDX License List
mcp redfox rednote xiaohongshu
Release files for redfox-xiaohongshu-mcp 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 10.9 kB
Release files / redfox_xiaohongshu_mcp-0.4.0.tar.gz
Security for redfox-xiaohongshu-mcp 0.4.0
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Nov 4, 2026 2 release files No provenance
Oct 26, 2026 2 release files No provenance
Oct 26, 2026 1 release file No provenance
Oct 19, 2026 2 release files No provenance
Sep 22, 2026 2 release files No provenance
Sep 10, 2026 2 release files No provenance
Aug 28, 2026 2 release files No provenance
Aug 27, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




