AI-مقامی
دی ٹی API بطور MCP سرور.
Claude Desktop، Cowork یا کسی بھی MCP کلائنٹ کو چینی چائے کے انسائیکلوپیڈیا سے جوڑیں — 72 زبانوں میں چائے اور موضوعاتی مضامین، جن میں دم کشی، علاقائی خصوصیات، کیمسٹری، تیاری کے مراحل، تصدیق شدہ جغرافیائی اشارے اور کثیر لسانی فرہنگ شامل ہیں — اور ساتھ ہی b2btea.com کی چائے کمپنیوں کی ڈائریکٹری سے بھی۔ ٹولز نیچے درج ہیں؛ براہِ راست اعداد و شمار یہاں ہیں: llms.txt.
Endpoint server.py REST docsمیزبانی شدہ — URL کے ذریعے جڑیں انسٹالیشن کی ضرورت نہیں
کسی بھی MCP کلائنٹ کو جو ریموٹ (Streamable HTTP) سرورز کو سپورٹ کرتا ہو، اس طرف اشارہ کریں:
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 زبانیں (پرو) یا تمام 72 (ایکسپرٹ / لائف ٹائم) کھولتا ہے۔
ظاہر کردہ ٹولز
چائے کا انسائیکلوپیڈیا
- 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
حوالہ جات
- glossary
- get_term
- find_places
- tea_families
- catalog_meta
- list_infusions
- get_infusion
کمپنیوں کی ڈائریکٹری
- 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.
کمپنیوں کی ڈائریکٹری
یہی سرور b2btea.com، یعنی دنیا بھر کی چائے کمپنیوں کی ڈائریکٹری تک بھی رسائی دیتا ہے — فیکٹریاں، ہول سیلرز، درآمد کنندگان، برآمد کنندگان، چائے خانے، منڈیاں اور کوآپریٹیو — جو 15 زبانوں میں ہے: انگریزی، روسی، چینی، جرمن، فرانسیسی، ہسپانوی، اطالوی، پرتگالی، جاپانی، کوریائی، ترکی، عربی، پولش، ڈچ اور ویتنامی۔
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.
داخل ہونے کے دیگر طریقے
وہی ڈیٹا ایک سادہ REST API، ایک OpenAPI GPT Actions کے لیے وضاحت، اور ایک llms.txt۔ آپ کا پلان اور استعمال: اکاؤنٹ.