# Dhamma.Gift MCP server

> Enables searching and reading Pāli Canon texts with Russian and English translations using SQLite-powered full-text search.

- Repository: https://github.com/dhammagift/dg-node
- Page: https://hostedmcp.org/servers/dhammagift/dg-node
- Transport: remote
- Stars: 1
- Latest version: 1.0.0

## Install

### Claude Code

```sh
claude mcp add --transport http dg-node https://api.dhamma.gift/mcp
```

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

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

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

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

### VS Code CLI

```sh
code --add-mcp '{"name":"dg-node","type":"http","url":"https://api.dhamma.gift/mcp"}'
```

### Codex

```sh
codex mcp add dg-node --url https://api.dhamma.gift/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.dg-node]
url = "https://api.dhamma.gift/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http dg-node https://api.dhamma.gift/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

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

## FAQ

### How do I build the search database?

You can build the SQLite/FTS5 search index from fresh Bilara data by running the command 'npm run build-search-db'.

### Does the server support segment-specific links?

Yes, the server supports clean URLs for specific segments, such as /dn22:12.1, which allows for scrolling to specific targets.
