About Fojin
Fojin is an MCP server published by xr843 in the RAG category: buddhist Digital Text Platform — 10,500+ texts, 660+ sources, trilingual cross-canon, AI Q&A (RAG), knowledge graph, full-text search · fojin.ai: paste a passage, see which lines come from the canon. Conduid read 9 tools from its source: cite, commentaries, get_parallels, lookup_dictionary, lookup_entity, read_passage and 3 more. No package is published for it, so it installs from a source checkout.
The repository has 364 stars and 68 forks, is licensed Apache-2.0, and its last commit was on 1 Dec 2026. The latest release is v1.0.0 (23 Mar 2026): FoJin v1.0.0 — Initial Release The world's encyclopedic Buddhist digital text platform. It follows v4.0.0 (19 Mar 2026), and the 4 most recent releases go back to v3.3.0 (10 Mar 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include buddhism, buddhist-studies, chinese-classics, digital-humanities, docker and elasticsearch.
Install
git clone https://github.com/xr843/fojinTools (9)
citePaste-ready citation for a URN or CBETA line head (`T12n0374_p0450a12`): CBETA-style citation, line-level URN, BibTeX / RIS / CSL-JSON, plus the passage's licence and attribution| Parameter | Type | Description |
|---|---|---|
| quote | string | |
| ref | string | |
| urn | string |
commentariesFor one passage, what the historical commentators wrote on it — anchored to juan and line| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| quote * | string |
get_parallelsCross-canon parallels (汉 ↔ 巴利 ↔ 藏) for a passage| Parameter | Type | Description |
|---|---|---|
| juan_num * | integer | |
| text_id * | integer |
lookup_dictionaryTerm lookup across 39 dictionaries| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| term * | string |
lookup_entityKnowledge-graph entity facts| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| query * | string |
read_passageRead a specific text / volume| Parameter | Type | Description |
|---|---|---|
| juan_num * | integer | |
| text_id * | integer |
resolve_urnResolve a FoJin URN to its source location| Parameter | Type | Description |
|---|---|---|
| urn * | string |
search_corpusSemantic search across the aggregated canon| Parameter | Type | Description |
|---|---|---|
| lang | string | |
| limit | integer | |
| query * | string |
verify_quoteVerbatim 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| Parameter | Type | Description |
|---|---|---|
| cite | string | |
| juan | integer | |
| quote * | string |
Security checks
Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 6.6K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by e2e/package-lock.json and 2 more.
- !No dynamic code executionScanned 671 source files and found 3 calls to eval or shell execution, in backend/eval/alignment_metrics.py:13, backend/eval/faithfulness.py:19 and backend/eval/retrieval_metrics.py:15. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
What the source scan found
- Transport
- stdio and Streamable HTTPmcp-server/fojin_mcp/server.py:275, mcp-server/fojin_mcp/http.py:274
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 84 callsbackend/app/api/seo.py:168, backend/app/api/seo.py:360, backend/app/api/seo.py:734
- Writes or deletes files
- 29 callsbackend/app/core/xml_parser.py:153, backend/eval/from_feedback.py:193, backend/eval/memory_pair_eval.py:74
- Lockfile
- e2e/package-lock.json and 2 more
Pattern matches on the source text of 671 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 6.6K words, fetched 2 days ago. The original in the repository is authoritative.
Read full README