Back to Directory/Developer Tools

io.github.gregario/hearthstone-oracle

Hearthstone card search, deck analysis, strategy coaching, and archetype classification

Developer ToolsTypeScriptv0.1.0

hearthstone-oracle

Hearthstone MCP server with card search, deck analysis, and strategy coaching. Gives LLMs access to every Hearthstone card plus built-in strategy knowledge for deck building and gameplay advice.

Features

  • Complete card database from HearthstoneJSON — every collectible card, auto-updated
  • Deck decoding and analysis — paste a deck code, get full card list, mana curve, and archetype breakdown
  • Strategy knowledge — archetypes, class identities, matchup dynamics, and game concepts
  • 9 MCP tools — search, lookup, decode, analyze, coach

Quick Start

claude mcp add hearthstone-oracle -- npx -y hearthstone-oracle

Card data is downloaded automatically from HearthstoneJSON on first run and stored locally in ~/.hearthstone-oracle/. No API key required.

Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "hearthstone-oracle": {
      "command": "npx",
      "args": ["-y", "hearthstone-oracle"]
    }
  }
}

Tools

ToolDescription
search_cardsSearch cards by name, text, class, cost, type, rarity, set, or keyword
get_cardGet complete details for a specific card with fuzzy matching
get_keywordLook up keyword/mechanic definitions with related cards
decode_deckDecode a deck code into full card list with mana curve
analyze_deckAnalyze a deck's archetype, gameplan, strengths, and matchup profile
get_archetypeLearn about deck archetypes (aggro, control, combo, midrange, tempo, value)
get_class_identityStrategic identity of each Hearthstone class
get_matchupTheoretical matchup dynamics between archetypes
explain_conceptFundamental game concepts explained for Hearthstone

How It Works

Two-layer architecture:

  1. Card data layer — Full card database from HearthstoneJSON, stored in a local SQLite database with FTS5 full-text search. Cards are fetched on first run and updated when newer game builds are available.
  2. Strategy layer — Built-in strategy knowledge covering archetypes, class identities, matchup theory, and core game concepts. Enables the server to provide coaching and analysis, not just raw card data.

Data Source

Card data provided by HearthstoneJSON by HearthSim. Auto-extracted from game files. Unrestricted use.

License

MIT

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y hearthstone-oracle

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-gregario-hearthstone-oracle": {
      "command": "npx",
      "args": [
        "-y",
        "hearthstone-oracle"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

hearthstone-oraclenpm

Compatible MCP Clients

io.github.gregario/hearthstone-oracle works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More