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#"
}社区
证据