# iwantmymtg-mcp

iwantmymtg-mcp is an MCP server for Claude Code that connects an AI agent to Magic: The Gathering card, set, and price data; collection tools require an IWMM API key.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 746 installs · ★ 1 repo stars
- Author: matthewdtowles
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/matthewdtowles/iwantmymtg-mcp
- Updated: 2026-10-19
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/iwantmymtg-mcp

## What it does

iwantmymtg-mcp exposes the I Want My MTG API through MCP tools. An agent can search cards and sets, identify a printing by set code and number, inspect current prices and 30-day history, view buylist offers, and browse sealed products.

With `IWMM_API_KEY`, it can manage inventory and transactions, create or import decks, track missing cards for a buy list, and inspect portfolio and selling data. Read-only queries work without a key. The server will not start without Node 20+.

Run it with `npx iwantmymtg-mcp`, then add the server to a project `.mcp.json` or to `~/.claude/.mcp.json` for Claude Code. `IWMM_BASE_URL` can point to a local or self-hosted I Want My MTG instance.

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- find card printings and compare prices
- check a card’s price history
- add cards to an inventory
- build a deck and locate missing cards
- estimate a collection’s sell value

## Example prompts
- Find every `Lightning Bolt` printing and show the cheapest option.
- Check the price history for `Bloodbraid Elf` from `Modern Horizons 3`.
- Add 4 copies of `Lightning Bolt LEA` to my inventory.

## Similar
- [MTG Chinese Card Database - 大学院废墟(sbwsz.com)](https://affpapa.org/en/nevibecode/mcp/mtg-chinese-card-database-sbwszcom.md) — MCP server · 533 installs
- [mtg-oracle](https://affpapa.org/en/nevibecode/mcp/mtg-oracle.md) — MCP server · ★ 6 repo stars
- [MTG MCP Server](https://affpapa.org/en/nevibecode/mcp/mtg-mcp-server.md) — MCP server · ★ 23 repo stars
- [Cambio Uruguay](https://affpapa.org/en/nevibecode/mcp/cambio-uruguay.md) — MCP server · ★ 9 repo stars
- [apteka-cis](https://affpapa.org/en/nevibecode/mcp/apteka-cis.md) — MCP server · 404 installs
- [fipeX MCP](https://affpapa.org/en/nevibecode/mcp/fipex-mcp.md) — MCP server · ★ 24 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
