
Mtg Oracle
io.github.gregario由 GitHub 账号 gregario 发布v0.1.0更新于 Oct 27, 2026
Magic: The Gathering MCP server — cards, rules, combos, and Commander intelligence
概览
本地运行的万智牌 MCP 服务器,让助手搜索卡牌、查询规则、分析套牌,并探索指挥官组合技与协同。
- 可以做什么
- 搜索与查看卡牌:全文卡牌搜索、卡牌完整信息、官方裁定、赛制合法性检查、按机制检索以及市场价格
- 分析套牌:根据纯文本或 MTGO XML 牌表给出法力曲线、颜色与类别分布、法术力基础分析和合法性检查
- 查询规则:按章节编号或文本查找完整规则、官方术语表和关键字异能定义
- 指挥官支持:指挥官策略分析、来自 Commander Spellbook 的已知无限组合技、协同类别以及各赛制常用牌
- 适用场景
- 适合希望助手准确回答万智牌问题的场景,例如查卡、规则争议、组牌与调牌、指挥官策略,或查询组合技与赛制合法性,无需手动粘贴卡牌文本。
- 运行要求
- 以 Node.js 本地进程运行,可通过 npm 全局安装或用 npx 直接启动。首次运行会从 Scryfall 下载卡牌数据、从 Academy Ruins 下载规则数据到本地目录,之后自动更新,因此需要网络访问。未声明任何账号、API 密钥或环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 Mtg Oracle,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
mtg-oracle
[npm version] [npm downloads] [License: MIT] [Node.js] [MCP] [gregario/mtg-oracle MCP server]
Magic: The Gathering MCP server. Card search, rules lookup, deck analysis, and Commander intelligence.
Provides 14 tools for AI assistants to answer questions about Magic cards, game rules, combos, synergies, and format meta via the Model Context Protocol.
Not just another Scryfall wrapper. mtg-oracle downloads card data, comprehensive rules, and combo databases locally into SQLite for fast offline queries, and ships with curated MTG knowledge (archetypes, format primers, commander strategies, mana base guidelines) that makes LLMs genuinely competent at Magic.
Installation
Or run directly with npx:
Claude Desktop Configuration
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
Or if installed globally:
Claude Code Configuration
Data
On first run, mtg-oracle downloads card data from Scryfall and rules data from Academy Ruins. Data is stored in ~/.mtg-oracle/ and updated automatically on subsequent runs. No card data is bundled in the npm package.
Tools
Card Tools
Deck Tools
Rules Tools
Commander Tools
Development
Attribution
- Card data provided by Scryfall. This project is not produced by or endorsed by Scryfall.
- Combo data from Commander Spellbook.
- Rules data from Academy Ruins.
Legal
This is unofficial Fan Content permitted under the Fan Content Policy. Not approved/endorsed by Wizards of the Coast. Portions of the materials used are property of Wizards of the Coast. All rights reserved.
License
MIT
来源:README.md,提交 e8d736d
工具
0版本历史
1- v0.1.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分