Xianmi Library MCP
An official MCP server for the Xianmi Library, a non-profit digital library of Buddhist texts. It allows AI agents to search and read approximately 250,000 pages of Chinese Buddhist literature, including Han, Tibetan, and Theravada traditions, through tools for full-text search, passage retrieval, and semantic search.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://mcp.xianmi.co/mcpWhat you can do with it
- Perform full-text keyword search across the entire library of Buddhist texts
- Retrieve complete Markdown source files for specific articles by path
- Conduct semantic search within the Buddhist Classics section for conceptual queries
Source and maintenance
Protocol and capabilities
- Server
- xianmi-mcp 0.1.0
- MCP protocol
- 2025-06-18
- Tools
- 3 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": true
}
}Tools
3 advertised
search_texts — Search Xianmi Buddhist Library
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",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"lang": {
"enum": [
"zh-Hans",
"zh-Hant"
],
"type": "string",
"description": "Language edition: zh-Hans = Simplified Chinese (default), zh-Hant = Traditional Chinese"
},
"page": {
"type": "integer",
"maximum": 1000,
"minimum": 1,
"description": "Result page number, 10 per page (default 1, max 1000)"
},
"query": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Search keywords (Chinese or English), e.g. \"金刚经\" or \"四圣谛\""
}
}
}get_passage — Get full text of a Xianmi Library page
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",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"path"
],
"properties": {
"lang": {
"enum": [
"zh-Hans",
"zh-Hant"
],
"type": "string",
"description": "Language edition: zh-Hans = Simplified Chinese (default), zh-Hant = Traditional Chinese"
},
"path": {
"type": "string",
"minLength": 1,
"description": "Article path, e.g. \"p01/a/109/764\" (a full page URL also works)"
}
}
}semantic_search — Semantic search over the p05 modern Chinese translation collection
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",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "Natural-language query (Chinese recommended), e.g. \"如何消除烦恼\""
},
"max_results": {
"type": "integer",
"maximum": 20,
"minimum": 1,
"description": "Max documents to return (default 10)"
}
}
}Prompts
Not advertised
Resources
Not advertised
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 1 of 1 (100%)
- Average latency
- 185 ms
- 95th percentile latency
- 185 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 185 ms · metadata changed · 3 tool(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http xianmi-library-mcp https://mcp.xianmi.co/mcpCodex
codex mcp add xianmi-library-mcp --url https://mcp.xianmi.co/mcpCursor
{
"mcpServers": {
"xianmi-library-mcp": {
"url": "https://mcp.xianmi.co/mcp"
}
}
}Cline
{
"mcpServers": {
"xianmi-library-mcp": {
"type": "streamableHttp",
"url": "https://mcp.xianmi.co/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"xianmi-library-mcp": {
"type": "http",
"url": "https://mcp.xianmi.co/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http xianmi-library-mcp https://mcp.xianmi.co/mcpClaude Desktop
{
"mcpServers": {
"xianmi-library-mcp": {
"url": "https://mcp.xianmi.co/mcp"
}
}
}Windsurf
{
"mcpServers": {
"xianmi-library-mcp": {
"serverUrl": "https://mcp.xianmi.co/mcp"
}
}
}Let your agent find its tools
Find servers like Xianmi Library MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other documentation and reference servers
Do you run Xianmi Library MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.