MCP.Market

Dhamma.Gift — Pāli Canon MCP server

online · 100% uptime
by dhamma.gift·gift.dhamma/pali-canon·v1.0.0·1 stars

Search and read the Pāli Canon: Pāli root texts with Russian and English translations.

A91/100grade A
What users say
No reviews yet
Be the first
Safety scan
A91/100

full report

Adoption
Growing

1 stars

Reviews

Write one

Nobody has reviewed Dhamma.Gift — Pāli Canon yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Dhamma.Gift — Pāli Canon tools (4)

write = sends, deletes, buys or posts
  • compare_translationsFree

    One segment of the canon in the Pali root and every available translation side by side. Use a segment id from search/get_text, e.g. "mn129:21.3". Sujato (en_sujato) is excluded unless named in translators.

  • get_textFree

    Fetch a sutta by id (e.g. "dn22", "mn1", "sn56.11") — the Pali root text of every segment. Pali only by default; pass langs for translations, translators to name a translator (e.g. ["en_sujato"]). Same data as dhamma.gift/api/text.

  • list_structureFree

    What texts exist. Without arguments: collections (sutta/vinaya/abhidhamma/khuddaka), books by id prefix with sutta counts, and translation languages with translators. With prefix (e.g. "mn", "sn56", "an4"): the suttas under it with titles.

  • searchFree

    Search the Pali Canon on dhamma.gift by keyword/substring or REGEX (min 3 letters, no semantic search). Patterns like "kata.*dukkha", "vucc.*dukkha", "katha.*dukkha" find the canon's own definitions and expositions of a term. Returns a CENSUS of every matching sutta — id, title, match count, metaphor count, reader link — Pali only, ordered so that suttas that DEFINE the term come first, then ones NAMED after it, then by how often it occurs. Set include_segments for the matched Pali lines, include_translations (+ langs) for translations. 40 suttas by default (25 by occurrence count, plus 15 for suttas named after the term and ones defining it); metadata.totalFiles reports the true count, and limit takes a number or "all".

Public scan report

scanner v0.1.10 · 2026-10-29 · same rubric, same numbers if you re-run it

no findings
  • –Code scanremote-only server, no package to scann/a
  • Live reliabilityremote reachable in 1543ms20/20
  • Tool poisoning4 tool descriptions checked15/15
  • Auth qualityopen endpoint, read-only tools10/15
  • Maintenancelast push 0 days ago15/15
  • Maintainer identityendpoint served from the registry-verified namespace domain8/10
Overall 91/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Dhamma.Gift — Pāli Canon compares

Against every graded Web search MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
91/100
higher than 88% of 3,470 Web search servers
Tools
4
the typical Web search server has 5
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
Uptime
100%
of our recent checks; the typical remote Web search server answers 100%
Response time
560 ms
faster than 25% of 2,238 Web search servers
GitHub stars
1
more than 55% of 1,786 Web search servers

What its tools let an agent do: 4 read

Install Dhamma.Gift — Pāli Canon in Claude Code, Cursor or VS Code

claude mcp add --transport http pali-canon https://api.dhamma.gift/mcp
Add to Cursor

What the publisher says

From the Dhamma.Gift — Pāli Canon repository's README, as published. We do not edit it. Read it on GitHub

dg-node

Node.js backend for searching and reading Pāli Canon texts using SuttaCentral Bilara and DhammaGift translations.

This project powers the search index, reader endpoints, static assets, and compatibility layer for the legacy Dhamma.Gift stack. The production server runs on Fastify; the older Express-based implementation is kept only for legacy support.

Architecture and development rules: CLAUDE.md

Features

  • Search across the Pāli Canon with SQLite/FTS5
  • Reader routes for clean URLs such as /dn22 and /dn22:12.1
  • Segment-aware links and scroll targets
  • Support for offline mirror data and environment-based path resolution
  • Legacy compatibility with older PHP/Apache frontends

Quick start

git pull
npm install
npm run build-search-db   # build dg.db (SQLite/FTS5) from fresh Bilara data
npm start                 # run the production server (dg-fastify.js), port 3000

build-search-db should be rerun whenever source texts or translations change on disk. The server reads data directly from disk and rebuilds the search index as needed.

