Context7
Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.
Description from the maker (original English)
Buddhist canon tools: search, passages, cross-canon parallels, dictionaries — all URN-cited.
These three are never merged into one score: opinions, measurements and popularity are different things.
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
You need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Works in Claude on the web, desktop and mobile:
https://mcp.fojin.ai/mcpRun this in your terminal
claude mcp add --transport http fojin https://mcp.fojin.ai/mcpPaste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"fojin": {
"url": "https://mcp.fojin.ai/mcp"
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Paste into .vscode/mcp.json in your project
{
"servers": {
"fojin": {
"type": "http",
"url": "https://mcp.fojin.ai/mcp"
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
ChatGPT connects only to servers on the internet:
https://mcp.fojin.ai/mcpMenu names can differ slightly by plan and over time.
Your choice stays on this device in a cookie; no account needed.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
We have not read this server’s tool list yet; we check endpoints in rotation.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 6, 2026
The registry name was verified against the domain fojin.app (the registry checks domain ownership)
We have not read this repo from GitHub yet
We have not read this repo from GitHub yet
Not checked yet; we check endpoints in rotation
Not checked yet; we check endpoints in rotation
Not checked yet; we read the tool list when we check the endpoint
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
The registry does not list a required key, though some servers ask you to sign in on first use.
It runs in the maker’s cloud. Connect over the internet with nothing to install, but what you send passes through the maker’s servers.
The GitHub repo last changed –, and the latest version (0.4.0) reached the registry 3 months ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. It connects by URL, so apps that accept remote MCP servers work too, such as ChatGPT in developer mode.
In the same category: Context7, Codebase Memory, Exa
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
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`](https://pypi.org/project/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`](https://fojin.app/agents) 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](https://fojin.app/agents).
Live Demo · API Docs · 中文文档 · Discussions · Discord · Report Bug
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.
FoJin answers the question for you. Ask in plain language; XiaoJin retrieves the relevant passages from 612 sources and answers with clickable citations you can verify. Everything else FoJin does — full-text reading, cross-canon alignment, the knowledge graph, 39 dictionaries — exists to make those answers more grounded, and to let you go deeper once you have one:
| What you need | How FoJin helps |
|---|---|
| Ask a question, get a sourced answer | AI Q&A ("XiaoJin") — RAG over 670K+ passages, reranking, root-sutra recall, clickable 【《sutra》juan N】 citations, cross-canon citation drawer, anti-hallucination guards |
| Trust the answer | Verifiable answers — deterministic citation whitelist + verbatim-quote downgrade + per-answer trust state; ~98% of *citing* answers served-trustworthy at temp 0 |
| Research a hard, multi-step question | Research Assistant (/research) — plans across corpus + dictionaries + knowledge graph, then synthesises a cited answer behind the same guards |
| Call FoJin from an AI assistant | MCP server — hosted at mcp.fojin.ai (no install, no key) or uvx fojin-mcp; 8 read-only, URN-addressable tools for Claude / ChatGPT |
| Check whether a quotation is real | Open verbatim verification (/api/verify/quote) — for *any* sentence, not just ours: exact / near-miss / absent, with a character-level diff and the right juan when the citation points at the wrong one |
| See how the tradition read a passage | Commentary alignment (/api/commentary/passage) — for one passage, what the historical commentators wrote on it, anchored to juan and line |
| Listen while you read | Read-aloud (/read-aloud) — sentence-by-sentence highlighting synced to audio, lock-screen playback |
| Ask in a master's voice | Master Persona Mode — 15 historical masters, each with tradition-scoped RAG |
| Find a sutra across databases | Multi-dimensional search across 10,500+ texts from 612 sources |
| Read the full text online | 8,900+ texts with 19,000+ volumes of full content, CBETA-style layout |
| Compare translations | Parallel reading in 30+ languages side by side |
| Compare sutras across Buddhist canons | Trilingual cross-canon parallel reading — 4,000+ LLM-verified chunk alignments across Chinese / Pali / Tibetan covering Heart Sutra, Vimalakīrti, Lotus Sutra (法华 ↔ Toh 113, 259 pairs), 8,000-verse Prajñāpāramitā (小品般若 ↔ Toh 11, 127 pairs), Satipaṭṭhāna + the full Āgama ↔ Nikāya corpus (MN/DN/SN/AN), Dhammapada |
| Look up Buddhist terms | 39 dictionaries, 747K entries (Chinese/Sanskrit/Pali/Tibetan/English) |
| Explore relationships | Knowledge graph with 110K+ entities and 27,900+ relations (22K+ lineage chains) |
| Discover similar texts | Semantic similarity powered by 670K+ embedding vectors (pgvector + HNSW) |
| Explore Buddhist geography | Knowledge Graph Map — geo-enabled entities, monastery locations, lineage arcs on Deck.GL |
| Track source updates | Activity Feed — real-time updates from 612 data sources |
| Explore history visually | Timeline & Dashboard — dynasty charts, translation trends, category analytics |
| Save and organize | Collections, bookmarks, annotations for personal study |
| Cite in research | Citation export (BibTeX, RIS, APA) for academic use |
git clone https://github.com/xr843/fojin.git
cd fojin cp .env.example .env # edit POSTGRES_PASSWORD before starting docker compose up -d # database migrations run automatically
Then visit: http://localhost:3000
API docs at http://localhost:8000/docs
After first startup, the platform has the database schema and source metadata but no text content. To import texts from public data sources:
# Import CBETA catalog (auto-scans local xml-p5 directory or fetches from remote)
docker exec fojin-backend python scripts/import_catalog.py
docker exec fojin-backend python scripts/import_content.py --all --xml-dir /data/xml-p5
docker exec fojin-backend python -m scripts.archive.misc.generate_embeddings --source cbeta
docker exec fojin-backend python scripts/archive/imports/import_suttacentral.py
ls backend/scripts/archive/imports/
Each importer downloads data directly from the original source (CBETA, SuttaCentral, etc.) — no data is bundled in this repository.
FoJin's verified, cross-canon corpus is callable directly from AI assistants (Claude Desktop, ChatGPT, or any MCP client) via the published [`fojin-mcp`](https://pypi.org/project/fojin-mcp/) server — so the assistant answers Buddhist questions from FoJin's cited passages instead of hallucinating.
Point any MCP client at the hosted endpoint — nothing to install, no key to get:
claude mcp add --transport http fojin https://mcp.fojin.ai/mcp
Or run it locally over stdio against your own instance:
uvx fojin-mcp # zero-install run
It exposes eight read-only tools over the public API, each returning passages with a stable, resolvable cross-canon URN (fojin:cbeta/T0001.1):
| Tool | What it does |
|---|---|
search_corpus | Semantic search across the aggregated canon |
read_passage | Read a specific text / volume |
get_parallels | Cross-canon parallels (汉 ↔ 巴利 ↔ 藏) for a passage |
lookup_dictionary | Term lookup across 39 dictionaries |
lookup_entity | Knowledge-graph entity facts |
resolve_urn | Resolve a FoJin URN to its source location |
verify_quote | Verbatim check — is this sentence really in the canon, and really where you said? Answers "is the quote real" and "is the citation right" separately, with a character-level diff when it is close but not exact |
commentaries | For one passage, what the historical commentators wrote on it — anchored to juan and line |
Claude Desktop config and ChatGPT setup are in [`mcp-server/README.md`](mcp-server/README.md). The server is a thin, read-only client: it holds no credentials, bundles no corpus, and only calls FoJin's public endpoints — its default target is https://fojin.app/api, overridable via FOJIN_API_BASE_URL to point at a self-hosted instance.
Search across Buddhist canons by title, translator, catalog number, or full-text keyword. Powered by Elasticsearch with ICU tokenizer for multi-language support.
Read 8,900+ Buddhist texts with 19,000+ volumes of full content online. CBETA-style typography with intelligent verse/prose detection, paragraph reflow, and adjustable font size. Navigate by volume, scroll through content, and jump between related texts.
Compare translations side by side — Classical Chinese, Sanskrit, Pali, Tibetan, English, Japanese, Korean, Gandhari, and 21 more languages.
32 authoritative dictionaries with 748,000+ entries across Chinese, Pali, Sanskrit, Tibetan, and English:
Chinese Buddhist Dictionaries (14)
**Pali Dictionaries
Only the beginning is shown; read the rest in the repo