AI-põhine
Tee API MCP-serverina.
Ühenda Claude Desktop, Cowork või mis tahes MCP-klient Hiina tee entsüklopeediaga — teed ja teemaartiklid 72 keeles koos valmistamise, terroir’i, keemia, tootmisetappide, kontrollitud geograafiliste tähiste ja mitmekeelse sõnastikuga — ning b2btea.com-i teeettevõtete kataloogiga. Tööriistad on loetletud allpool; reaalajas arvud leiad failist llms.txt.
Endpoint server.py REST-i dokumendidMajutatud — ühenda URL-i kaudu pole vaja paigaldada
Suuna igaugune MCP klient, mis toetab kaugserveried (Streamable HTTP), aadressile:
https://api.thetea.app/mcp
Add an Authorization: Bearer tt_… header to use a paid key — free works without one (English only).
Kliendid, mis loevad JSON-ist kaugserverit:
{
"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"]
}
}
}
Alternatiiv — kohalik Pythoni server
- Install the runtime:
pip install "mcp[cli]" httpx - Salvesta server.py kuhugi, märgi üles selle absoluutne tee.
- Add it to
claude_desktop_config.json:
{
"mcpServers": {
"thetea": {
"command": "python3",
"args": ["/absolute/path/to/server.py"],
"env": { "THETEA_KEY": "tt_your_paid_key" }
}
}
}
Tasuline võti hinnakirja leht avab 7 keelt (Pro) või kõik 72 (Expert / Lifetime).
Avatud tööriistad
Tee entsüklopeedia
- search_tea
- get_tea
- get_tea_card
- preview_tea
- get_field
- list_teas
- compare_teas
- random_tea
- list_topics
- similar_teas
- semantic_search
- recommend_like
- ask_sommelier
- tea_map
Teatmik
- sõnastik
- get_term
- find_places
- tea_families
- catalog_meta
- list_infusions
- get_infusion
Ettevõtete kataloog
- search_companies
- get_company
- company_facets
- companies_for_tea
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.
Ettevõtete kataloog
Sama serveri kaudu avaneb ka b2btea.com, ülemaailmne teeettevõtete kataloog — tehased, hulgimüüjad, importijad, eksportijad, teemajad, turud ja ühistud — 15 keeles: inglise, vene, hiina, saksa, prantsuse, hispaania, itaalia, portugali, jaapani, korea, türgi, araabia, poola, hollandi ja vietnami.
search_companiesfilters by country, city, Chinese province, company type, tea, Chinese-tea focus and evidence level; each result links to its page on b2btea.com.get_companyreturns the card as published on b2btea.com: description, address, phone, website, contact form, teas linked to encyclopedia articles.company_facetscounts companies by country, type, tea and region;companies_for_teagoes from an encyclopedia article to the companies that deal in that tea. The directory tags companies by tea class and a few named teas, so for most articles it falls back to the class and says so inmatched.
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.
Muud sisenemise viisid
Samad andmed on ka tavaline REST API, OpenAPI spetsifikatsioon GPT Actions jaoks ja llms.txt. Sinu pakett ja kasutus: Konto.