FoJin Buddhist Canon Tools
Lets your AI agent search Buddhist texts, read passages and check quotes, with a source link on every result.
357 stars on GitHubby xr843License Apache-2.0Updated 18 days ago
How to install
This MCP is remote: it runs in the cloud.
Nothing to install. Copy the address and paste it into your AI app:
Server address
https://mcp.fojin.ai/mcp
- βΊClaude (site or app): Settings β Connectors β Add custom connector.
- βΊChatGPT: Settings β Apps β Create app (developer mode), and paste the address.
- βΊClaude Code, Cursor, VS Code and Windsurf: pick your app below.
Paste in the terminal:
claude mcp add --transport http fojin https://mcp.fojin.ai/mcp
Ready! Now test it
Restart the app and paste one of these requests in the chat:
What does the Heart Sutra mean by form is emptiness? Cite the passage.
Check whether this sentence really appears in the canon, and where.
What it is
FoJin collects Buddhist texts from hundreds of sources in Chinese, Pali, Tibetan and Sanskrit. This MCP server lets your agent search them, read passages, find cross-canon parallels and look up terms. Each passage has a stable address (URN) so answers can be traced back to the source.
What it can do
search_corpus: semantic search across the canonread_passage: read a specific text or volumeget_parallels: parallels across Chinese, Pali and Tibetanlookup_dictionary: term lookup across 39 dictionarieslookup_entity: knowledge graph factsresolve_urn: find the source location of a URNverify_quote: check whether a quote is really in the canoncommentaries: what historical commentators wrote on a passage
When to use
- βΊWhen you want an AI answer about Buddhist texts that cites real passages.
- βΊWhen you need to check whether a quotation is genuine and correctly cited.
- βΊWhen you want to compare a passage across Chinese, Pali and Tibetan versions.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
weknora-rag-searchGuides your agent to search a WeKnora knowledge base, choosing between a written answer, raw text passages, document matches, or session lookup.paper-lookupSearches scholarly articles from multiple online sources. It finds research, citations, and full-text papers, returning reliable results.grounded-citationsTeaches your agent to cite its sources with numbered links, so every outside fact in an answer or document can be checked.Frequently asked questions
Is it free?
The hosted server is anonymous and needs no key. The readme describes the project as open source.
How do I connect it?
Run claude mcp add --transport http fojin https://mcp.fojin.ai/mcp, or run it locally with uvx fojin-mcp.
Can it change anything?
No. All eight tools are read-only and call FoJin's public endpoints.
What are URNs?
Stable addresses for passages, such as fojin:cbeta/T0001.1, so a result can be traced to its source.
Can I point it at my own FoJin instance?
Yes. Set FOJIN_API_BASE_URL; the default is https://fojin.app/api.
Which AI tools can use it?
Claude, ChatGPT and any MCP client.
If it does not work
- βΊFor the hosted server, check that the URL is exactly https://mcp.fojin.ai/mcp.
- βΊFor local use, check that uvx or pip works, then run uvx fojin-mcp.
- βΊIf a quote is not found, ask for a near-miss check, since verify_quote shows a character-level difference.
5 new skills a week. 1 minute to read.