Data paths such as SCBILARA, DGOFFLINE, and offline mirrors are resolved automatically based on the runtime environment (Termux, Windows development, local server, etc.).

unused/dg-light.js and unused/dblight.js (npm run start:express) are legacy Express + grep services and are not used in production. See CLAUDE.md for details.

Deployment checks

curl "http://localhost:3000/search?q=kacchapa&scope=dhamma&langs=ru,en"
curl -I "http://localhost:3000/assets/js/datatables/datatables.min.js"   # 200 from public/overrides/js/datatables, not from the legacy repo
curl -I "http://localhost:3000/dn22"                                  # reader via clean URL
curl -I "http://localhost:3000/dn22:10.5"                             # segment link (scroll to 10.5)

Manual browser checks:

  • /nodejs/res/?q=kacchapa&scope=dhamma — search, DataTables, export
  • /dn22 — full-text reader
  • Pāli / Russian toggle (three modes: Pāli + translation → Pāli only → translation only) — should actually hide/show content correctly
  • /?q=dn22#12.1 (legacy format) — should continue to work alongside /dn22:12.1

Deployment notes for Apache/PHP

If the public Dhamma.Gift site is currently hosted by Apache/PHP while Node runs as a separate backend proxied only to /search, note the following:

  • search requests may route to the Node backend
  • static files and reader routes may still be served by Apache/PHP
  • root-domain routing can differ from the local development environment
  • dg-fastify is the modern backend, while legacy PHP pages remain in parallel for compatibility

Project structure

dg-fastify.js         — production server (Fastify + SQLite/FTS5, dg.db): /search, /api/text/:suttaId,
                         static files (search/, reader/, siteroot/assets/), offline mirrors,
                         clean URLs (/dn22, /dn22:12.1)
unused/dg-light.js    — legacy Express + grep server, not used in production (see CLAUDE.md)
unused/dblight.js     — build script for dg-light.js → dg_db_light.json (legacy, not needed with dg.db)
search/               — search page (DataTables); legacy URL remains /nodejs/res/... (see CLAUDE.md)
reader/               — reader frontend (reader-template.html + megareader.js)
configs/              — project JSON configs (openapi, reader/*, search/*), see CLAUDE.md
docs/                 — project documentation and compatibility notes (SPA plans, backward compatibility)
siteroot/             — root-site publication: assets/ (legacy assets), 4nt/config/login/,
                         memo/read (legacy tools), see CLAUDE.md

License

See the repository license and project-specific notes in the root of the project.

Nothing above is checked by us. What we check is on the safety report.

Dhamma.Gift — Pāli Canon: common questions

Is Dhamma.Gift — Pāli Canon MCP server safe?
Yes, by our scan: it is graded A (91/100). Read the Dhamma.Gift — Pāli Canon safety report
How do I install Dhamma.Gift — Pāli Canon?
It runs remotely at api.dhamma.gift. Add it to Claude Code, Cursor, VS Code or Claude Desktop with the snippets above, or call it through the mcp.market gateway without installing anything.
Does Dhamma.Gift — Pāli Canon need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Dhamma.Gift — Pāli Canon maintained?
The last commit was 6 days ago (2026-10-29). The latest release is v1.0.0.
Is Dhamma.Gift — Pāli Canon up?
100% of our last 28 checks got an answer. We check remote servers about four times a day.
What can I use instead of Dhamma.Gift — Pāli Canon?
Servers from other publishers that do the same job: Arxiv MCP server, Pubmed MCP server and Tolgee MCP server.
How does Dhamma.Gift — Pāli Canon compare with other Web search MCP servers?
safety score 91/100 (higher than 88% of 3,470 Web search servers); tools 4 (the typical Web search server has 5); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to Dhamma.Gift — Pāli Canon

Same job from other publishers: the closest match first, then the best rated.

  • Arxiv
    Search arXiv papers, download full text, semantic search, citation graphs, and alerts via MCP.
    A
  • Pubmed
    Search PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms.
    A
  • Tolgee
    Your app's translations in Tolgee: search keys, create translations, trigger machine translation
    A
  • Misakanet
    Failure-memory layer for coding agents: search evidence-rated failure lessons by error text.
    A
  • fojin — Buddhist Canon Tools
    Buddhist canon tools: search, passages, cross-canon parallels, dictionaries — all URN-cited.
    A