You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Model Context Protocol server that gives AI assistants native access to Minecraft mod development tools — decompile, remap, search, and analyze Minecraft source code directly from your AI workflow.
20 tools spanning decompilation, mapping translation, mod analysis, mixin validation, version comparison, and full-text search — with full WSL and Windows path support.
Capabilities
Feature
Description
Automatic Decompilation
Download, remap, and decompile any Minecraft version (1.14+) on-demand with persistent smart caching
Multiple Mapping Systems
Full support for Yarn, Mojmap (official), Intermediary, and obfuscated (official) namespaces
Source Code Access
Retrieve decompiled Java source for any Minecraft class with optional line-range filtering
Registry Data
Extract block, item, entity, and other game registry data from any supported version
Mod JAR Analysis
Analyze Fabric, Quilt, Forge, and NeoForge mods — metadata, mixins, dependencies, entry points, class statistics
Mod Decompilation
Decompile third-party mod JARs to readable Java source with full regex and FTS5 search support
Mixin Validation
Parse and validate Mixin annotations against Minecraft source — validates targets, injection points, and suggests fixes
Access Widener Validation
Validate .accesswidener files against decompiled source with error reporting and similarity suggestions
Version Comparison
Class-level and AST-level diff analysis between Minecraft versions — method signatures, field changes, breaking changes
Full-Text Search
SQLite FTS5 indexes for fast searching across Minecraft and mod source with BM25 ranking
Mapping Translation
Translate any symbol between official, intermediary, Yarn, and Mojmap namespaces
Unobfuscated Version Support
Native support for Minecraft 26.1+ which ships with deobfuscated class names
WSL Compatibility
Accepts both WSL (/mnt/c/...) and Windows (C:\...) paths throughout all tools
Decompile, browse, and search Minecraft source code.
Tool
Description
Parameters
list_minecraft_versions
List all versions available from Mojang and which are already cached locally.
None
decompile_minecraft_version
Decompile an entire Minecraft version. Downloads the client JAR, remaps it, and decompiles all classes with VineFlower. Subsequent calls use cached results.
version, mapping • Optional: force (re-decompile)
get_minecraft_source
Get decompiled Java source for a specific Minecraft class. Downloads, remaps, and decompiles automatically on first use; subsequent requests are instant from cache.
Build a SQLite FTS5 full-text search index for decompiled Minecraft source. Required before using search_indexed.
version, mapping
search_indexed
Fast full-text search on a pre-built index using FTS5 syntax. Significantly faster than search_minecraft_code for broad queries. Supports AND, OR, NOT, phrase matching, and prefix wildcards.
Translate names between namespaces and explore game data.
Tool
Description
Parameters
find_mapping
Translate a class, method, or field name between any two mapping namespaces (official, intermediary, yarn, mojmap).
symbol, version, sourceMapping, targetMapping
remap_mod_jar
Remap a Fabric mod JAR from intermediary to human-readable Yarn or Mojmap names. Accepts WSL and Windows paths. Minecraft version is auto-detected from mod metadata if not provided.
AST-level version comparison showing exact method signature changes, field type changes, and breaking API modifications. Can be scoped to specific packages.
Parse and validate Mixin code against Minecraft source. Validates target classes, injection methods, and annotation syntax. Provides similarity suggestions on failures.
source (Java code or file path), mcVersion • Optional: mapping
validate_access_widener
Validate a Fabric Access Widener file against Minecraft source. Checks all class, method, and field targets exist and flags invalid entries.
content (file content or path), mcVersion • Optional: mapping
get_documentation
Get documentation links and usage hints for a Minecraft or Fabric class. Links to Fabric Wiki and Minecraft Wiki.
className
search_documentation
Search across all known Minecraft and Fabric documentation topics.
query
Mod Analysis (5 tools)
Analyze and decompile third-party mod JARs.
Tool
Description
Parameters
analyze_mod_jar
Analyze a third-party mod JAR without decompiling. Extracts mod ID, version, dependencies, entry points, mixin configs, and class statistics. Supports Fabric, Quilt, Forge, and NeoForge.
Call get_minecraft_source → server downloads client JAR (~50 MB), mappings (~5 MB), remaps (~2 min), decompiles with VineFlower (~3 min), returns source. Total: ~5 min first run. Subsequent requests for any class from the same version return in ~50ms from cache.
Analyze a third-party mod
1. analyze_mod_jar (no decompilation needed, returns metadata instantly) → 2. remap_mod_jar to translate from intermediary → 3. decompile_mod_jar → 4. search_mod_code or index_mod + search_mod_indexed
Validate a Fabric mixin
analyze_mixin with your Java source or JAR path — validates target classes, method selectors, and injection types against the decompiled MC version. Returns errors and name suggestions.
Find breaking changes between versions
compare_versions for a high-level class and registry overview, then compare_versions_detailed scoped to specific packages for full AST-level method and field diffs.
Fast broad code search
index_minecraft_version once per version/mapping combination, then search_indexed with FTS5 queries: entity AND damage, "onBlockBreak", tick*, BlockEntity NOT render.
Translate obfuscated names
find_mapping with sourceMapping: "official" and your obfuscated symbol to look up the equivalent Yarn or Mojmap name. Supports class, method, and field lookups.
Deobfuscated by Mojang — no remapping needed, classes already human-readable
Yarn mappings are discontinued after 1.21.11, which is the last obfuscated Minecraft version. All 26.1+ releases ship with readable class and method names and only require Mojmap.
git clone https://github.com/MCDxAI/minecraft-dev-mcp.git
cd minecraft-dev-mcp
npm install
npm run build
Troubleshooting
Issue
Solution
Java not found — Java 17+ is required but not found
Install Java 17+ from Adoptium • Verify with java -version • Ensure java is on your PATH
Decompilation fails
Check available disk space (~500 MB per version) • Review %APPDATA%\minecraft-dev-mcp\minecraft-dev-mcp.log • Force re-decompile by passing "force": true
Yarn not available — Yarn mappings not available for version X
Yarn is only supported for 1.14–1.21.11 • Use mojmap for 26.1+ versions
Class not found
Use the fully qualified class name (e.g., net.minecraft.world.entity.Entity) • Verify the version is decompiled
Registry returns no data
Registry names use singular form: block, item, entity — not blocks, items, entities
WSL path error
Both /mnt/c/path/to/file and C:\path\to\file are accepted for all JAR path parameters