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 分