THE TEA · 開發者平台api.thetea.app
tea.support

AI 原生

茶 API 以 MCP 伺服器形式.

將 Claude Desktop、Cowork 或任何 MCP 用戶端連接至中國茶百科全書——72 種語言嘅茶葉同主題文章,涵蓋沖泡、風土、化學、製作工序、經核實嘅地理標誌同多語言詞彙表——以及 b2btea.com 茶葉公司名錄。工具列表見下文;即時統計數字見 llms.txt.

Endpoint 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 伺服器

  1. Install the runtime: pip install "mcp[cli]" httpx
  2. 儲存 server.py 到任意位置,記低佢嘅絕對路徑。
  3. 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/永久方案)。

已公開嘅工具

茶葉百科

參考資料

公司名錄

get_tea returns Markdown for reading; get_tea_card returns the same card as JSON with every field. catalog_meta lists the section and field codes that get_field accepts. Summaries written by a model are marked as machine drafts.

公司名錄

同一個伺服器仲開放咗 b2btea.com,一個全球茶葉公司名錄——工廠、批發商、進口商、出口商、茶館、市場同合作社——支援 15 種語言:英文、俄文、中文、德文、法文、西班牙文、意大利文、葡萄牙文、日文、韓文、土耳其文、阿拉伯文、波蘭文、荷蘭文同越南文。

What you will not find there: e-mail addresses, in any field. Entries come from open sources and do not claim that a company operates today; each carries its evidence level, from a website that answered a live check to a name a source mentioned. Without a key a search returns the first 10 results and no paging; company cards are always open. REST: /api/v2/companies, /api/v2/company/{slug}, /api/v2/companies/facets.

其他接入方式

同一份資料亦係純 REST API,一個 OpenAPI 規格(供 GPT Actions 使用),同一個 llms.txt。你嘅計劃同用量: 帳戶.