THE TEA · platform pembangunapi.thetea.app
tea.support

Berasaskan AI

API teh sebagai pelayan MCP.

Sambungkan Claude Desktop, Cowork atau mana-mana klien MCP ke ensiklopedia teh Cina — teh dan artikel topik dalam 72 bahasa, dengan seduhan, terroir, kimia, langkah pengeluaran, petunjuk geografi yang disahkan dan glosari berbilang bahasa — serta ke direktori syarikat teh b2btea.com. Alat-alat disenaraikan di bawah; kiraan langsung terdapat dalam llms.txt.

Endpoint server.py Dokumen REST

Dihos — sambung melalui URL tanpa pemasangan

Halakan mana-mana klien MCP yang menyokong pelayan jauh (Streamable HTTP) ke:

https://api.thetea.app/mcp

Add an Authorization: Bearer tt_… header to use a paid key — free works without one (English only).

Klien yang membaca pelayan jauh daripada 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"]
    }
  }
}

Alternatif — pelayan Python setempat

  1. Install the runtime: pip install "mcp[cli]" httpx
  2. Simpan server.py di suatu lokasi, catatkan laluan mutlaknya.
  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" }
    }
  }
}

Kunci berbayar daripada halaman harga membuka 7 bahasa (Pro) atau kesemua 72 (Pakar / Seumur Hidup).

Alat yang didedahkan

Ensiklopedia teh

Rujukan

Direktori syarikat

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.

Direktori syarikat

Pelayan yang sama membuka b2btea.com, direktori syarikat teh di seluruh dunia — kilang, pemborong, pengimport, pengeksport, rumah teh, pasar dan koperasi — dalam 15 bahasa: Inggeris, Rusia, Cina, Jerman, Perancis, Sepanyol, Itali, Portugis, Jepun, Korea, Turki, Arab, Poland, Belanda dan Vietnam.

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.

Cara lain untuk masuk

Data yang sama juga tersedia sebagai API REST, suatu OpenAPI spesifikasi untuk GPT Actions, dan satu llms.txt. Pelan dan penggunaan anda: Akaun.