# AnvilCalc

> AnvilCalc is a free MCP server for games and play. Minecraft anvil planner: cheapest combine order and exact XP cost for Java and Bedrock. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** API, Web
- **Website:** https://anvilcalc.com/mcp
- **MCP Registry name:** com.anvilcalc/anvilcalc
- **Categories:** games and play
- **Listing updated:** 2026-11-15

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://mcp.anvilcalc.com/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "anvilcalc": {
      "url": "https://mcp.anvilcalc.com/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

- `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.

## 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

- [AvatarSay — Fictional Character & Talking Video MCP](https://ai-powered.com/mcp/avatarsay-fictional-character-and-talking-video-mcp): AvatarSay — Fictional Character & Talking Video MCP is a freemium MCP server for design and media.
- [VfxSmith](https://ai-powered.com/mcp/vfxsmith): VfxSmith is a freemium MCP server for design and media.
- [Born Then](https://ai-powered.com/mcp/born-then): Born Then is a free MCP server for education and exams.
- [Haze City](https://ai-powered.com/mcp/haze-city): Haze City is an open-source MCP server for games and play.
- [Vector Defence](https://ai-powered.com/mcp/vector-defence): Vector Defence is a free MCP server for knowledge and memory.
- [Vectoroids](https://ai-powered.com/mcp/vectoroids): Vectoroids is a free MCP server for games and play.
- [Vector Alienspace](https://ai-powered.com/mcp/vector-alienspace): Vector Alienspace is a free MCP server for knowledge and memory.
- [Vector Abyss](https://ai-powered.com/mcp/vector-abyss): Vector Abyss is a free MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/anvilcalc
