redfox-wechat-channels-mcp
RedFoxHub 微信视频号数据 MCP Server — 将微信视频号数据 API 封装为 7 个 MCP 工具,适用于 dsh、Claude Code、Cursor 等任意 MCP 客户端。
工具(7)
| 工具 | 说明 |
|---|---|
wechat_channels_search_works |
微信视频号关键词搜索作品 |
wechat_channels_get_work |
获取微信视频号单个作品详情 |
wechat_channels_get_user_works |
获取微信视频号用户作品列表 |
wechat_channels_get_work_by_link |
通过链接获取微信视频号作品详情 |
wechat_channels_search_users |
微信视频号关键词搜索账号 |
wechat_channels_transcript |
微信视频号视频字幕/文案提取(自动等待) |
wechat_channels_transcript_result |
查询微信视频号字幕提取任务结果 |
认证
- 前往 https://redfox.hk/settings/api-keys?source=mcp 获取 API Key
- 设置环境变量:
export REDFOX_API_KEY="YOUR_API_KEY"
未配置 key 时,每个工具都会返回结构化的获取引导。
安装与运行(本地 stdio)
需要 Python ≥ 3.10,推荐使用 uv:
uvx redfox-wechat-channels-mcp
或:
pip install redfox-wechat-channels-mcp
redfox-wechat-channels-mcp
客户端配置
Claude Code:
claude mcp add redfox-wechat-channels --env REDFOX_API_KEY=YOUR_API_KEY -- uvx redfox-wechat-channels-mcp
Cursor / 其他 MCP 客户端:
{
"mcpServers": {
"redfox-wechat-channels": {
"command": "uvx",
"args": ["redfox-wechat-channels-mcp"],
"env": { "REDFOX_API_KEY": "YOUR_API_KEY" }
}
}
}
远程 HTTP 模式(多租户)
适用于 MCP 市场与托管场景,每个用户携带自己的 API Key:
redfox-wechat-channels-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://<host>:8000/mcp(Streamable HTTP);健康检查:GET /health - 每个请求通过请求头
X-API-Key: <key>(或Authorization: Bearer <key>)携带自己的 key,按 key 建独立客户端缓存,额度互不共享
客户端配置(远程 URL + 请求头):
{
"mcpServers": {
"redfox-wechat-channels": {
"url": "http://<host>:8000/mcp",
"headers": { "X-API-Key": "ak_your_key" }
}
}
}
说明
- 本包对应 微信视频号(WeChat Channels);微信公众号数据请使用
redfox-wechat-mcp。 wechat_channels_transcript为异步任务:提交后自动轮询等待,超时未完成会返回taskId,可用wechat_channels_transcript_result继续查询。
底层实现
基于官方 SDK redfox-python-sdk。API 文档:https://redfox.hk/?source=mcp。
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file redfox_wechat_channels_mcp-0.1.0.tar.gz.
File metadata
- Download URL: redfox_wechat_channels_mcp-0.1.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
033044ca5c88bc66b9e8bb01ec2de583e15c3bc619cad2b24b65511320f3d19f
|
|
| MD5 |
4252108acbc12f57a94f55f4c7d85852
|
|
| BLAKE2b-256 |
99ed4860f3bc77a30ff187589a956400fb64a5209df0d569cb7a5cab1580c50d
|
File details
Details for the file redfox_wechat_channels_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: redfox_wechat_channels_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b77448f424e8431ea6f11668ae68ca4e3cd7723362dbd315593096e4f1f9873
|
|
| MD5 |
4c3e5ea6d82eaf7f04d32155fe85e15c
|
|
| BLAKE2b-256 |
b94fcec3ea0a2c3a99fde79feaaeb15357592edb9d1a997c4f7fc40f3db823de
|