Skip to content
MCP server

AnvilCalc

Minecraft anvil planner: cheapest combine order and exact XP cost for Java and Bedrock

Install
Pricing
Free
Platforms
API, Web
Runs
Remotely
Version
1.0.0
Listing updated
2 days ago

About AnvilCalc

AnvilCalc is a free MCP server for games and play. It runs as a hosted remote server, so there is nothing to install locally.

Anvil costs depend on the order items are merged and on how much prior work each carries, which makes guessing costly. The server simulates the game's rules and exposes two tools.

One simulates a single anvil operation: a base item and a sacrifice (a book is just another item with enchantments), with optional rename, returning the level cost, whether it is feasible and the resulting enchantments. The other searches for the cheapest multi-step route from a current item state to a target enchantment set. It can take a list of books you actually own, each with its own prior-work count, quantity or unlimited supply, and an inventoryOnly flag to plan strictly with what you have. Plans that exceed the level cap are returned marked rather than refused, and impossible plans come back with blockers explaining why.

The endpoint is public, read-only and needs no key, and both Java and Bedrock rules are covered according to the site's example prompts.

Install

Run in a terminal

claude mcp add --transport http anvilcalc https://mcp.anvilcalc.com/mcp

Add to Settings → Connectors → Add custom connector

https://mcp.anvilcalc.com/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "anvilcalc": {
      "url": "https://mcp.anvilcalc.com/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "anvilcalc": {
      "type": "http",
      "url": "https://mcp.anvilcalc.com/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "anvilcalc": {
      "serverUrl": "https://mcp.anvilcalc.com/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "anvilcalc": {
      "type": "http",
      "url": "https://mcp.anvilcalc.com/mcp"
    }
  }
}

Tools this server provides (2)

Taken from the project documentation; the running server may differ.

anvil_combine_cost
Simulate one anvil operation and return XP cost, feasibility and result.
anvil_migration_path
Find the cheapest multi-step path from a source item to a target item.

What it does

Single-step cost
Exact XP level cost for one anvil operation.
Cheapest path search
Finds the lowest-cost order to reach a target enchantment set.
Owned-book planning
Use your actual books with their prior-work counts.
Inventory-only mode
Check if a build is possible with only what you declared.
Cap and blocker reporting
Plans over the level cap or blocked ones explain why.
Java and Bedrock
Compare costs on both editions.

Good for

  • Plan a god sword on a diamond sword
  • Find the order for Efficiency V, Unbreaking III and Mending on a pickaxe using villager books
  • Compare Java and Bedrock costs for a chestplate
  • Check the cost of one specific combine before doing it

Pricing

Free

Free public endpoint

Prices change. Check anvilcalc.com before you buy.

AnvilCalc FAQ

Do I need a key?

No. The endpoint is public, read-only and needs no account.

Can it plan with books I already have?

Yes, through availableSources, with inventoryOnly for strict planning.

Does it handle downgrades?

No. A target that needs a lower level fails clearly, since a vanilla anvil cannot downgrade.

Which editions work?

Java and Bedrock.

Is AnvilCalc free?

Yes. AnvilCalc is free to use.

How do I add AnvilCalc to Claude Code?

Run this command in your terminal: claude mcp add --transport http anvilcalc https://mcp.anvilcalc.com/mcp

What are the best alternatives to AnvilCalc?

The closest alternatives to AnvilCalc are AvatarSay — Fictional Character & Talking Video MCP, VfxSmith, Born Then, Haze City and Vector Defence.

Alternatives to AnvilCalc

  1. VfxSmith

    MCP server

    Search, generate, refine and export pixel art game effects from Claude Code or Codex

    Not checked yet
    • Remote
    • Freemium
    • Design and media
  2. Born Then

    MCP server

    Free MCP server that rolls random historical births weighted by real demographics

    • 2 tools
    • Remote
    • Free
    • Education and exams
  3. Haze City

    MCP server

    MCP server for agents to look around and build in a shared 3D world

    • 17 tools
    • Remote
    • Open source
    • Games and play
  4. Vector Defence

    MCP server

    A first-person Missile Command-style game with 360 degree aiming, for people and agents

    • 6 tools
    • Remote
    • Free
    • Knowledge and memory
  5. Vectoroids

    MCP server

    A first-person 3D asteroids game with a scanner, playable by humans and agents

    • 6 tools
    • Remote
    • Free
    • Games and play