fojin — Buddhist Canon Tools MCP server
Buddhist canon tools: search, passages, cross-canon parallels, dictionaries — all URN-cited.
345 stars
Reviews
Write oneNobody has reviewed fojin — Buddhist Canon Tools yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
fojin — Buddhist Canon Tools tools (8)
write = sends, deletes, buys or postscommentariesFreeWhat the historical commentators said about a passage of Buddhist scripture. Give a line of a sūtra and get back the classical commentaries that gloss it — each with the commentator's own words, the work it comes from, a quality tier, and a resolvable citation. This is the layer no other tool exposes for the Chinese canon: CBETA marks up almost none of it, and the alignment behind this was derived text by text. Two things to read carefully rather than skim. `total` is how many commentators the passage actually has — `truncated` says the list you got is a sample. And coverage is partial: roughly half of what a commentator wrote is not aligned, so an absent commentator means "not in the data", never "he said nothing". When nothing matches, `available_sutras` tells you which sūtras have data at all — do not read a miss as silence from the tradition.
get_parallelsFreeCross-canon parallel passages aligned to a fascicle. fojin's alignment moat: given a Chinese fascicle, returns the aligned Pali/Tibetan/Sanskrit parallels so you can compare how a passage is rendered across traditions. A fascicle returns parallels for the *whole* juan — often hundreds. To narrow them to one passage, match the passage against `source_chunks[].text` and keep the parallels whose `aligns_source_chunk` equals that chunk_index. `urn` is filled for parallels that are fojin works; rows with `source="mitra-parallel"` are inline Skt/Tib sentences with no fojin work to cite, so they carry `original_preview` instead and stay `urn: null`.
lookup_dictionaryFreeLook up a Buddhist term across fojin's dictionaries (748K+ entries).
lookup_entityFreeSearch fojin's knowledge graph for entities — people, places, works, doctrinal terms — matching `query`.
read_passageFreeRead the full content of one fascicle (卷) of a text, with its `urn`. Use the `text_id`/`juan_num` from a search_corpus hit. Returns the actual canonical text — quote from this, not from memory.
resolve_urnFreeResolve a fojin URN (e.g. fojin:cbeta/T0001.1) to a reader URL and confirm it exists in the corpus. Use to verify or dereference a citation.
search_corpusFreeSemantic search across fojin's Buddhist corpus (10K+ texts, 30+ langs). Returns the most relevant passages, each with a `urn`, title, snippet and similarity score. `lang` optionally filters by language code (lzh=Classical Chinese, pi=Pali, sa=Sanskrit, bo=Tibetan, en=English).
verify_quoteFreeVerify that a Buddhist-canon quote exists VERBATIM in the corpus. Call this before presenting any quoted scripture to a reader: LLMs routinely invent plausible-looking quotes. Returns `verbatim` (bool), where it was found (`matches`, each with a resolvable `urn`), or the closest near-miss window when it wasn't. `cite` optionally narrows the search — a CBETA id ("T0374") or fojin URN ("fojin:cbeta/T0374.13") — and `cite_matched` reports honestly whether the quote is where you claimed (a hit in a different fascicle does NOT confirm your citation). Quote must be ≥4 CJK chars after normalisation; Classical Chinese only. Short quotes are answered but say less: a four-character phrase recurs across the canon, so read `cite_matched` rather than `verbatim`, and check `matches_capped` before treating the list as complete. Each match carries an absolute `reader_url` — cite that, not a reconstructed third-party link.
Public scan report
scanner v0.1.9 · 2026-09-23 · same rubric, same numbers if you re-run it
- –Code scanremote-only server, no package to scann/a
- Live reliabilityremote reachable in 1729ms20/20
- Tool poisoning8 tool descriptions checked15/15
- Auth qualityopen endpoint, read-only tools10/15
- Maintenancelast push 0 days ago15/15
- Maintainer identitynamespace and repository owner differ; GitHub account older than a year; website matches verified namespace7/10
What the publisher says
From the fojin — Buddhist Canon Tools repository's README, as published. We do not edit it. Read it on GitHub
FoJin 佛津
Ask the Buddhist canon — get cited, verifiable answers.
AI Q&A grounded in the world's largest open aggregation of Buddhist texts: 600+ sources, 30+ languages, trilingual cross-canon retrieval — every answer linked back to its source passage.
Ask a question in plain language and FoJin's assistant "XiaoJin" answers from the canon itself — Retrieval-Augmented Generation over 670K+ embedded passages, optional cross-encoder reranking and root-sutra recall, clickable 【《sutra》juan N】 citations that open the exact source text, anti-hallucination guards, and a citation drawer with side-by-side 汉 / 巴利 / 藏文 cross-canon parallels. You can also ask in the voice of 15 historical Buddhist masters, each scoped to their own tradition's scriptures.
What makes those answers trustworthy is the corpus underneath. FoJin aggregates 612 data sources into one searchable platform — 10,500+ texts with 19,000+ volumes of full content in Classical Chinese, Pali, Tibetan and Sanskrit, the first LLM-driven trilingual cross-canon parallel reading platform (CBETA × SuttaCentral × 84000) with LLM-verified chunk-level alignment, a 110K+ entity knowledge graph on a Deck.GL geo map, and 39 dictionaries with 747K entries. Every feature exists to make the answers more grounded — and to let you go deeper once you have one.
FoJin is built to be open, cross-canon, verifiable Buddhist knowledge infrastructure — not just a site to read, but a corpus other tools can call. Every passage carries a stable, resolvable cross-canon URN (fojin:cbeta/T0001.1), and the fojin-mcp server lets AI assistants (Claude, ChatGPT, any MCP client) answer from FoJin's cited passages directly — hosted at mcp.fojin.ai, anonymous, no key required. Any model can also check its own work through the open /api/verify/quote endpoint: hand it a sentence and a citation, and it answers is this quote real and is the citation right as two separate questions. See fojin.app/agents.
Live Demo · API Docs · 中文文档 · Discussions · Discord · Report Bug
Why FoJin?
Buddhist texts are scattered across hundreds of databases worldwide — CBETA, SuttaCentral, BDRC, SAT, 84000, GRETIL, and many more. Each has its own interface, language, and data format. When you have a question — "what does the Heart Sutra mean by 'form is emptiness'?", "how do the Pali and Chinese versions of this passage differ?" — you spend more time hunting for the right passage than understanding it.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Install directly
claude mcp add --transport http fojin-mcp https://mcp.fojin.ai/mcp
fojin — Buddhist Canon Tools: common questions
- Is fojin — Buddhist Canon Tools MCP server safe?
- Yes, by our scan: it is graded A (89/100). Read the fojin — Buddhist Canon Tools safety report
- How do I install fojin — Buddhist Canon Tools?
- It runs remotely at mcp.fojin.ai. Add it to Claude Code, Claude Desktop or Cursor with the snippets above, or call it through the mcp.market gateway without installing anything.
- Does fojin — Buddhist Canon Tools need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is fojin — Buddhist Canon Tools maintained?
- The last commit was in the last day (2026-09-23). The latest release is v0.4.0.
- Is fojin — Buddhist Canon Tools up?
- 100% of our last 22 checks got an answer. We check remote servers about four times a day.
- What can I use instead of fojin — Buddhist Canon Tools?
- Servers from other publishers that do the same job: Zoteus MCP server and Pubchem MCP server.
Alternatives to fojin — Buddhist Canon Tools
Same job from other publishers: the closest match first, then the best rated.