Skip to content
MCP server

Xianmi Library

Search and read about 250,000 pages of Chinese Buddhist texts

Pricing
Free
Platforms
Web, API
Runs
Remotely
Version
0.1.1
Listing updated
2 days ago

About Xianmi Library

Xianmi Library is a free MCP server for religion. It runs as a hosted remote server, so there is nothing to install locally.

Xianmi Library is a free Chinese-language archive of Buddhist literature, and this remote server lets assistants such as Claude or Cursor query it without authentication. The site puts the collection at roughly 120,000 documents, about 247,000 pages counting both Simplified and Traditional editions.

Three tools split the work. search_texts does full-text keyword lookup for exact sentences, names or terms; semantic_search handles natural-language questions but only over the p05 section of modern-Chinese translations; get_passage fetches a page's full Markdown with metadata from its path or URL. The site advises asking conceptual questions through semantic search, then reading the hits with get_passage.

Usage is capped to keep the service free: 800 semantic searches per month, and 5,000 calls a day each for search_texts and get_passage. Assistants are asked to keep the source link and licence note returned with each answer. Content falls into CC0, MIT and public-domain groups, and CBETA-sourced material carries a non-commercial restriction.

Install

Run in a terminal

claude mcp add --transport http xianmi https://mcp.xianmi.co/mcp

Add to Settings → Connectors → Add custom connector

https://mcp.xianmi.co/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "xianmi": {
      "url": "https://mcp.xianmi.co/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "xianmi": {
      "type": "http",
      "url": "https://mcp.xianmi.co/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "xianmi": {
      "serverUrl": "https://mcp.xianmi.co/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "xianmi": {
      "type": "http",
      "url": "https://mcp.xianmi.co/mcp"
    }
  }
}

Tools this server provides (3)

Taken from the project documentation; the running server may differ.

search_texts
Full-text keyword search across the library.
get_passage
Fetch a page's full Markdown by path.
semantic_search
Semantic search over the p05 modern-Chinese translations.

What it does

Full-text search
search_texts looks up exact phrases, names and places across the whole library.
Semantic search
semantic_search answers concept questions over the p05 modern-Chinese translations.
Page retrieval
get_passage returns a page's full Markdown with frontmatter.
Simplified and Traditional
Both script editions are searchable via a lang parameter.
Agent Skill
An Agent Skill documents tool choice, fallbacks and citation format.
No-MCP routes
A JSON search API, per-page Markdown files and llms.txt are also offered.

Good for

  • Find the source of a sutra sentence
  • Look up a personal or place name across texts
  • Ask a concept question like how to ease worry and read the cited passages
  • Quote a verse passage with its line breaks preserved

Pricing

Free

Free to use; daily and monthly call limits apply

Prices change. Check xianmi.co before you buy.

Xianmi Library FAQ

Does it need authentication?

No; the endpoint is open streamable HTTP.

What are the usage limits?

Semantic search is 800 calls a month; search_texts and get_passage are 5,000 calls each per day.

Can I reuse the texts?

Terms depend on the source group (CC0, MIT, public domain); CBETA content is non-commercial, so check before republishing.

How should answers cite sources?

As title, Xianmi Library (xianmi.co) and the page URL, keeping the source links returned.

Is Xianmi Library free?

Yes. Xianmi Library is free to use.

How do I add Xianmi Library to Claude Code?

Run this command in your terminal: claude mcp add --transport http xianmi https://mcp.xianmi.co/mcp

What are the best alternatives to Xianmi Library?

The closest alternatives to Xianmi Library are 一孔录《论语》 Yikonglu Analects, List Of Books, Madeenan Quran and Hadith Sources, Book Cover Generator and SalahTable.

Alternatives to Xianmi Library

  1. List Of Books

    MCP server

    Book series reading orders, author series and book-to-series lookups via MCP and REST

    • 5 tools
    • Remote
    • Freemium
    • Books and literature
  2. Read-only MCP server for citing Quran, Hadith, Tafsir and dua sources in AI answers

    Runs locally
    • 7 tools
    • Freemium
    • Religion
  3. Book covers from a title and author: 39 styles, SVG, PNG and print-ready PDF export

    • 4 tools
    • Remote
    • Open source
    • Design and media
  4. SalahTable

    MCP server

    Prayer times for 407 cities with 15 methods, both Asr schools, Qibla and monthly tables

    • 6 tools
    • Remote
    • Free
    • Religion
  5. Search Shakespeare monologues by character, play or style, with plain-English paraphrases

    • 10 tools
    • Remote
    • Open source
    • Books and literature