中文 English
redfox-mcp
RedFoxHub MCP Server — turns the data APIs of 6 major content platforms plus AI search / generation capabilities into 40 MCP tools, ready for any MCP client such as dsh, Claude Code or Cursor.
Tools (40)
| Category | Tools | Notes |
|---|---|---|
| Douyin | douyin_search_articles / douyin_search_users / douyin_get_user / douyin_get_user_works / douyin_get_work / douyin_search_ai_articles |
work search, account search, account info, work lists, work detail, AI-work feed |
| Xiaohongshu | xiaohongshu_search_articles / xiaohongshu_search_users / xiaohongshu_get_account / xiaohongshu_get_work / xiaohongshu_search_ai_articles |
note search, creator search, account info, note detail, AI-note feed |
| WeChat Official Accounts | wechat_search_articles / wechat_search_users / wechat_get_account / wechat_get_user_works / wechat_get_work / wechat_get_article_detail / wechat_search_ai_articles |
article search (incl. full-text detail), account search, article lists, AI-article feed |
| Bilibili | bilibili_search_articles / bilibili_search_users / bilibili_get_account / bilibili_get_user_works / bilibili_get_work |
video search, UP-master search / info / videos, video detail |
| Toutiao | toutiao_search_works / toutiao_get_work |
content search, work detail (realtime) |
| TikTok | tiktok_search_users |
account search |
| AI search | ai_search_kimi / ai_search_doubao / ai_search_deepseek |
one call submits the query and waits for the full answer |
| AI generation | gpt_image_generate / doubao_image_pro_generate / doubao_image_lite_generate / doubao_video_generate |
text-to-image / image-to-image / image sets / text-to-video, one call submits and waits |
| Task follow-up | ai_search_*_result / gpt_image_result / doubao_image_*_result / doubao_video_result (7 in total) |
when an async tool times out it returns a taskId; use the matching result tool to fetch the outcome |
Async tools (AI search / generation) poll internally: submit → wait → return the full result, with no manual taskId handling. If the wait exceeds timeout_seconds (default 240s, 480s for video), a taskId is returned for the matching result tool.
Authentication
All APIs require a RedFoxHub API key:
- Get one at https://redfox.hk/settings/api-keys
- Set the environment variable:
export REDFOX_API_KEY="YOUR_API_KEY"
Without a key, every tool returns a structured message explaining how to obtain one.
Install & Run
Python ≥ 3.10 required. Recommended via uv:
uvx redfox-mcp
or:
pip install redfox-mcp
redfox-mcp
The server runs on stdio transport.
Client Configuration
dsh (DeepSeek Harness)
Install the official bundle plugin redfox-community-dsh — it registers this MCP server out of the box, exposing tools as mcp__redfox__*:
dsh plugin --profile web add -w github:redfox-data/redfox-community-dsh
Claude Code
claude mcp add redfox --env REDFOX_API_KEY=YOUR_API_KEY -- uvx redfox-mcp
Cursor / other MCP clients
Add to your MCP configuration:
{
"mcpServers": {
"redfox": {
"command": "uvx",
"args": ["redfox-mcp"],
"env": { "REDFOX_API_KEY": "YOUR_API_KEY" }
}
}
}
Under the Hood
Built on the official SDK redfox-python-sdk. API docs: https://redfox.hk.
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_mcp-0.1.0.tar.gz.
File metadata
- Download URL: redfox_mcp-0.1.0.tar.gz
- Upload date:
- Size: 8.1 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 |
455d00f8ec25d232e8eb06346ded56768837044c8175adb41ae851af2b69dce6
|
|
| MD5 |
5c054cf735e9c825d0bd335ca4f264d7
|
|
| BLAKE2b-256 |
db8768fa5c084a7feb572acbf86d2402affa6b0449837f912198de4a38595938
|
File details
Details for the file redfox_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: redfox_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.1 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 |
1ae4930c290bac2468b2043c8254bb2ed2156893384c9ae8d2e1a101439af3c7
|
|
| MD5 |
77f7b126c2cadf64633f6b6693252814
|
|
| BLAKE2b-256 |
561afefa6eee70484418b7b58f1bc16ce510a330dd80101e481d8d1492dcb290
|