Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Buddhist canon tools: search, passages, cross-canon parallels, dictionaries — all URN-cited.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://mcp.fojin.ai/mcp在终端中运行这条命令
claude mcp add --transport http fojin https://mcp.fojin.ai/mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"fojin": {
"url": "https://mcp.fojin.ai/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"fojin": {
"type": "http",
"url": "https://mcp.fojin.ai/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://mcp.fojin.ai/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过域名 fojin.app 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于–,最新版本(0.4.0)于3个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
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.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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
只显示了开头部分;其余内容请在仓库中阅读