原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Tripitaka MCP

作者:dhamma-seeker版本 1.3.0i★ 12i在云端运行官方网站 ↗
注册名称io.github.dhamma-seeker/tripitaka-mcp

安装方法

What it does

MCP server for the full Pāli Canon — search, cite, compare translations. Offered as Dhamma Dāna.

  • Connects 在云端运行
  • Account or key No key needed
  • Category 搜索与 AI 记忆

可搭配使用

教 AI 做这类工作的 Skill,可与本项一起使用

timesfm

TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.

作者:google-research★ 35,6291 个 skill

Skill · 操作手册

Shadowbroker

Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to…

作者:BigBodyCobain★ 11,6021 个 skill

Skill · 操作手册

google-maps-scraper

scrape data from Google Maps. Extracts data such as the name, address, phone number, website URL, rating, reviews number, latitude and longitude, reviews,email and more for each place

作者:gosom★ 8,2091 个 skill

Skill · 操作手册

为什么排在这里

列表按使用分(满分 100)排序,由以下部分组成

热度13/80GitHub 星标或每周下载量:较大的计 60,较小的计 20
新鲜度12/1230 天内有发布或代码更新得满分
仍在响应8/8上次检查时云端端点有响应
使用分33/100

质量: 基础检查通过 4/5 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)

安装

选择你使用的 AI 应用,然后复制设置。

用一句话让 AI 帮你安装

请帮我安装 Tripitaka MCP。按照 https://mcp.popnx.com/i/dhamma-seeker-tripitaka-mcp.md 操作,先把命令给我看,等我同意后再运行。

粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文

通过 4/5 项检查 · 你的提问会经过开发者的服务器(mcp.tripitaka-mcp.com) · ✓ 命令已检查 2026年11月13日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude · 约 2 分钟

不需要密钥,不用安装程序 · 在 claude.ai 或桌面应用设置一次,即可在聊天中使用 · 免费账户可添加 1 个 · Team/Enterprise 方案由所有者(Owner)添加

  1. 打开 Claude 的 Connectors 页面

    CustomizeConnectors

    CustomizeConnectors1Add2https://…3Add4
  2. 点击“Add” → “Custom” → “Web”,填写这 2 项

    把这里的内容复制到 Claude 中同名的输入框,然后点击 Continue

    Name · 名称Tripitaka MCP
    Remote MCP server URL · 地址https://mcp.tripitaka-mcp.com/mcp

    在 Claude 检测到的登录设置页点击 Continue · Authentication 按作者说明选择(Sign in now、Sign in when needed 或 No sign in),然后点击 Add

  3. 在聊天中开启

    +ConnectorsTripitaka MCP

  4. 试一试

    用 Tripitaka MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 Tripitaka MCP,或回答中出现 Tripitaka MCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

能否连接 ChatGPT 取决于方案

完整 MCP:网页版 ChatGPT Business、Enterprise 或 Edu · Pro:以读取/获取权限连接,修改数据的工具可能用不了 · Plus:官方文档尚未确认,如果在插件页看到添加自定义 MCP 的选项可以试试 · 仅限网页

  1. 在网页版 ChatGPT 打开添加 MCP 的页面

    Plugins+Add custom MCP server

    ChatGPTPlugins1+2https://…3Create4
  2. 填写名称和地址

    输入名称,在 Connection 下粘贴地址,勾选风险提示,然后点击 Create as a plugin

    Name · 名称Tripitaka MCP
    Connection · 地址https://mcp.tripitaka-mcp.com/mcp
  3. 在聊天中选择 Tripitaka MCP

    开启新聊天,输入前先从插件列表中选择 Tripitaka MCP

  4. 试一试

    用 Tripitaka MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 ChatGPT 说正在使用 Tripitaka MCP,或回答中出现 Tripitaka MCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 OpenAI 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Claude Code · 约 2 分钟

不需要密钥,不用安装程序

  1. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  2. 粘贴这条命令并按 Enter

    claude mcp add --transport http --scope user tripitaka https://mcp.tripitaka-mcp.com/mcp
  3. 在 Claude Code 中输入 /mcp

    应能看到 Tripitaka MCP 在列表中并显示已连接

  4. 试一试

    用 Tripitaka MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 Tripitaka MCP,或回答中出现 Tripitaka MCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor · 约 2 分钟

不需要密钥,不用安装程序

  1. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  2. 在 Cursor 中以 Agent 模式打开 AI 聊天

  3. 试一试

    用 Tripitaka MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 Tripitaka MCP,或回答中出现 Tripitaka MCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code · 约 2 分钟

