Koskamo

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.

Xianmi Library MCP logo, by Xianmi LibraryVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-01Operated by Xianmi Library
MCP endpoint (Streamable HTTP)
https://mcp.xianmi.co/mcp
Vendor documentation

What 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

Vendor evidenceRegistry 0.1.1

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
Server-advertised capabilities
{
  "tools": {
    "listChanged": true
  }
}

Tools

3 advertised

search_texts — Search Xianmi Buddhist Library
Advertised by the server during the last successful anonymous check.

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.

search_texts input schema
{
  "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
Advertised by the server during the last successful anonymous check.

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.

get_passage input schema
{
  "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
Advertised by the server during the last successful anonymous check.

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.

semantic_search input schema
{
  "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

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

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.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http xianmi-library-mcp https://mcp.xianmi.co/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add xianmi-library-mcp --url https://mcp.xianmi.co/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable xianmi-library-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "xianmi-library-mcp": {
      "url": "https://mcp.xianmi.co/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "xianmi-library-mcp": {
      "type": "streamableHttp",
      "url": "https://mcp.xianmi.co/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start xianmi-library-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "xianmi-library-mcp": {
      "type": "http",
      "url": "https://mcp.xianmi.co/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http xianmi-library-mcp https://mcp.xianmi.co/mcp

Claude Desktop

Merge this into claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\), then restart Claude Desktop.
Claude Desktop configuration
{
  "mcpServers": {
    "xianmi-library-mcp": {
      "url": "https://mcp.xianmi.co/mcp"
    }
  }
}

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "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.

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.

Claim this listing