china-mcp-servers

china-mcp-servers

Provides MCP servers for Chinese services: holiday checking (statutory holidays and makeup workdays), WeChat push notifications via Server酱, and Baidu translation.

Category
访问服务器

README

china-mcp-servers

MCP servers for Chinese services that didn't have one.

While compiling awesome-china-mcp we found 88 widely-used Chinese services with a documented official API and no maintained MCP server anywhere. This repo starts working through that list. Round one picks the three where you can get a credential yourself in five minutes — or need none at all.

Server What your agent can do Credential
holiday Is this date a day off in mainland China? Statutory holiday, 调休 makeup workday, weekend or ordinary workday — plus a whole year at once none
serverchan Push a notification to your own WeChat (Server酱) free, self-serve
baidu-translate Translate text between 20+ languages (Baidu Translate 标准版) free tier, self-serve

Try it in ten seconds

The holiday server needs no signup, no key, nothing:

npx -y github:zackchewa/china-mcp-servers holiday

Then point any MCP client at it:

{
  "mcpServers": {
    "china-holiday": {
      "command": "npx",
      "args": ["-y", "github:zackchewa/china-mcp-servers", "holiday"]
    }
  }
}

Ask your agent "is 2026-10-01 a working day in China?" and it will answer 国庆节, day off. Ask about a 调休 Sunday and it will correctly tell you that you're working.

Works with Claude Desktop, Cursor, Cline, VS Code, OpenClaw, Hermes, Cherry Studio, or anything else that speaks MCP over stdio.

Not on npm yet, so these run straight from the repo; npm publish will shorten the command to npx -y china-mcp-servers <server>.

The servers

holiday — 中国法定节假日 / 调休

Two tools: holiday_check_date (defaults to today in China time) and holiday_list_year.

Anything that schedules work in China needs this, because a weekend check is not enough — the 调休 system makes some Saturdays and Sundays mandatory working days to pay for a long holiday. A naive calendar gets those exactly backwards.

Data comes from NateScarlet/holiday-cn, a maintained JSON mirror of the State Council's published 放假安排, cached 12 hours in memory.

Why not timor.tech, the API most tutorials use: it sits behind a Cloudflare challenge that blocks non-CN server egress. The two GitHub CDNs used here answer from anywhere, and the second is tried if the first fails.

serverchan — push to your own WeChat

One tool: serverchan_send (title required, desp is Markdown).

This gives an agent a way to reach you rather than waiting to be asked — cron results, alerts, "the deploy finished". Messages go to your own WeChat only.

Get a SendKey free at sct.ftqq.com — scan-login with WeChat, copy the key:

{
  "mcpServers": {
    "serverchan": {
      "command": "npx",
      "args": ["-y", "github:zackchewa/china-mcp-servers", "serverchan"],
      "env": { "SERVERCHAN_SENDKEY": "SCT..." }
    }
  }
}

Both live key formats are handled automatically, which is the part that usually breaks: Turbo keys (SCT…) post to sctapi.ftqq.com, while Server³ keys (sctp<uid>t…) post to <uid>.push.ft07.com, where the uid is the digit run inside your own key. Send the second kind to the first host and you get a confusing 404.

baidu-translate — 百度翻译

One tool: baidu_translate (from defaults to auto-detect, to defaults to Chinese).

The 标准版 tier is genuinely free (50k characters/month) and has a 暂不认证 path, so you can get working credentials at fanyi-api.baidu.com without ID verification.

{
  "mcpServers": {
    "baidu-translate": {
      "command": "npx",
      "args": ["-y", "github:zackchewa/china-mcp-servers", "baidu-translate"],
      "env": {
        "BAIDU_TRANSLATE_APPID": "your-appid",
        "BAIDU_TRANSLATE_SECRET": "your-secret"
      }
    }
  }
}

Two traps are handled for you. The signature is MD5(appid + q + salt + secret) over the raw UTF-8 text — sign the URL-encoded form instead and you get error 54001, which is the single most common complaint about this API. And the per-call limit is 6000 bytes, not characters, so Chinese input hits it at roughly 2000 characters; this bounds on bytes and tells you to split.

What is actually verified

Being specific, because "works" is easy to claim:

  • holiday is verified end to end over real MCP stdio against the live dataset — handshake, tools/list, and tools/call returning 国庆节 for 2026-10-01.
  • All three servers are verified over real MCP stdio for handshake and tool listing, and the credentialed two return a clear, actionable error when their environment variable is absent rather than hanging or crashing.
  • Request construction and error mapping are covered by 21 unit tests over mocked HTTP, including the signature-over-raw-text rule, the byte-length bound, both SendKey host formats, SendKey redaction from errors, the CDN fallback, and the refusal to cache a wrong-year holiday payload.
  • The logic in all three is ported from adapters that run in production at OpenClaw Launch, so the API contracts are proven in real use. What has not happened is a live upstream call from this package for the two credentialed servers — that needs your own keys, and this repo ships without any.

Contributing

The 88-row gap list in awesome-china-mcp is the roadmap. If you want to add a server, the ones worth doing first are the ones whose credentials an ordinary developer can actually obtain — an enterprise-only API makes a server almost nobody can run.

House rules, all learned the hard way:

  • Fix the host. No user-supplied base URLs, and refuse redirects.
  • Bound every input, and bound text on bytes when the upstream limit is in bytes.
  • Redact credentials from every error path, especially when the credential rides in a URL.
  • Treat a business-level failure as a failure even when HTTP says 200. Chinese APIs very often return {"code": 40001} with a 200.
  • Say what a tool cannot do. A read-only server that claims to write wastes everyone's time.

Related

  • awesome-china-mcp — the index these came out of: MCP servers for Chinese apps, official first, plus the gap list.
  • If you'd rather not self-host, OpenClaw Launch runs a hosted version of these and about a hundred more Chinese app connections.

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选