Mythic Index MCP Server
Magic: The Gathering card prices, deck analysis, and investment intelligence — powered by live data from 5 vendors covering 99K+ cards.
Connect this MCP server to Claude Desktop, Claude Code, or any MCP-compatible AI assistant to get real-time MTG card pricing, deck cost analysis, sealed product EV calculations, and investment insights.
What You Can Do
Ask about prices:
"What's the current price of Sheoldred, the Apocalypse?"
Build decks on a budget:
"Find me black creatures with deathtouch under $5 legal in Modern"
Price a full decklist:
"Price this deck: 4 Lightning Bolt, 4 Goblin Guide, 20 Mountain — check Modern legality"
Evaluate sealed products:
"Is the Modern Horizons 3 Collector Booster Box worth buying at $280?"
Track investments:
"What cards spiked this week? Show me Reserved List cards under $50"
Understand strategy:
"What role does Counterspell play? Find me blue counter spells for Commander under $3"
Quick Start
Prerequisites
- Python 3.10+ (the MCP SDK requires 3.10 or newer)
- Claude Desktop, Claude Code, or any MCP-compatible client
Install
The published package runs with no manual install via uv:
uvx mythic-index-mcp
Or install from source:
git clone https://github.com/wizkid17/mythic-index-mcp.git
cd mythic-index-mcp
pip install -r requirements.txt
Configure Claude Desktop
Edit your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"mythic-index": {
"command": "uvx",
"args": ["mythic-index-mcp"]
}
}
}
Restart Claude Desktop. The Mythic Index tools will appear in the tools menu (hammer icon).
Configure Claude Code
claude mcp add mythic-index uvx mythic-index-mcp
Use Your Own API Key (optional)
The server includes a public read-only key with rate limiting. For higher rate limits, get your own key and set it as an environment variable:
{
"mcpServers": {
"mythic-index": {
"command": "uvx",
"args": ["mythic-index-mcp"],
"env": {
"MYTHIC_INDEX_API_KEY": "mi_your_key_here"
}
}
}
}
Available Tools (21)
Search & Discovery
| Tool | Description |
|---|---|
search_cards |
Fuzzy name search — handles typos and partial names |
find_cards |
Advanced filters: oracle text, color, type, CMC, price, format, Reserved List |
browse_cards |
Browse by price, name, or newest sets |
list_sets |
List and search all 971 MTG sets |
Pricing
| Tool | Description |
|---|---|
get_card_price |
Current prices across TCGPlayer, Card Kingdom, CardMarket, CardSphere, CardHoarder |
get_price_history |
Price trends over 7/30/90/365 days |
Sets & Sealed Products
| Tool | Description |
|---|---|
get_set_stats |
Rarity distribution, avg price, total value, chase card, top 10 |
search_sealed |
Find booster boxes, packs, bundles, commander decks |
get_sealed_ev |
Full EV breakdown with tier analysis (bulk → jackpot) |
Investment
| Tool | Description |
|---|---|
top_movers |
Biggest price gains and drops over any period |
find_arbitrage |
Cross-vendor profit opportunities (buy retail, sell buylist) |
reserved_list_tracker |
Browse Reserved List cards — never reprinted |
Deck Analysis
| Tool | Description |
|---|---|
price_deck |
Full decklist pricing: total cost, vendor comparison, mana curve, legality, budget swaps |
suggest_budget_alternatives |
Find cheaper cards with similar type and CMC |
analyze_mana_curve |
Curve visualization, land count evaluation, color source requirements |
Strategy
| Tool | Description |
|---|---|
check_legality |
Format legality: Standard, Modern, Pioneer, Commander, Legacy, Vintage, Pauper |
evaluate_card |
Strategic roles, keyword abilities, archetype fit |
find_cards_by_role |
Search by role: removal, ramp, card draw, burn, counter, tutor, and 7 more |
Rules
| Tool | Description |
|---|---|
search_rules |
Full-text search the official Comprehensive Rules + glossary |
get_rule |
Get a rule by number with its sub-rules (e.g. 509.1) |
System
| Tool | Description |
|---|---|
get_api_status |
Platform health and sync status |
Data Coverage
| Metric | Value |
|---|---|
| Cards | 99,000+ |
| Sets | 971 |
| Price sources | TCGPlayer, Card Kingdom, CardMarket, CardSphere, CardHoarder |
| Price listings | 534,000+ |
| Sealed products | 3,900+ with EV calculations |
| Cards with format legality | 99,287 |
| Reserved List cards | 1,096 |
| Update frequency | Daily at 3 AM Lima (UTC-5) |
Using as a Claude Project
For the best experience, create a Claude Project and add the contents of skill/system_prompt.md as the Project Instructions. This gives Claude deep MTG domain knowledge on top of the live data tools.
Self-Hosting
If you run your own Mythic Index API instance:
export MYTHIC_INDEX_API_URL=http://localhost:8000
export MYTHIC_INDEX_API_KEY=your-key
python3 mcp_server.py
For remote SSE hosting:
python3 mcp_server.py --sse --port 8080
API
This MCP server connects to the Mythic Index API. Documentation: api.mythic-index.com/mtg-api/docs
License
MIT — see LICENSE
Links
- API Docs: https://api.mythic-index.com/mtg-api/docs
- Admin Console: https://api.mythic-index.com/admin
- MCP Protocol: https://modelcontextprotocol.io
- Anthropic: https://anthropic.com
Metadata
Release files for mythic-index-mcp 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mythic_index_mcp-0.1.2.tar.gz | 15.0 kB | Without provenance | Details for mythic_index_mcp-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mythic_index_mcp-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for mythic_index_mcp-0.1.2-py3-none-any.whl |
Total release size: 28.4 kB
Release files / mythic_index_mcp-0.1.2.tar.gz
| Download URL | mythic_index_mcp-0.1.2.tar.gz |
|---|---|
| Size | 15.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b087c0b3aac5eac56072ae25c72b2f891d8f7e5d88f7ad3f2de8bf86ea8969e7
|
|
BLAKE2b-256 checksum How to use checksums |
bb6d5f4bed81c06349a7e3d0cd1d36f725ddcd028f5ab34271220aa67fa52b0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / mythic_index_mcp-0.1.2-py3-none-any.whl
| Download URL | mythic_index_mcp-0.1.2-py3-none-any.whl |
|---|---|
| Size | 13.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8a2b5a455d31c68a467c5aa472468bf04705a24ffbaedda4856595b43e843e2f
|
|
BLAKE2b-256 checksum How to use checksums |
df653c4860f34adec3820365d5a865325409aa73e721499e96f76ff726398f71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for mythic-index-mcp 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.