Skip to main content

RedFox Logo

中文 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:

  1. Get one at https://redfox.hk/settings/api-keys/?source=mcp
  2. 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/?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

redfox_mcp-0.1.1.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

redfox_mcp-0.1.1-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file redfox_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: redfox_mcp-0.1.1.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

Hashes for redfox_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a501658f55f981177ad8e40c1d4000b48534b47ffbfb80356892bc5309e0950c
MD5 4ced4d48f2fc20ec6c65e9f5b6029f8d
BLAKE2b-256 827c612ae23a322e2ab6b4ebb8c62c8a6b21c83ad56989b299140626c356697d

See more details on using hashes here.

File details

Details for the file redfox_mcp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: redfox_mcp-0.1.1-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

Hashes for redfox_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dd438bcfbcdaa960681574b0be0291895229542efa3a09fd81a2eb6387bc8cab
MD5 475d246a68866db0fd0820f1a6aa08db
BLAKE2b-256 4f9174b49b7c2c418944e1518e8f0375db614904eb9e7fd496010cd8b7b1e1fb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page