mtg-mcp
Magic: The Gathering card search, deck tools and exact statistics for AI assistants
mtg-mcp is an open-source MCP server for games and play. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- Windows, Linux, macOS
- Runs
- Locally
- Version
- 0.15.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add mtg-mcp -- dnx Nccurry.MtgMcp --yesAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"mtg-mcp": {
"command": "dnx",
"args": [
"Nccurry.MtgMcp",
"--yes"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"mtg-mcp": {
"command": "dnx",
"args": [
"Nccurry.MtgMcp",
"--yes"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mtg-mcp": {
"command": "dnx",
"args": [
"Nccurry.MtgMcp",
"--yes"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"mtg-mcp": {
"type": "stdio",
"command": "dnx",
"args": [
"Nccurry.MtgMcp",
"--yes"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add mtg-mcp -- dnx Nccurry.MtgMcp --yesOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.mtg-mcp]
command = "dnx"
args = ["Nccurry.MtgMcp", "--yes"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mtg-mcp": {
"command": "dnx",
"args": [
"Nccurry.MtgMcp",
"--yes"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "mtg-mcp": { "command": "dnx", "args": [ "Nccurry.MtgMcp", "--yes" ] } } }Or run: gemini mcp add -s user mtg-mcp dnx -- Nccurry.MtgMcp --yes
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "mtg-mcp": { "command": "dnx", "args": [ "Nccurry.MtgMcp", "--yes" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "mtg-mcp": { "command": "dnx", "args": [ "Nccurry.MtgMcp", "--yes" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "mtg-mcp": { "command": "dnx", "args": [ "Nccurry.MtgMcp", "--yes" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "mtg-mcp": { "command": "dnx", "args": [ "Nccurry.MtgMcp", "--yes" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "mtg-mcp": { "command": "dnx", "args": [ "Nccurry.MtgMcp", "--yes" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "mtg-mcp": { "command": "dnx", "args": [ "Nccurry.MtgMcp", "--yes" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "mtg-mcp": { "command": "dnx", "args": [ "Nccurry.MtgMcp", "--yes" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About mtg-mcp
This .NET server gathers evidence for Magic: The Gathering deckbuilding and leaves the decisions to the assistant. Its README lists Scryfall card search, local decks, Archidekt sync, Commander Spellbook combos and exact statistics as the sources.
Archidekt and Playgroup tools switch on only when credentials exist as JSON files under ~/.mtg-mcp/: archidekt.json with username and password, and playgroup.json with an API key. Without them the rest still works.
Install it as a global .NET tool with dotnet tool install -g Nccurry.MtgMcp, which needs .NET SDK 10 or newer and runs on Windows x64, Linux x64 and Apple-silicon macOS. It is released under AGPL-3.0-or-later; the full tool list is in the repository's reference doc.
What it does
- Scryfall card search
- Looks up cards through Scryfall.
- Local decks
- Works with decks stored on your machine.
- Archidekt sync
- Syncs decks when Archidekt credentials are configured.
- Commander Spellbook combos
- Finds combos using Commander Spellbook data.
- Exact statistics
- Computes deck numbers exactly rather than estimating.
- Optional Playgroup tools
- Enabled by an API key file.
Good for
- Search for cards that fit a deck's colours and theme
- Check combos for a Commander deck
- Sync a deck from Archidekt for an assistant to review
- Work out exact probabilities for a deck build
Pricing
Open source
AGPL-3.0-or-later
mtg-mcp FAQ
What do I need to install mtg-mcp?
The .NET SDK 10 or newer, then dotnet tool install -g Nccurry.MtgMcp.
Which platforms are supported?
Windows x64, Linux x64 and macOS on Apple silicon.
Do I need accounts?
No. Archidekt and Playgroup tools turn on only if their credential files exist.
What licence is mtg-mcp under?
AGPL-3.0-or-later.
Is mtg-mcp free?
Yes. mtg-mcp is open source, so you can use and self-host it for free.
How do I add mtg-mcp to Claude Code?
Run this command in your terminal: claude mcp add mtg-mcp -- dnx Nccurry.MtgMcp --yes
What are the best alternatives to mtg-mcp?
The closest alternatives to mtg-mcp are Space-core, Agent Arena, Minecraft MCP, B.O.M Founding Bots (beta) and Wizard101 Wiki.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.
