Skip to content
Agents tracked: 502 Releases (7d): 762 Agent status: no reported issuesSince last limit reset: Claude 11d · Codex 9d For AI agents: Markdown Updated Nov 22, 2026

fojin — Buddhist Canon Tools

by xr843

Buddhist scriptures your AI assistant can cite.

Search and knowledgeOfficialRemote

GitHubWebsite

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.toml

Checked 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

361
GitHub stars, xr843/fojin
0
public agent projects connect it
fojin — Buddhist Canon Tools: GitHub starsxr843/fojin 361

Tools it gives your agent (8)

What it sends and its license

Sends

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.

Sends

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.

In a paid app
With conditions

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

Pass on its files
With conditions

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

ai-training
With conditions

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

Latest version

0.4.0 in the registry, updated Aug 10, 2026

Last release

fojin-mcp 0.4.0 on PyPI, uploaded 2026-08-10

Remote endpoint
yes

Alternatives

fojin — Buddhist Canon Tools This page

361 starsRemote

Context7

Pick it if you need current documentation for a code library

65K starsRemotein 1323 projects

mcp-server-search

Pick it if you need general web search results, not scripture

39.6K starsLocal

All search and knowledge servers

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

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

Letting the assistant quote a sutra from memory
Quote only the text read_passage returns, then run verify_quote on each quoted line.

Language models routinely invent plausible-looking quotes.

Treating verbatim true as proof that your citation is right
Read cite_matched; a hit in another fascicle does not confirm the reference you gave.

A real line is often quoted under the wrong text.

Using every parallel get_parallels returns for one passage
Match the passage against source_chunks[].text and keep the parallels whose aligns_source_chunk equals that chunk_index.

The tool returns parallels for the whole fascicle, often hundreds.

pip install fojin-mcp==0.1.0 with a current mcp package
Use fojin-mcp 0.2.0 or newer (0.4.0 checked), which needs mcp 2.x.

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.