Xianmi Library MCP Server
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Xianmi Library MCP Serversearch the library for 金刚经 and show me the first result"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
xianmi-mcp
Remote MCP server for Xianmi Library (显密文库) — a non-profit digital library of ~250,000 pages of Chinese Buddhist texts: sutras and commentaries, Chinese/Tibetan/Theravada traditions, and modern Chinese translations of the canon.
It wraps the library's already-public interfaces (full-text search API and per-page Markdown sources) in the MCP protocol, so AI assistants can search and read the library directly.
Endpoint
POST https://mcp.xianmi.co/mcpTransport: Streamable HTTP (stateless). No authentication. CORS is open.
Connect from any MCP client that supports remote servers, e.g.:
{
"mcpServers": {
"xianmi": {
"type": "http",
"url": "https://mcp.xianmi.co/mcp"
}
}
}Related MCP server: TCM MCP Server
Tools
search_texts
Full-text search over the whole library.
param | type | default | description |
| string (required) | — | Search keywords, e.g. |
|
|
| Simplified or Traditional Chinese edition |
| integer ≥ 1 |
| Result page, 10 per page |
Returns ranked titles, page URLs, snippets, and a ready-to-use get_passage call hint per hit.
get_passage
Fetch the complete Markdown source of one article.
param | type | default | description |
| string (required) | — | Article path, e.g. |
|
|
| Simplified or Traditional Chinese edition |
Typical flow: search_texts("金刚经") → pick a hit → get_passage("p02/h/2186/94639").
Content licensing
Every response carries a source URL and a license pointer. Content on xianmi.co falls into three classes (CC0 / MIT / public domain); details and usage terms: https://www.xianmi.co/open/. Attribution is required when republishing.
Development
npm install
npm run dev # wrangler dev (local)
npm test # unit tests (node --test)
npm run deploy # deploy to Cloudflare WorkersBuilt on the official @modelcontextprotocol/sdk (WebStandardStreamableHTTPServerTransport + the CF-Workers-compatible validator).
License
MIT (server code). Library content is licensed separately — see https://www.xianmi.co/open/.
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only Buddhist scripture search, verified explanations, situation matching, and practice.
Buddhist canon tools: search, passages, cross-canon parallels, dictionaries — all URN-cited.
Search Chinese books with Douban ratings, AI book guides and curated toplists. Free, no API key.
Read-only semantic search over Vedic scripture verses, commentaries, and recorded lectures.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceProvides access to the Chinese Buddhist Electronic Text Association (CBETA) online library of over 100 million characters of Buddhist scripture. It enables users to search, browse catalogs, and retrieve content from major collections like the Taishō Tripiṭaka.-
- AlicenseAqualityDmaintenanceEnables AI assistants to access professional Traditional Chinese Medicine knowledge, including herb and formula search, acupoint lookup, six-channel diagnosis, and compatibility checking.6MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI tools to search and manage a private local knowledge base via MCP or HTTP, using local Chinese semantic retrieval without sending data externally.-
- AlicenseNot gradedqualityBmaintenanceEnables agentic hybrid search over a curated corpus of philosophical and spiritual texts, returning original passages with precise references so models can search, read, quote, and translate them.GPL 3.0