AI 原生
The Tea API 作為 MCP 伺服器.
將 Claude Desktop、Cowork 或任何 MCP 用戶端連接至中國茶百科 — 橫跨 72 種語言的 450 款茶、沖泡、風土、化學、擴充與 2,623 條詞彙表,以八項工具形式公開。
端點 server.py REST 文件託管版 — 透過 URL 連接 免安裝
將任何支援遠端(Streamable HTTP)伺服器的 MCP 用戶端指向:
https://api.thetea.app/mcp
Add an Authorization: Bearer tt_… header to use a paid key — free works without one (English only).
從 JSON 讀取遠端伺服器的用戶端:
{
"mcpServers": {
"thetea": {
"url": "https://api.thetea.app/mcp",
"headers": { "Authorization": "Bearer tt_your_key" }
}
}
}
Stdio-only clients (some Claude Desktop builds) can bridge with mcp-remote:
{
"mcpServers": {
"thetea": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://api.thetea.app/mcp",
"--header", "Authorization: Bearer tt_your_key"]
}
}
}
替代方案 — 本機 Python 伺服器
- Install the runtime:
pip install "mcp[cli]" httpx - 儲存 server.py 在某處,記下它的絕對路徑。
- Add it to
claude_desktop_config.json:
{
"mcpServers": {
"thetea": {
"command": "python3",
"args": ["/absolute/path/to/server.py"],
"env": { "THETEA_KEY": "tt_your_paid_key" }
}
}
}
來自 定價頁面 解鎖 7 種語言(Pro)或全部 72 種(Expert / Lifetime)。
公開的工具
- search_tea
- list_teas
- get_tea
- get_field
- compare_teas
- random_tea
- glossary
- tea_map
其他進入方式
同一份資料也能以一般 REST API,以及一個 OpenAPI GPT Actions 規格,以及 llms.txt.