# Dhamma.Gift — Pāli Canon

Lets your agent search the Pāli Canon and read suttas with Russian and English translations. Handy when you need a citation or a passage by keyword.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 1
- Author: dhammagift
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/dhammagift/dg-node
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/mcp/dhammagift-pali-canon

## What it does

The server lives at `https://api.dhamma.gift/mcp`. Once it is registered, the agent can run searches across the canon and pull up individual texts. Content comes from SuttaCentral Bilara plus DhammaGift translations, with search backed by SQLite/FTS5.

Reader routes use clean URLs such as `/dn22`, and segment links like `/dn22:12.1` jump straight to a passage. Nothing has to be built locally for the hosted endpoint, so setup is a single client command.

Under the hood sits `dhammagift/dg-node`, a Fastify backend that serves the index, the reader and static files. The repository also keeps an older Express implementation and its build scripts, but production does not use them. Running your own copy means rebuilding the search index whenever source texts or translations change on disk.

## Requirements
- Remote server: `https://api.dhamma.gift/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http pali-canon https://api.dhamma.gift/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add dhammagift-pali-canon --url https://api.dhamma.gift/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "dhammagift-pali-canon": {
            "url": "https://api.dhamma.gift/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "dhammagift-pali-canon": {
            "type": "http",
            "url": "https://api.dhamma.gift/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http dhammagift-pali-canon https://api.dhamma.gift/mcp
```

## When to use it
- find a sutta by quote or keyword
- check a passage against the Russian or English translation
- link to one specific segment of a text
- read canon texts without leaving the chat
- trace where a term appears in the canon

## Example prompts
- Search the Pāli Canon for suttas mentioning kacchapa and show the Russian translations
- Open `dn22` and summarise what it covers
- Give me the link to segment `dn22:10.5` and its translation

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 392262
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33989
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81163
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119231
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47577
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43902

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
