fojin — Buddhist Canon Tools
by xr843
Buddhist scriptures your AI assistant can cite.
Search and knowledgeOfficialRemote
1. Made by
“Homepage = "https://fojin.app"”
The server comes from the same repository and maker as the FoJin site it wraps; the package homepage is fojin.app and the README names mcp.fojin.ai as FoJin's own hosted endpoint.
github.com/xr843/fojin/blob/486bceca994c3b32b3efe69c4675ebbc0fd36565/mcp-server/pyproject.toml2. Keys
“any client that speaks streamable HTTP can point at https://mcp.fojin.ai/mcp.”
Any client that speaks streamable HTTP can use the hosted address; any stdio client can launch uvx fojin-mcp. FOJIN_API_BASE_URL (optional) points the local server at a self-hosted FoJin.
github.com/xr843/fojin/blob/486bceca994c3b32b3efe69c4675ebbc0fd36565/mcp-server/README.md4. Commercial use
“Attribution required; commercial use prohibited; derivatives must be shared under the same license and must not alter the substantive content.”
The server code is Apache 2.0, but each source text keeps its own license; CBETA texts forbid commercial use.
github.com/xr843/fojin/blob/486bceca994c3b32b3efe69c4675ebbc0fd36565/NOTICEChecked against its repository at one commit, on Nov 10, 2026. Tap a verdict to see its source.How we checkedReport an error
What fojin — Buddhist Canon Tools does
FoJin is a free online library of Buddhist scriptures in Chinese, Pali, Tibetan and Sanskrit. This server lets your AI assistant search it, read the real passages, compare versions across traditions and check whether a quote is genuine. Every passage comes with a stable reference you can cite and open.
What people use it for
Check a scripture quote before publishing
Before a quote goes into an article or a talk, the assistant checks whether it really is in the canon, and whether it is in the text you named.
Answers grounded in real passages
Ask about a Buddhist idea and the assistant searches the texts, reads the passage and quotes it, instead of quoting from memory.
Compare a passage across traditions
See how the same passage reads in the Chinese, Pali, Tibetan and Sanskrit versions, side by side, with a link to each.
Look up Buddhist terms
Find a term such as a doctrine name in many Buddhist dictionaries at once, in Chinese, Sanskrit, Pali, Tibetan and English.
Read what commentators said
Give one line of a sutra and get the classical commentaries on it, each with the commentator's words and a link to the source.
Footnotes for a study blog Idea
When you write study notes or a blog post, let the assistant add a checked reference and a reading link to every quoted line.
fojin — Buddhist Canon Tools popularity
Tools it gives your agent (8)
What it sends and its license
your search words, quotes and references the assistant sends to a tool
To mcp.fojin.ai (hosted) or fojin.app (the local server's default target); on every tool call. Opt out: run the local server against a self-hosted FoJin with FOJIN_API_BASE_URL.
an access log line per request and a log line per tool call, with the client address used for rate limiting
To the hosted server at mcp.fojin.ai; on every request to the hosted server. Opt out: use the local server with uvx fojin-mcp.
The server code is free under Apache 2.0, also for paid products. The scripture texts keep their own licenses, and the largest source, CBETA, forbids commercial use.
The server code is Apache 2.0, but each source text keeps its own license; CBETA texts forbid commercial use.
“Attribution required; commercial use prohibited; derivatives must be shared under the same license and must not alter the substantive content.” source
The code may be passed on under Apache 2.0 with its NOTICE file; the texts follow their sources' licenses.
“Under Apache-2.0 §4(d) this NOTICE travels with every redistribution of FoJin” source
Not covered by FoJin itself; check each source, for example 84000 permits training use, while SuttaCentral asks that its texts not be used in AI applications.
“Users and deployers are responsible for complying with each data source's license when using FoJin.” source
Is it alive
0.4.0 in the registry, updated Aug 10, 2026
fojin-mcp 0.4.0 on PyPI, uploaded 2026-08-10
Alternatives
fojin — Buddhist Canon Tools This page
Pick it if you need current documentation for a code library
Pick it if you need general web search results, not scripture
Get started
Tell your AI assistant
“Add the FoJin MCP server (claude mcp add --transport http fojin https://mcp.fojin.ai/mcp); answer from passages that read_passage returns, cite each with its fojin URN, and run verify_quote on every quoted line.”
Connect it
claude mcp add --transport http fojin https://mcp.fojin.ai/mcp{
"mcpServers": {
"fojin-buddhist-canon-tools": {
"url": "https://mcp.fojin.ai/mcp"
}
}
}Any client that speaks streamable HTTP can use the hosted address; any stdio client can launch uvx fojin-mcp. FOJIN_API_BASE_URL (optional) points the local server at a self-hosted FoJin.
Mistakes to avoid
Language models routinely invent plausible-looking quotes.
A real line is often quoted under the wrong text.
The tool returns parallels for the whole fascicle, often hundreds.
Version 0.1.0 imported a module that mcp 2.0 removed.
Questions
Do I need an account or a key?
No. The hosted server is anonymous and needs no key; it only limits how often each client calls it.
Can the assistant change anything in FoJin?
No. All eight tools only read, and the server sends only GET requests to FoJin's public site.
Can I use the quoted texts in a paid app?
Not freely. The code is Apache 2.0, but CBETA texts forbid commercial use and 84000 translations are non-commercial with no derivatives.
Can I run it against my own copy of FoJin?
Yes. Set FOJIN_API_BASE_URL to your own instance when you run the local server.