iwantmymtg-mcp — Claude Code MCP server
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.
MIT 746 installs ★ 1 updated 2026-10-19
Open on GitHubWhat iwantmymtg-mcp 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.
What it helps with
- 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 for the agent
- Find every
Lightning Boltprinting and show the cheapest option. - Check the price history for
Bloodbraid ElffromModern Horizons 3. - Add 4 copies of
Lightning Bolt LEAto my inventory.
How to install iwantmymtg-mcp
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about iwantmymtg-mcp
How do I install iwantmymtg-mcp in Claude Code?
Run npx iwantmymtg-mcp, then add the server configuration to the project’s .mcp.json or to ~/.claude/.mcp.json.
What does iwantmymtg-mcp do?
It gives an MCP client access to Magic: The Gathering cards, sets, prices, sealed products, and buylist offers. An IWMM API key adds collection, deck, transaction, and selling features.
Do I need an API key to use it?
No key is needed for searches and price lookups. IWMM_API_KEY is required for inventory, transactions, and other authenticated tools.