{"data":{"name":"com.anvilcalc/anvilcalc","title":"AnvilCalc","description":"Cheapest Minecraft anvil combine order and exact XP cost for Java and Bedrock Edition.","version":"1.0.0","websiteUrl":"https://anvilcalc.com/mcp","repositoryUrl":null,"remotes":[{"type":"streamable-http","url":"https://mcp.anvilcalc.com/mcp"}],"packages":[],"status":"active","isLatest":true,"publishedAt":"2026-11-05T07:48:01.295Z","updatedAt":"2026-11-05T07:48:01.295Z","source":"official-registry","verification":"official","confidence":100,"stars":null,"sources":[{"source":"official-registry","sourceId":"com.anvilcalc/anvilcalc","verification":"official","confidence":100,"stars":null,"updatedAt":"2026-11-05T07:48:01.295Z","title":"AnvilCalc","description":"Cheapest Minecraft anvil combine order and exact XP cost for Java and Bedrock Edition.","websiteUrl":"https://anvilcalc.com/mcp","repositoryUrl":null}],"toolIndex":{"tools":[{"serverName":"com.anvilcalc/anvilcalc","endpointFingerprint":"96ed8b2681f7ef638261fa7d5f94e21422a32e5fb316da3364c4afba8f90a3c1","name":"anvil_combine_cost","title":"Anvil combine cost","description":"Simulates exactly one Minecraft anvil operation — combining `item` (the base, left slot) with `sacrifice` (the right slot), optionally renaming the result — with no search or planning: it's a direct simulation of that specific in-game anvil use, not a 'find the cheapest way to reach X' query. Returns the XP-level cost, feasibility, and the resulting enchantments. A sacrifice enchantment the base item cannot take (e.g. Efficiency from a book onto a sword) is ignored by the anvil: cost 0, `transferred: false`. For finding the cheapest multi-step path from a current state to a target enchantment set, use anvil_migration_path instead.","inputSchema":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"Item id, e.g. 'diamond_sword', or 'book'/'enchanted_book' for a book"},"material":{"description":"Optional material override for the item, if applicable","type":"string"},"enchantments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"Enchantment id, e.g. 'sharpness'"},"level":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Enchantment level (Roman-numeral level as an integer)"}},"required":["id","level"]},"description":"Enchantments currently on this item/book"},"priorWorkCount":{"description":"This item's own 'too expensive' prior-work counter, if it has already been anvil-combined before (0 if fresh)","type":"integer","minimum":0,"maximum":9007199254740991},"name":{"description":"This item's existing custom name, if any","type":"string"}},"required":["id","enchantments"]},"sacrifice":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"Item id, e.g. 'diamond_sword', or 'book'/'enchanted_book' for a book"},"material":{"description":"Optional material override for the item, if applicable","type":"string"},"enchantments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"Enchantment id, e.g. 'sharpness'"},"level":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Enchantment level (Roman-numeral level as an integer)"}},"required":["id","level"]},"description":"Enchantments currently on this item/book"},"priorWorkCount":{"description":"This item's own 'too expensive' prior-work counter, if it has already been anvil-combined before (0 if fresh)","type":"integer","minimum":0,"maximum":9007199254740991},"name":{"description":"This item's existing custom name, if any","type":"string"}},"required":["id","enchantments"]},"newName":{"description":"Desired custom name for the result. A rename is included only if this differs from item.name (use '' to clear an existing name) — cost is a flat +1 XP level, the actual text has no effect on cost. Omit to leave the name untouched.","type":"string"},"edition":{"description":"Minecraft edition; defaults to 'java'","type":"string","enum":["java","bedrock"]},"version":{"description":"Game version, e.g. '1.21.4'; defaults to the latest supported version for the chosen edition","type":"string"}},"required":["item","sacrifice"],"$schema":"https://json-schema.org/draft/2020-12/schema"},"annotations":null,"definitionHash":"370445d01db1b63bc070b3413f111a0a23cca3588dd60149650271aa73870946","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-18T12:46:13.642Z","metadataTrust":"untrusted"},{"serverName":"com.anvilcalc/anvilcalc","endpointFingerprint":"96ed8b2681f7ef638261fa7d5f94e21422a32e5fb316da3364c4afba8f90a3c1","name":"anvil_migration_path","title":"Anvil migration path","description":"Compute the cheapest Minecraft anvil combine path to migrate an item's existing enchantments (and prior-work penalty count) to a target enchantment set. sourceItem and targetItem must be the same item id (e.g. both 'diamond_sword') — a mismatch is a tool error, not a silent conversion. Inventory usage is set by two optional inputs: with no availableSources the inventory is not used (\"Don't use\": every needed book/item is assumed obtainable); with availableSources the plan may use them when they help and assumes the rest is obtainable (\"May use\"); with inventoryOnly: true, which is never implied, only the listed items are considered, lower levels may be combined into higher ones (two same-level books into the next level) but no outside book is ever assumed (\"Only use\"; a plan the inventory cannot complete comes back as error 'blocked_plan'). Optional `objective`: 'min_xp' (default, fewest XP levels) or 'min_prior_work' (fewest anvil operations on the finished item so it stays cheap to upgrade later, then fewest XP levels); when set, the response also reports the objective used, the total XP and the result's prior-work count. Returns ordered combine steps, per-step and total cost, feasibility, and a plain-language summary. Fails clearly, as a tool error, if the target requires downgrading an enchantment level (not possible on a vanilla anvil).","inputSchema":{"type":"object","properties":{"sourceItem":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"Item id, e.g. 'diamond_sword' — must match targetItem.id"},"material":{"description":"Optional material override for the item, if applicable","type":"string"},"enchantments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"Enchantment id, e.g. 'sharpness'"},"level":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Enchantment level (Roman-numeral level as an integer)"}},"required":["id","level"]},"description":"Enchantments currently on the item"},"priorWorkCount":{"description":"The item's existing 'too expensive' prior-work-penalty counter, if known","type":"integer","minimum":0,"maximum":9007199254740991},"name":{"description":"The item's existing custom name, if any","type":"string"}},"required":["id","enchantments"]},"targetItem":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"Item id, e.g. 'diamond_sword' — must match sourceItem.id, or the tool returns an error"},"enchantments":{"minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"Enchantment id, e.g. 'sharpness'"},"level":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Enchantment level (Roman-numeral level as an integer)"}},"required":["id","level"]},"description":"Desired final enchantments"},"name":{"description":"Desired custom name. A rename is included only if this differs from sourceItem.name (use '' here to clear an existing name) — cost is a flat +1 XP level, the actual text has no effect on cost. Omit to leave the name untouched.","type":"string"}},"required":["id","enchantments"]},"availableSources":{"description":"The books/items the player already owns, i.e. the inventory. Omit it or pass [] for \"Don't use\": no inventory is provided, so the plan assumes every needed book/item is obtainable (a fresh single-enchantment book for each target enchantment). Pass one or more sources for \"May use\": the plan picks those that make it cheaper, ignores the ones that don't help, and still assumes anything the sources cannot provide is obtainable. Passing sources never implies \"Only use\"; that needs inventoryOnly: true.","type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"description":"Caller-chosen id used to reference this source in the plan output"},"isBook":{"type":"boolean","description":"True if this source is an enchanted book rather than an item"},"itemId":{"description":"Item id this source is, e.g. 'diamond_pickaxe' — required when isBook is false","type":"string"},"enchantments":{"minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"Enchantment id, e.g. 'sharpness'"},"level":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Enchantment level (Roman-numeral level as an integer)"}},"required":["id","level"]},"description":"Enchantments already present on this source"},"priorWorkCount":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"This source's own 'too expensive' prior-work counter, if it has already been anvil-combined before (0 for a fresh book/item)"},"origin":{"description":"Informational only — where this source came from","type":"string","enum":["enchanting_table","villager_trade","fishing","loot","anvil_combined","other"]},"quantity":{"description":"How many independent physical copies of this exact source are owned (default 1). Ignored when unlimited is true.","type":"integer","minimum":1,"maximum":9007199254740991},"unlimited":{"description":"True if more of this exact source can always be obtained on demand (e.g. a standing villager trade) — treated as reusable without limit instead of a fixed quantity.","type":"boolean"},"villagerTrade":{"description":"True if this source is a STANDING, repeatable villager trade (not a specific physical copy you already own) — this, not origin, is what makes a source cost emeralds in the plan's emerald-cost estimate. A source you physically own, even one whose origin happens to be tagged 'villager_trade' as a flavor note on how you got it, should leave this false/unset and stays free. Never affects XP level cost.","type":"boolean"},"cured":{"description":"Only meaningful when villagerTrade is true: whether that specific villager has been cured, for the discounted emerald price in the plan's emerald-cost estimate. Never affects XP level cost.","type":"boolean"}},"required":["sourceId","isBook","enchantments","priorWorkCount"]}},"inventoryOnly":{"description":"\"Only use\": only if you set this to true (it is never implied, not even when availableSources is non-empty). The plan then considers only the items in availableSources (respecting each one's quantity/unlimited) and never assumes an outside book is obtainable. It may still start by combining lower levels into higher ones, for example two same-level books into the next level. If the inventory cannot reach the target, the result is feasible: false with error 'blocked_plan' (the cheapest plan assuming each missing book, with blockers). Omit it or pass false for the default (\"Don't use\" with no sources, \"May use\" with sources).","type":"boolean"},"objective":{"description":"What to optimise. 'min_xp' (default) finds the plan with the fewest total XP levels. 'min_prior_work' finds the plan whose FINISHED item has the lowest prior-work count (fewest anvil operations on it, so it stays cheap to upgrade again later — each extra operation doubles the prior-work penalty of any future combine), and among plans with that count picks the cheapest in XP. 'min_prior_work' may cost more XP; when this parameter is given the response also reports the objective used, the total XP and the result's prior-work count so the two modes can be compared. Omit for the original min_xp behaviour and response.","type":"string","enum":["min_xp","min_prior_work"]},"edition":{"description":"Minecraft edition; defaults to 'java'","type":"string","enum":["java","bedrock"]},"version":{"description":"Game version, e.g. '1.21.4'; defaults to the latest supported version for the chosen edition","type":"string"}},"required":["sourceItem","targetItem"],"$schema":"https://json-schema.org/draft/2020-12/schema"},"annotations":null,"definitionHash":"665247761cbb38baff26948a575a428eff748f9d434774bcc2227851ae5f9a87","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-18T12:46:13.642Z","metadataTrust":"untrusted"}],"endpoints":[{"endpointFingerprint":"96ed8b2681f7ef638261fa7d5f94e21422a32e5fb316da3364c4afba8f90a3c1","protocol":"streamable-http","status":"indexed","toolCount":2,"observedAt":"2026-11-18T12:46:13.642Z"}],"authentication":"unknown"},"connectionConfigurations":{"status":"ready","authentication":"not embedded","clients":{"Claude Desktop":{"mcpServers":{"com.anvilcalc/anvilcalc":{"url":"https://mcp.anvilcalc.com/mcp"}}},"Cursor":{"mcpServers":{"com.anvilcalc/anvilcalc":{"url":"https://mcp.anvilcalc.com/mcp"}}},"VS Code":{"servers":{"com.anvilcalc/anvilcalc":{"type":"http","url":"https://mcp.anvilcalc.com/mcp"}}}}},"resourceType":"mcp-server","callable":true,"runtime":{"callable":true,"protocols":["mcp"]},"interfaces":[{"protocol":"mcp","transport":"streamable-http","url":"https://mcp.anvilcalc.com/mcp"}],"profile":{"apiVersion":"1","schemaVersion":"1","id":"mcp-server:com.anvilcalc%2Fanvilcalc","resourceType":"mcp-server","canonicalUrl":"https://www.agentsjunction.com/api/v1/servers/com.anvilcalc%2Fanvilcalc","name":"com.anvilcalc/anvilcalc","description":"Cheapest Minecraft anvil combine order and exact XP cost for Java and Bedrock Edition.","interfaces":[{"protocol":"mcp","transport":"streamable-http","url":"https://mcp.anvilcalc.com/mcp"}],"capabilities":[],"identity":{"source":"official-registry","websiteUrl":"https://anvilcalc.com/mcp","repositoryUrl":null,"version":"1.0.0"},"verification":{"state":"official","confidence":100},"operations":{"resourceType":"mcp-server","name":"com.anvilcalc/anvilcalc","status":"online","lastCheckedAt":"2026-11-20T06:16:39.984Z","lastSuccessfulCheck":"2026-11-20T06:16:39.984Z","latencyMs":156,"consecutiveFailures":0,"isStale":false,"checks":{"endpointReachable":true,"protocolValid":true,"agentCardValid":null,"mcpHandshakeValid":true},"lastSeen":null,"lastSuccessfulInteraction":null,"lastHealthCheck":"2026-11-20T06:16:39.984Z","source":{"type":"health-check","url":null},"observedAt":"2026-11-20T06:16:39.984Z"},"security":null,"timestamps":{"createdAt":"2026-11-05T07:48:01.295Z","updatedAt":"2026-11-05T07:48:01.295Z","observedAt":"2026-11-20T06:16:39.984Z"},"compatibility":{"serverVersion":"1.0.0","protocolVersions":[{"protocol":"mcp","version":null}]}}}}