THE TEA · plataporma para sa mga developerapi.thetea.app
tea.support

AI-native

Ang tea API bilang isang MCP server.

Ikonekta ang Claude Desktop, Cowork, o anumang MCP client sa ensiklopedya ng tsaang Tsino — mga tsaa at artikulo ng paksa sa 72 wika na may pagtitimpla, terroir, kemika, mga hakbang ng produksyon, beripikadong heograpikal na indikasyon at multilingual na glosaryo — at sa direktoryo ng mga kumpanya ng tsaa ng b2btea.com. Nakalista sa ibaba ang mga tool; ang mga live na bilang ay nasa llms.txt.

Endpoint server.py Dokumentasyon ng REST

Hosted — kumonekta sa pamamagitan ng URL walang install

Ituro ang anumang MCP client na sumusuporta sa remote (Streamable HTTP) servers sa:

https://api.thetea.app/mcp

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

Mga kliyenteng nagbabasa ng remote servers mula sa 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"]
    }
  }
}

Alternatibo — lokal na Python server

  1. Install the runtime: pip install "mcp[cli]" httpx
  2. I-save server.py sa kung saan, tandaan ang absolute path nito.
  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" }
    }
  }
}

Isang bayad na key mula sa pahina ng pagpepresyo ina-unlock ang 7 wika (Pro) o lahat ng 72 (Expert / Lifetime).

Mga nakalantad na tool

Ensiklopedya ng tsaa

Sanggunian

Direktoryo ng mga kumpanya

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.

Direktoryo ng mga kumpanya

Binubuksan din ng parehong server ang b2btea.com, isang direktoryo ng mga kumpanya ng tsaa sa buong mundo — mga pabrika, wholesaler, importer, exporter, tea house, pamilihan at kooperatiba — sa 15 wika: Ingles, Ruso, Tsino, Aleman, Pranses, Espanyol, Italyano, Portuges, Hapones, Koreano, Turko, Arabe, Polako, Olandes at Vietnamese.

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.

Iba pang paraan para makapasok

Ang parehong data ay isa ring payak na REST API, isang OpenAPI spec para sa GPT Actions, at isang llms.txt. Ang iyong plano at paggamit: Account.