# Dhamma.Gift — Pāli Canon

> Dhamma.Gift — Pāli Canon is a free MCP server for religion. Search the Pāli Canon, read suttas and compare editions and translations line by line. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** API, Web
- **Website:** https://dhamma.gift/docs/tech/mcp
- **Repository:** https://github.com/dhammagift/dg-node
- **MCP Registry name:** gift.dhamma/pali-canon
- **Categories:** religion, books and literature
- **Listing updated:** 2026-11-15

## About

Unlike a semantic search, this server matches letters. It finds suttas by keyword, substring or regular expression, so the assistant is told to try the Pāli word and each translation word itself (for example kacchapa, kummo, turtle and черепаха) and merge the results. Queries need at least three letters, and diacritics are ignored.

Its distinctive tools compare sources. One lines up the Mahāsaṅgīti edition beside Buddha Jayanti, Chaṭṭha Saṅgāyana, Siam Rath and the PTS editions, showing a summary per edition and then the lines that differ word by word. Another shows a single segment such as mn129:21.3 in Pāli, every edition and every available translation side by side.

Answers link back to the Dhamma.Gift reader, at sutta or exact-segment level. Pāli comes by default, translations only when requested, and machine translations are hidden as on the site. The endpoint is stateless, read-only and needs no login.

## Features

- **Literal search:** Keyword, substring or regex matching, with suttas that define a term ranked first.
- **Edition comparison:** Compares several canonical editions line by line, then word by word.
- **Translation comparison:** Shows one segment in Pāli, all editions and every translation.
- **Segment links:** Gives reader links to a sutta or to an exact segment.
- **Structure listing:** Lists collections, books, translation languages and translators.
- **Stateless read-only access:** No login, sessions or write operations.

## Good for

- Find every sutta that mentions a particular animal or term
- Quote a passage in Pāli with its Russian and English translation
- See where printed editions of a sutta differ
- Locate canonical definitions with patterns like kata.*dukkha

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http pali-canon https://api.dhamma.gift/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://api.dhamma.gift/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "pali-canon": {
      "url": "https://api.dhamma.gift/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "pali-canon": {
      "type": "http",
      "url": "https://api.dhamma.gift/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "pali-canon": {
      "serverUrl": "https://api.dhamma.gift/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "pali-canon": {
      "type": "http",
      "url": "https://api.dhamma.gift/mcp"
    }
  }
}
```

## Tools

- `search`: Keyword, substring or regex search that returns matching suttas with reader links.
- `get_text`: Returns a sutta by id in Pāli, with translations or other editions on request.
- `compare_editions`: Compares canon editions line by line for a sutta, line or range.
- `compare_translations`: Shows one segment in Pāli, every edition and every translation.
- `list_structure`: Lists collections, books, translation languages and translators.

## FAQ

### Does it search by meaning?

No. Search is literal, so the assistant should try the Pāli word and translation words.

### Are translations included by default?

No, answers are Pāli only unless translations and languages are requested.

### Is there a result limit?

A query lists up to 40 suttas by default, and the answer states the true number of matches.

### How do I connect from Claude Code?

Run claude mcp add --transport http dhamma-gift https://api.dhamma.gift/mcp.

### Is Dhamma.Gift — Pāli Canon free?

Yes. Dhamma.Gift — Pāli Canon is free to use.

### How do I add Dhamma.Gift — Pāli Canon to Claude Code?

Run this command in your terminal: claude mcp add --transport http pali-canon https://api.dhamma.gift/mcp

### What are the best alternatives to Dhamma.Gift — Pāli Canon?

The closest alternatives to Dhamma.Gift — Pāli Canon are 一孔录《论语》 Yikonglu Analects, List Of Books, Madeenan Quran and Hadith Sources, Book Cover Generator and SalahTable.

## Alternatives

- [一孔录《论语》 Yikonglu Analects](https://ai-powered.com/mcp/yikonglu-analects): 一孔录《论语》 Yikonglu Analects is a free MCP server for books and literature.
- [List Of Books](https://ai-powered.com/mcp/list-of-books): List Of Books is a freemium MCP server for books and literature.
- [Madeenan Quran and Hadith Sources](https://ai-powered.com/mcp/madeenan-quran-and-hadith-sources): Madeenan Quran and Hadith Sources is a freemium MCP server for religion.
- [Book Cover Generator](https://ai-powered.com/mcp/book-cover-generator): Book Cover Generator is an open-source MCP server for design and media.
- [SalahTable](https://ai-powered.com/mcp/salahtable): SalahTable is a free MCP server for religion.
- [Shakespeare's Monologues](https://ai-powered.com/mcp/shakespeare-s-monologues): Shakespeare's Monologues is an open-source MCP server for books and literature.
- [Hero of You](https://ai-powered.com/mcp/hero-of-you): Hero of You is a free MCP server for books and literature.
- [INKFLOW Studio](https://ai-powered.com/mcp/inkflow-studio): INKFLOW Studio is a freemium MCP server for books and literature.

---
Source: https://ai-powered.com/mcp/dhamma-gift-pali-canon
