Xianmi Library
Search and read ~250k pages of Chinese Buddhist texts from Xianmi Library (xianmi.co).
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"xianmi": {
"url": "https://mcp.xianmi.co/mcp"
}
}
}遠端端點
https://mcp.xianmi.co/mcpstreamable-http它能做什麼
工具清單
工具(3)
🟢search_texts(query, lang, page)
Full-text search over Xianmi Library (显密文库, xianmi.co): ~250k pages of Chinese Buddhist texts (sutras, commentaries, Theravada/Tibetan/Chinese traditions, modern translations). Returns ranked page titles, URLs and snippets. Use get_passage with a returned path to fetch full text. Attribution required: see the license pointer included in every response.
輸入結構描述
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "Search keywords (Chinese or English), e.g. \"金刚经\" or \"四圣谛\""
},
"lang": {
"description": "Language edition: zh-Hans = Simplified Chinese (default), zh-Hant = Traditional Chinese",
"type": "string",
"enum": [
"zh-Hans",
"zh-Hant"
]
},
"page": {
"description": "Result page number, 10 per page (default 1, max 1000)",
"type": "integer",
"minimum": 1,
"maximum": 1000
}
},
"required": [
"query"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_passage(path, lang)
Fetch the complete Markdown source of one Xianmi Library (xianmi.co) article by its path (e.g. "p01/a/109/764", as returned by search_texts). Includes the source URL and license pointer. Attribution required: see the license pointer included in every response.
輸入結構描述
{
"type": "object",
"properties": {
"path": {
"type": "string",
"minLength": 1,
"description": "Article path, e.g. \"p01/a/109/764\" (a full page URL also works)"
},
"lang": {
"description": "Language edition: zh-Hans = Simplified Chinese (default), zh-Hant = Traditional Chinese",
"type": "string",
"enum": [
"zh-Hans",
"zh-Hant"
]
}
},
"required": [
"path"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢semantic_search(query, max_results)
Semantic (embedding-based) search over the p05 collection of Xianmi Library (xianmi.co): ~1.8k modern Chinese vernacular translations (白话译文) of Buddhist scriptures, Simplified Chinese. Best for natural-language conceptual queries (e.g. "如何消除烦恼", "因果报应的道理"); for exact-quote or full-library keyword search use search_texts instead. Returns matched passages with relevance scores, page URLs and get_passage hints. Attribution required: see the license pointer included in every response.
輸入結構描述
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "Natural-language query (Chinese recommended), e.g. \"如何消除烦恼\""
},
"max_results": {
"description": "Max documents to return (default 10)",
"type": "integer",
"minimum": 1,
"maximum": 20
}
},
"required": [
"query"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}社群
證據