不需要密钥,不用安装程序

  1. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  2. 在 VS Code 中以 Agent 模式打开 AI 聊天

  3. 试一试

    用 Tripitaka MCP 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 Tripitaka MCP,或回答中出现 Tripitaka MCP 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

通过网页连接的应用使用的地址

地址https://mcp.tripitaka-mcp.com/mcp

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 Tripitaka MCP 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

通过网页连接

Claude Code

claude mcp add --transport http --scope user tripitaka https://mcp.tripitaka-mcp.com/mcp

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "tripitaka": {
      "url": "https://mcp.tripitaka-mcp.com/mcp"
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "tripitaka": {
      "type": "http",
      "url": "https://mcp.tripitaka-mcp.com/mcp"
    }
  }
}

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
不在 npm/PyPI 上
许可证i
未注明许可证
连接方式
在云端运行
传输方式
streamable-http, sse
最新版本i
1.3.0
发布到注册中心i
2026年5月12日
代码最后更新i
2026年11月17日
最近检查
2026年11月18日
作者
dhamma-seeker
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

通过互联网连接,适用于

ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

全部应用及其优缺点 →

它能做什么

工具名称和描述与服务器在 2026年11月18日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。

  • search_by_keyword

    Keyword search across the Pāli Tipiṭaka (trigram word-similarity). Searches the configured enabled language(s) on the server. Filterable by pitaka and translation edition. 💡 **Hints for the AI client:** The system's canonical reference is Romanised Pāli (from SuttaCentral). If t

  • survey_corpus

    Exhaustively survey the WHOLE Tipiṭaka for a term — guaranteed complete. Use this (not `search_by_keyword`) when the question is about **coverage or counting** rather than "show me the best passages": - "How many times does Kusinārā appear in the canon?" - "Every place ānāpānassa

  • get_sutta

    Fetch a sutta's content — OR its table of contents (`mode="outline"`). ⚡ **Decide which mode BEFORE calling — don't fetch the whole sutta and parse it yourself:** - The user wants the **structure / outline / table of contents**, or asks **"how many sections/parts"** / "what's in

  • search_semantic

    Semantic search — match by meaning, not exact words. Uses vector similarity (cosine distance) over `text_pali` embedded with a multilingual MiniLM model. 🤔 **In most cases you should use `search_hybrid` instead** — it combines this semantic search with keyword search and ranks b

  • search_hybrid

    Hybrid search — combines keyword + semantic search via RRF. Uses Reciprocal Rank Fusion (RRF) to merge exact-word results with meaning-based results. **This is the recommended tool for "discourses about X" / concept queries**, because the semantic side catches suttas that discuss

  • list_structure

    Show the structure of all three pitakas with coverage statistics. 💡 **Use this tool when:** - The user asks for an overview of the Tipiṭaka (what's in it / which collections). - You need to check coverage before promising a search will find something — `segment_count > 0` is the

  • get_reference

    Build a proper citation string for a sutta. 💡 **Use this tool when:** - The user wants a citation for academic work, an article, or a reference. - You need to know the canonical location of a sutta (pitaka / nikāya). - You want a ready-to-use formatted citation string. 🔗 vs `ge

  • list_editions

    List the translation editions available, with coverage stats. 💡 **Use this tool when:** - Before calling `compare_translations` or `get_sutta(edition=...)`, so you know which edition values are valid and worth comparing. - The user asks which editions are loaded in the DB. 🔍 **

  • compare_translations

    Compare every available translation for a single segment. 💡 **Use this tool when:** - The user asks about the meaning/translation of a single Pāli line and wants to see multiple translators side-by-side. - Checking how different translators interpret the same line — technical te

  • get_word_definition

    Look up the dictionary meaning of a Pāli word, with sutta context. Serves as a Pāli Dictionary Bridge — pairs the "definition" with the "context where the Buddha actually used the word". 📖 **About the dictionary sources:** This tool draws from multiple primary dictionaries, incl

  • verify_quote

    Verify, check, or confirm a Buddha quote — does the canon really say it? Fact-check a quotation attributed to the Buddha. Catches fake, misquoted, misattributed and misremembered passages, and finds the true reading. Paste a line that has been quoted or half-remembered — Pāli or

  • define_from_suttas

    Find how the **suttas and Vinaya define a Pāli term in their own words**. The canon defines its own terms with fixed formulas — "Katamañca … dukkhaṁ?" (what is X?) … "ayaṁ vuccati … dukkhaṁ" (this is called X), "X adhivacana" (X is a designation for …), or the Vinaya "X nāma". Th

  • parse_pali_word

    Strip Pāli inflectional suffixes to find the root form (basic stem). 💡 **Use this tool when:** - You find an inflected Pāli word (e.g. `dukkhassa`, `bhikkhūnaṁ`) and `get_word_definition` doesn't find it directly — Pāli inflects nouns across 7 cases × 2 numbers, ~16 forms per ro

  • open_sutta_viewer

    Open an interactive sutta viewer inside the chat — Pāli + English, plus an optional third row in the user's own language translated BY YOU. Renders each segment as: Pāli on top (canonical), the bilara-data English below it (verification anchor), and — when you supply `translation

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月19日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 dhamma-seeker 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于前天

  • ! 注意

    有许可证

    GitHub 无法识别许可证类型;请打开文件自行查看

  • ✓ 通过

    端点有响应

    在 446 毫秒内响应(HTTP 200)

  • – 不适用

    使用 OAuth 登录

    无需登录

  • ✓ 通过

    工具描述中没有隐藏指令

    已读取 14 个工具描述,未发现针对 AI 的隐藏指令

云端地址最近 4 次检查中有 4 次响应 · 最近一次 446 ms · 检查于 2026年11月18日

我们检查什么 → · JSON

作者:申请重新检查或报告信息错误
给作者:在 README 中加徽章

如果你是作者,可把这段代码贴到 README。徽章会链接回本页。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/dhamma-seeker-tripitaka-mcp.svg)](https://mcp.popnx.com/en/servers/dhamma-seeker-tripitaka-mcp)

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

用户评价

还没有评价

登录后写评价

与“搜索与 AI 记忆”中的其他服务器比较i

  • 星标数多于此分类中其他 6384 个服务器的 93%
  • 发布到注册中心的时间比此分类中其他 6384 个服务器的 11% 更新
  • 基础检查结果等于或优于此分类中其他 6384 个服务器的 56%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Tripitaka MCP 安全吗?

它在 5 项适用的基础检查中通过了 4 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。

它还在维护吗?

GitHub 仓库最后更新于前天,最新版本(1.3.0)于6个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,因此也能用于接受远程 MCP 的应用,例如网页版 ChatGPT(Business 及以上为完整 MCP;Pro 为只读)。

有什么可以替代它?

同一分类中有:OpenSEO, Exa, Microsoft Learn MCP, Docs, COTAL actions (cotal.ai)

功能相近的其他选择

同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

OpenSEO

Keyword research, site audits, rank tracking and AI visibility for your AI agent.

作者:every-app广泛使用★ 2.8万5天前更新

在云端运行✓ everyapp.com

Exa

Connect AI agents to Exa for web search, content fetching, and multi-step research.

作者:exa-labs广泛使用★ 52422个月前更新

在云端运行✓ 服务方 · exa.aiPopNx 团队已实际试用

Microsoft Learn MCP

Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.

作者:MicrosoftDocs广泛使用★ 199712个月前更新

在云端运行✓ 服务方 · microsoft.comPopNx 团队已实际试用

Docs

Search and read Empryo's documentation. Read-only, no auth, no local access.

作者:proxysoul正在增长★ 16262个月前更新

在云端运行✓ empryo.com
与相似项目对比
本项
Tripitaka MCP
OpenSEOExaMicrosoft Learn MCPDocsCOTAL actions (cotal.ai)
运行位置在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装
需要密钥否否否否否否
可在 Claude 中按 + 添加否是是是否否
基础检查4/55/52/44/44/44/4
许可证NOASSERTIONMITMITCC-BY-4.0NOASSERTIONApache-2.0
价格登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Tripitaka MCP Server

An MCP server for searching and citing content from the Pāli Tipiṭaka. It lets AI clients such as Claude or Cursor look up suttas, quote the teachings, and compare translations across languages.

🙏 This project is offered as Dhamma Dāna: 100% free, non-commercial only.

License details: LICENSE (code) and NOTICE.md (data)

✨ Features

  • Full Tipiṭaka coverage, at parity with SuttaCentral. All three baskets are indexed, about 444K segments. Sutta carries Pāli plus English from bilara-data's translators (Bhikkhu Sujato for DN/MN/SN/AN and most of the Khuddaka Nikāya, with John Kelly, Bhikkhu Kovilo and others for a few KN books). Vinaya carries Pāli plus Bhikkhu Brahmali's English. Abhidhamma is Pāli only, because upstream bilara-data has no English for any Abhidhamma book. list_structure reports live counts.
  • Hybrid search merges keyword and semantic results through Reciprocal Rank Fusion (RRF). It is the most precise of the search tools and needs no configuration.
  • Keyword search with trigram fuzzy matching and cross-language alignment.
  • Semantic search by meaning, using vector similarity (pgvector).
  • Translation comparison across editions, aligned segment by segment.
  • Dictionary bridge with 20,000+ entries (P. A. Payutto, PTS, DPPN).
  • Sutta fetch and citations. Get a sutta by ID (mn1, pli-tv-bu-vb-pj1, patthana1.1) and generate a properly formatted academic citation.
  • Pāli word analyzer that strips inflectional suffixes to find the root form when a dictionary lookup misses (bhikkhūnaṁ → bhikkhu).
  • Cross-reference URLs in every response: a clickable deep link into the project's own bilingual reader (Pāli + English, with a segment anchor that highlights the cited verse). The reader renders SuttaCentral's bilara-data verbatim, so it is the authoritative text, and AI clients surface the link so users can verify the source in one click.
  • Dual transport: legacy SSE (/sse) and canonical Streamable HTTP (/mcp, MCP spec 2025-03-26).
  • MCP resources: tripitaka://structure, tripitaka://sutta/{id}, tripitaka://word/{w}, for clients that pin context as resources.
  • Curated reference pages at /topics/*: six markdown pages covering canon structure, getting started and tool selection, places (Mahājanapada, holy sites, cosmology), 10 foundational themes with locus classicus, about 30 major figures, and a phase-based timeline of the Buddha's 45-year mission. Sutta IDs are verified against live data, and an AI client can fetch one page instead of running 30+ tool calls.
  • Claude skill. skills/tipitaka-research.md is a ready-to-install workflow file that turns on a multi-step research pattern (clarify → verify coverage → search → drill in → cite) on Claude Desktop and Claude Code.
  • Postman collection included for testing the API.

🏗️ Tech stack

TechnologyRole
Python + FastMCPMCP Server
PostgreSQL + pgvectorDatabase + Vector Search
sentence-transformersEmbeddings for semantic search
Docker ComposeInfrastructure

🚀 Quick start

🌐 No setup: connect to the public Dhamma Dāna server

The maintainers run a free public instance at tripitaka-mcp.com.

EndpointUse
https://mcp.tripitaka-mcp.com/mcpStreamable HTTP (MCP spec 2025-03-26)
https://mcp.tripitaka-mcp.com/sseLegacy SSE (older clients)

Connecting Claude Desktop takes three steps. Nothing to install but Node.js, and no Docker or GPU.

1. Find your absolute npx path. Claude Desktop doesn't read your shell profile, so a bare npx won't resolve. Open a terminal:

which npx

example: /Users/you/.nvm/versions/node/v22.14.0/bin/npx

2. Open claude_desktop_config.json (~/Library/Application Support/Claude/ on macOS, %APPDATA%\Claude\ on Windows) and add the entry below. Substitute YOUR_NPX_PATH with the output from step 1, and YOUR_NODE_BIN_DIR with that path's parent directory:

{

"mcpServers": { "tripitaka": { "command": "YOUR_NPX_PATH", "args": ["-y", "mcp-remote", "https://mcp.tripitaka-mcp.com/mcp"], "env": { "PATH": "YOUR_NODE_BIN_DIR:/usr/local/bin:/usr/bin:/bin" } } } }

3. Quit Claude Desktop completely (⌘Q on macOS, tray → Quit on Windows) and reopen. The 🔌 indicator in the bottom-left should show tripitaka with 14 tools available.

_The first connection takes 5 to 10 seconds_ while npx downloads mcp-remote on demand. Give Claude Desktop a moment after the restart before deciding it failed.

Once connected, try asking Claude things like:

  • "What does the Buddha teach about mindfulness of breathing? Quote the relevant passages from MN 118."
  • "Show me the full text of the Karaṇīyamettasutta in Pāli and English."
  • "What does the Pāli word _sati_ mean according to the Payutto dictionary?"
  • "Find suttas where the Buddha discusses anger."

Claude will pick the right tool, fetch the canonical Pāli, and surface a clickable link to the project's bilingual reader for verification.

The hosted server is a small free service offered for personal study, research, and dhamma practice. Keep your request rate reasonable; bursts may be throttled at the edge. Read NOTICE.md before redistributing it or using it commercially.

💻 Run it fully offline (pipx, local SQLite, no server)

If you would rather keep everything on your own machine, with no network calls to the hosted server, install the local edition. It carries the whole Pāli canon as a single SQLite file (~120 MB) and runs as a local stdio MCP server.

pipx install tripitaka-mcp     # needs Python 3.10+

tripitaka-mcp init # one-time: downloads the SQLite database tripitaka-mcp serve # runs the MCP server over stdio

If the install fails like this:

Because the current Python version (3.9.6) does not satisfy Python>=3.10

pipx is using a different interpreter than you think. It builds its own isolated environment on purpose and ignores whatever venv you have active, so an old system Python gets picked even when the shell you typed in has 3.12. Tell it which to use:

pipx install --python python3.12 tripitaka-mcp

(Any 3.10 or newer works; pipx environment shows what it defaults to.)

Then point Claude Desktop or Cursor at the local command, with no npx bridge and no internet:

{

"mcpServers": { "tripitaka": { "command": "tripitaka-mcp", "args": ["serve"] } } }

(If tripitaka-mcp isn't on the client's PATH, use the absolute path from which tripitaka-mcp.)

Need a URL instead of stdio? Scripts, notebooks, and anything that shares one server across several clients want an HTTP endpoint rather than a subprocess:

tripitaka-mcp serve --http                 # http://127.0.0.1:8765/mcp

tripitaka-mcp serve --http --port 9000 # or MCP_HOST / MCP_PORT

It binds 127.0.0.1 unless you say otherwise; the canon is read-only, but nothing here asks who is calling, so think before binding a public interface.

Hosted vs local

Both serve the same ~444K-segment canon. The differences:

Hosted (mcp.tripitaka-mcp.com)Local (pipx)
Toolsall 1411, or 12 with TRIPITAKA_MCP_APP=1; no search_semantic or search_hybrid
Concept / semantic search✅ vector search (pgvector)❌ use search_by_keyword instead
Keyword searchPostgreSQL trigram: fuzzy, typo tolerant, similarity rankedSQLite FTS5: whole-word / token match, so results and ranking can differ from hosted
Canon dataalways currenta snapshot from when you ran init; re-run tripitaka-mcp init to refresh
Updatesautomaticpipx upgrade tripitaka-mcp for code; re-run init for data
Privacyqueries reach the hosted server (nothing logged, see the Privacy Policy)nothing leaves your machine
Internetrequirednot needed after init
Rate limitbursts may be throttled at the edgenone
Setupzero / one-clickPython 3.10+, pipx, one-time ~120 MB download

search_semantic, search_hybrid, and the trigram keyword index need PostgreSQL, pgvector, and a ~1 GB embedding model, which is more than a lightweight local install should carry, so they stay hosted-only. In local mode those two tools are never registered: a connected client sees only the 11 it can actually call.

Because the local server is a standard stdio MCP server, it also gives you a fully offline AI stack. Pair it with a local model such as Ollama and any MCP-capable chat UI, and nothing leaves your machine.

🏎️ Fastest local path: the installer (recommended for non-developers)
git clone https://github.com/dhamma-seeker/tripitaka-mcp.git

cd tripitaka-mcp ./scripts/install.sh

The installer downloads a prepared database dump from Hugging Face (dhamma-seeker/tripitaka-mcp-dump) and restores it for you, which brings setup down from two to four hours (loading the data, then generating embeddings) to about five minutes. (If a dump file is already on disk, the installer uses that copy instead.)

The installer will:

  1. Verify that docker, compose, openssl, and curl are installed
  2. Generate .env with random passwords (for both the admin and the readonly user)
  3. Download the dump from Hugging Face (if not already local)
  4. Start the DB and restore the dump
  5. Set up the readonly role and runtime timeouts
  6. Print a ready-to-paste Claude Desktop config

Options:

./scripts/install.sh --dump PATH          # use an existing dump file

./scripts/install.sh --dump-url URL # override the dump source ./scripts/install.sh --no-dump # skip restore (load data yourself later)


🔧 Manual setup (for developers)
1. Clone & setup
git clone https://github.com/dhamma-seeker/tripitaka-mcp.git

cd tripitaka-mcp cp .env.example .env

Set POSTGRES_PASSWORD in .env to a random password

2. Start database
docker compose up db -d
3. Install dependencies
python -m venv .venv

source .venv/bin/activate pip install -r requirements.txt

4. Initialize database & load data
# 1. Seed metadata (pitaka, nikāya)

python scripts/seed_metadata.py

2. Download & load Sutta Piṭaka data from SuttaCentral

python scripts/data_loader.py

3. Load Thai CC0 translations (Dhīranando & Jayasāro)

python scripts/load_thai_cc0.py

4. Load dictionaries (DPD, PTS, DPPN, and the Payutto dictionary)

python scripts/load_dictionary.py

5. Generate embeddings for semantic / hybrid search

python scripts/generate_embeddings.py

5. Run MCP server
python main.py

只显示了开头部分;其余内容请在仓库中阅读