npm iwantmymtg-mcpstdioMITupdated 8d ago
An MCP server for I Want My MTG. Exposes IWMM's API as tools so Claude Desktop, Claude Code, Cursor, and other MCP clients can search Magic: The Gathering cards/sets and manage a user's collection conversationally.
What can you do with iwantmymtg mcp?
iwantmymtg-mcp
An MCP server for I Want My MTG. Exposes IWMM's API as tools so Claude Desktop, Claude Code, Cursor, and other MCP clients can search Magic: The Gathering cards/sets and manage a user's collection conversationally.
Published on npm, the MCP Registry, and Smithery. Coverage expands to match the API; see
docs/TOOLS.mdfor the full, always-current tool list.

What you can do
- Anonymous (no key): search cards, look up a card by set+number, get current prices and 30-day price history, get a card's buylist (sell-to-vendor) offers, list sets and their cards, list sealed products.
- Authenticated (with an IWMM API key): manage your inventory and transactions; build and manage decks (create, import from a decklist, edit cards, add the cards you're missing to your buy-list); view portfolio summaries, history, performance, cash flow, realized gains, and breakdowns (including by color, with per-slice drill-down); manage price alerts and notifications.
- Sell tools (with a key): see your collection's market sell value (best buylist offer per card, grouped by vendor), manage a buy-list (want-list), and get a cash-vs-store-credit recommendation for selling toward your buy list.
See the project roadmap for what's next.
Install
Requires Node 20+.
npx iwantmymtg-mcp
Or install globally if you prefer:
npm install -g iwantmymtg-mcp
iwantmymtg-mcp
Claude Desktop
Add to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json; Windows: %APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"iwmm": {
"command": "npx",
"args": ["-y", "iwantmymtg-mcp"],
"env": {
"IWMM_API_KEY": "iwm_live_..."
}
}
}
}
IWMM_API_KEY is optional - read-only tools work without it. Create a key at https://iwantmymtg.net/user/api-keys.
Claude Code
Add to .mcp.json in your project (or ~/.claude/.mcp.json globally):
{
"mcpServers": {
"iwmm": {
"command": "npx",
"args": ["-y", "iwantmymtg-mcp"],
"env": { "IWMM_API_KEY": "iwm_live_..." }
}
}
}
Cursor
Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json in your project:
{
"mcpServers": {
"iwmm": {
"command": "npx",
"args": ["-y", "iwantmymtg-mcp"],
"env": { "IWMM_API_KEY": "iwm_live_..." }
}
}
}
After saving, restart Cursor and confirm iwmm appears under Settings -> Features -> MCP Servers.
Example prompts
- "Search for Lightning Bolt printings and show me the cheapest one."
- "What's the price history of Bloodbraid Elf from Modern Horizons 3?"
- "Add 4 copies of Lightning Bolt LEA to my inventory."
- "What sealed products are available for MH3?"
- "What's my collection worth to sell right now, and which vendor pays most?"
- "Add these cards to my buy list, then tell me whether cash or store credit is the better deal."
See examples/ for walkthroughs of common flows, and docs/TOOLS.md for the full tool reference.
Configuration
| Env var | Default | Purpose |
|---|---|---|
IWMM_API_KEY |
(unset) | Personal API key. Required only for authenticated tools. |
IWMM_BASE_URL |
https://iwantmymtg.net |
Override for self-hosted or local-dev IWMM instances. |
Local development
npm install
npm run build
node dist/index.js
Or with tsx for live reload:
npm install
npx tsx src/index.ts
License
This project is licensed under the MIT License — see the LICENSE file for details.
Install
Add iwantmymtg mcp to your client. Pick the one you use.
claude mcp add iwantmymtg-mcp -- npx -y iwantmymtg-mcpcodex mcp add iwantmymtg-mcp -- npx -y iwantmymtg-mcpamp mcp add iwantmymtg-mcp -- npx -y iwantmymtg-mcp{
"mcpServers": {
"iwantmymtg-mcp": {
"command": "npx",
"args": [
"-y",
"iwantmymtg-mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"iwantmymtg-mcp": {
"command": "npx",
"args": [
"-y",
"iwantmymtg-mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"iwantmymtg-mcp","command":"npx","args":["-y","iwantmymtg-mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"iwantmymtg-mcp": {
"command": "npx",
"args": [
"-y",
"iwantmymtg-mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"iwantmymtg-mcp": {
"command": "npx",
"args": [
"-y",
"iwantmymtg-mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"iwantmymtg-mcp": {
"command": "npx",
"args": [
"-y",
"iwantmymtg-mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"iwantmymtg-mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"iwantmymtg-mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"iwantmymtg-mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"iwantmymtg-mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y iwantmymtg-mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
Score
39 / 100
Incomplete
- Documentation25/25
- Maintenance25/25
- Trust13/20
- Capability0/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 1 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Version history
| Versions | Published |
|---|---|
| 0.7.0Latest | Jul 31, 2026 |
| 0.6.9 | Jul 22, 2026 |
| 0.6.8 | Jul 19, 2026 |
| 0.6.7 | Jul 16, 2026 |
| 0.6.6 | Jul 15, 2026 |
| 0.6.5 | Jul 14, 2026 |
| 0.6.4 | Jul 14, 2026 |
| 0.6.3 | Jul 9, 2026 |
| 0.6.2 | Jul 9, 2026 |
| 0.6.1 | Jul 4, 2026 |
| 0.6.0 | Jun 22, 2026 |
| 0.5.0 | Jun 16, 2026 |
| 0.4.0 | Jun 16, 2026 |
| 0.3.1 | May 31, 2026 |