Dnd Oracle

io.github.gregario由 GitHub 帳號 gregario 發布v0.1.0更新於 Oct 24, 2026

D&D 5e SRD MCP server with monster, spell, equipment search and encounter building tools

已驗證STDIO僅桌面

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助理檢索 D&D 5e SRD 的怪物、法術、裝備與規則,並建立遭遇、角色與隊伍分析。

可以做什麼
  • 檢索與瀏覽怪物、法術、裝備、魔法物品、職業、種族、規則與狀態
  • 依 XP 預算建立與推薦遭遇,並提供怪物協同提示
  • 規劃法術、比較怪物、檢查抗性、分析裝備負重與同調
  • 建立角色表、審視隊伍組成、模擬傷害、計算休息與旅行
  • 在 SRD 隨機表上擲骰,例如瘋狂、毒素與疾病
適用情境
適合在籌備或主持 D&D 5e 遊戲時,用內建 SRD 資料做準確的規則查詢以及遭遇、角色與隊伍計算,而不是依賴模型記憶。也適合在備團時快速比較屬性區塊與估算傷害。
執行需求
透過 npx 從 npm 套件 dnd-oracle 以本機程序執行,需要 Node.js。不需帳號、API 金鑰、環境變數或網路連線,SRD 資料已打包為 SQLite 資料庫。
安裝前請注意
工具為唯讀查詢與計算;輸入中未顯示需要憑證、付費或寫入資料的操作。內容僅限 SRD 5.1 範圍,非 SRD 的怪物、法術與選項不在其中。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Dnd Oracle,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

dnd-oracle

D&D 5e SRD MCP server — monster search, spell lookup, encounter building, and character tools powered by ground-truth SRD data.

[npm version] [npm downloads] [Node.js 18+] [MCP Compatible] [MIT License] [Sponsor] [dnd-oracle MCP server]

What It Does

Search, browse, and analyze D&D 5e System Reference Document content — no internet required, no hallucination risk. All 20 tools operate on ground-truth SRD data bundled as a SQLite database.

1,207 entities: 334 monsters, 319 spells, 237 equipment items, 239 magic items, 12 classes, 9 races, 15 conditions, 33 rule sections, 9 rollable tables.

Tools

Reference (6)

ToolDescription
search_monstersFull-text search with CR, type, size, alignment filters. Returns full stat blocks.
search_spellsSearch by level, school, class, concentration, ritual, damage type, save type.
search_equipmentSearch weapons, armor, gear, and magic items. Filter by properties, rarity.
browse_classesView class features at any level. Multiclass feature combination calculator.
browse_racesView race traits, ability bonuses, subraces.
search_rulesSearch rules text and condition references.

Analytical (14)

ToolDescription
build_encounterCalculate XP budgets by difficulty. Suggests monster combinations within budget.
suggest_encounterTactically interesting encounters with monster role inference and synergy notes.
plan_spellsAvailable spells for class/level. Slot tracking, concentration flags, ritual highlights, component costs.
compare_monstersSide-by-side stat comparison of 2-3 monsters.
check_resistancesConsolidated resistance/immunity matrix for a group of monsters. Party damage gap warnings.
analyze_loadoutTotal weight, cost, AC breakdown, encumbrance status from equipment list.
magic_item_attunementAttunement slot analysis with over-limit warnings and restriction checks.
build_characterFull character sheet from race + class + level + ability scores. HP, saves, DC, features.
analyze_partyParty composition audit: saving throw coverage, role balance, darkvision, languages.
simulate_damageAverage DPR calculator with hit probability, crit math, AC sensitivity, turns-to-kill.
rest_calculatorWhat recovers on short vs. long rest for any class at any level.
travel_calculatorOverland travel time with pace, terrain, mounts, and forced march rules.
plan_adventuring_dayDaily XP budget, encounter sequencing, resource pacing, rest placement.
roll_tableRoll on SRD random tables: madness, poisons, diseases, Acolyte personality traits.

Install

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

json
{  "mcpServers": {    "dnd-oracle": {      "command": "npx",      "args": ["-y", "dnd-oracle"]    }  }}

Claude Code

bash
claude mcp add dnd-oracle -- npx -y dnd-oracle

Data Source

This product includes material from the System Reference Document 5.1, Copyright 2016, Wizards of the Coast, Inc. Licensed under CC-BY-4.0.

Data sourced from 5e-bits/5e-database.

License

MIT

來源:README.md,提交 a97d741

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分