Native MC Mapping MCP Server
This server lets you search Minecraft obfuscated ↔ deobfuscated name mappings for classes, methods, and fields across 38 Minecraft versions (1.7.10 – 1.20.1).
Search mappings — Translate obfuscated names (e.g.,
aed,func_70091_d) to readable ones (e.g.,EntityPlayer,getAbsorptionAmount) and vice versa.Boolean expression search — Combine terms with AND (
&), OR (|), and grouping ({}) for powerful queries (e.g.,Entity&Player,{Block|Item}&client).Column-targeted search — Restrict searches using modifiers:
classname,package,method,field,desc,modifier,side, and more. Supports substring (term:modifier) and exact (term::modifier) matching.Paginated results — Browse large result sets with configurable
pageandlimit(up to 100 per page).Custom output formatting — Define output templates using
%variable%placeholders (e.g.,%deobf_class%,%srg_name%,%obf_name%) with automatic deduplication.Auto-caching — Mapping data is automatically downloaded from NeoForge Maven and Mojang servers and cached locally for fast subsequent lookups.
Cross-version support — Track renamed or moved APIs across versions when porting mods.
Broad ecosystem compatibility — Useful for Forge/NeoForge, Fabric, Spigot/Paper, Mixin/Access Transformer configs, reflection-based code, and scripting engines.
Enables AI agents using Codeium (Windsurf) to search Minecraft obfuscated name mappings, assisting with modding, plugin development, and reflection-based code by resolving obfuscated class, method, and field names.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Native MC Mapping MCP Server Find the deobfuscated name for func_70091_d in 1.12.2"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Native MC Mapping MCP Server
An MCP (Model Context Protocol) server that provides Minecraft obfuscated name mapping lookups. Helps AI coding agents work with Minecraft's obfuscated Java internals — for modding, plugin development, Mixin, Access Transformers, reflection-based scripting, and more.
What It Does
Minecraft's Java code is obfuscated at runtime — class, method, and field names are replaced with short meaningless identifiers (aed, func_70091_d, m_91087_). This MCP server lets your AI agent:
Search obfuscated ↔ deobfuscated mappings across 38 Minecraft versions (1.7.10 – 1.20.1)
Auto-build mapping caches on first use — downloads from NeoForge Maven and Mojang servers
Boolean expression search —
Entity&Player,{Block|Item}&client,func_149645
Use Cases
Scenario | How This Helps |
Forge / NeoForge modding | Look up obfuscated method/field names when writing mixins or AT configs |
Fabric modding | Find intermediary ↔ named mappings for access wideners |
Spigot / Paper plugins | Resolve NMS (net.minecraft.server) class names across versions |
Mixin / Access Transformers | Discover the exact obfuscated name to target |
Reflection-based code | Find field/method names for |
Scripting engines | Resolve native Minecraft API names (CustomNPCs, CraftTweaker, etc.) |
Porting mods | Compare mappings between MC versions to find renamed APIs |
MCP Tools
Tool | Description |
| Search Minecraft obfuscated class/method/field name mappings |
Related MCP server: modforge
Quick Install (MCP Client)
Prerequisites
Node.js ≥ 18
Step 1: Clone & Build
git clone https://github.com/SaltfishSheep/AI-MCP-NativeMinecraftAccess.git
cd AI-MCP-NativeMinecraftAccess
npm install
npm run buildStep 2: Add to Your MCP Client
Add the following to your MCP client configuration:
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"native-mc-access": {
"command": "node",
"args": ["/absolute/path/to/AI-MCP-NativeMinecraftAccess/dist/index.js"]
}
}
}OpenCode (opencode.json):
{
"mcp": {
"native-mc-access": {
"type": "local",
"command": ["node", "/absolute/path/to/AI-MCP-NativeMinecraftAccess/dist/index.js"],
"enabled": true
}
}
}Cursor (.cursor/mcp.json):
{
"mcpServers": {
"native-mc-access": {
"command": "node",
"args": ["/absolute/path/to/AI-MCP-NativeMinecraftAccess/dist/index.js"]
}
}
}Windsurf (~/.codeium/windsurf/mcp_config.json):
{
"mcpServers": {
"native-mc-access": {
"command": "node",
"args": ["/absolute/path/to/AI-MCP-NativeMinecraftAccess/dist/index.js"]
}
}
}Replace
/absolute/path/to/with the actual path where you cloned the repo.
Usage
Once configured, your AI agent can call the search tool:
search(mc_version="1.12.2", expression="Entity&Player")Tool Parameters
Parameter | Type | Required | Default | Description |
| string | Yes | - | Minecraft version (e.g. "1.12.2", "1.20.1") |
| string | Yes | - | Boolean search expression |
| number | No | 1 | Page number (1-indexed) |
| number | No | 20 | Results per page (max 100) |
| string | No | default template | Output format template using |
Output template variables: %type%, %obf_class%, %deobf_class%, %obf_name%, %deobf_name%, %srg_name%, %obf_desc%, %deobf_desc%, %access%, %is_static%, %sideonly%, %match%, %mismatch%
Example queries:
Query | Description |
| Entries containing both "Entity" AND "Player" |
| Class name exactly "Entity" |
| Methods with "walk" in name |
| is_static exactly "static" |
| Class name "Potion", name "Duration" |
| Client-side Block or Item entries |
| Find a specific SRG method name by ID |
| All entries mentioning KeyBinding |
| Deduplicated class list |
Expression syntax:
Syntax | Meaning | Example |
| Case-insensitive substring match (exact case scores higher) |
|
| Restrict search to specific columns |
|
| Strong modifier — exact match required |
|
| Dot notation — matches |
|
| AND (both must match, higher precedence) |
|
| OR (either must match) |
|
| Grouping |
|
Modifiers:
Modifier | Searches | Description |
| all columns | Default — searches all text columns (excludes sideonly) |
| obf_class, deobf_class | Full class path (e.g. |
| deobf_class (after last | Class name only (e.g. |
| deobf_class (before last | Package only (e.g. |
| obf_name, deobf_name, srg_name | Field/method names (methods+fields only) |
| obf_name, deobf_name, srg_name | Method names only (filters type=method) |
| obf_name, deobf_name, srg_name | Field names only (filters type=field) |
| obf_desc, deobf_desc | Method/field descriptors |
| access, is_static | Access level and static status (note: |
| sideonly | Side filter (common/server/client) |
Tips: Use Player&Entity instead of PlayerEntity for cross-version compatibility, as naming conventions differ across MC versions.
Supported Versions
38 Minecraft versions across 4 workflow types:
Workflow | Versions | Data Sources |
Legacy SRG | 1.7.10, 1.8, 1.8.8–1.9.4, 1.10.2–1.11.2 | SRG ZIP + MCP Stable CSV + static_methods |
Legacy TSRGv1 | 1.12.2–1.14.4, 1.15–1.15.2 | TSRGv1 + MCP Stable CSV + static_methods + constructors |
Legacy ProGuard | 1.16.1–1.16.5 | TSRGv1 + Mojang ProGuard + static_methods |
Modern | 1.17–1.17.1, 1.18–1.18.2, 1.19–1.19.4, 1.20–1.20.1 | TSRGv2 + Mojang ProGuard |
How It Works
On first search for a given MC version, the server downloads mapping data from NeoForge Maven and Mojang
It parses SRG/TSRG/ProGuard formats and merges them with MCP CSV data
The merged cache is stored as
.mapping-caches/<version>.csvSubsequent searches use the cached data (validated against
package.jsonversion)Boolean expressions are parsed into an AST and evaluated against all CSV rows
Output Format
Format: [type] obf_class/obf_name -> deobf_class deobf_name srg_name obf_desc deobf_desc access is_static sideonly
Found 382 results for "Entity&Player" in MC 1.12.2 (page 1/39)
1. [method] aed/cD -> net/minecraft/entity/player/EntityPlayer.getAbsorptionAmount func_110139_bj ()F non-static common
2. [method] aed/bM -> net/minecraft/entity/player/EntityPlayer.applyEntityAttributes func_110147_ax ()V non-static common
...Project Structure
AI-MCP-NativeMinecraftAccess/
├── package.json
├── tsconfig.json
├── src/
│ ├── index.ts # MCP server entry point
│ ├── types.ts # TypeScript type definitions
│ ├── util.ts # Shared utilities (CSV parsing, package version)
│ ├── version-table.ts # URL mapping table for 38 MC versions
│ ├── builder/
│ │ ├── index.ts # buildMappingCache entry point
│ │ ├── download.ts # HTTP fetch + minimal ZIP reader
│ │ ├── parsers.ts # SRG, TSRGv1, TSRGv2, ProGuard, CSV parsers
│ │ ├── workflows.ts # 4 merge workflow builders
│ │ └── cache.ts # CSV cache writer + mapping-info update
│ └── search/
│ ├── index.ts # Barrel exports
│ ├── expression.ts # Boolean expression parser (AND/OR/braces)
│ └── csv-reader.ts # CSV reader + scoring + in-memory cache
├── dist/ # Built JavaScript (entry: dist/index.js)
└── .mapping-caches/ # Generated cache files (gitignored)License
MIT License — see LICENSE.
Third-Party Data
Mojang mappings — Provided under Mojang's custom license. This server fetches them at runtime; it does NOT redistribute them.
MCP mappings — Maintained by the Mod Coder Pack community, distributed via NeoForge Maven.
Available Tools
1 toolsearchSearch Native MC AccessARead-onlyIdempotent
Search Minecraft obfuscated↔deobfuscated name mappings (classes/methods/fields).
expression syntax: term — case-insensitive substring term:modifier — substring match in column; term::modifier — exact match in column a&b (AND) | a|b (OR) | {expr} (grouping). & has higher precedence than |. "net.minecraft.Entity" auto-expands to "/" and "$" paths. Cross-version tip: "Player&Entity" works better than "EntityPlayer".
Modifiers: all (default) — all columns class — obf_class, deobf_class (full path) classname — class name after last '/' package — package before last '/' name — obf_name, deobf_name, srg_name (methods+fields) method — same columns, methods only field — same columns, fields only desc — obf_desc, deobf_desc modifier — access, is_static side — sideonly (common/server/client)
Scoring: exact case hit = 1.0, case-insensitive = 0.5, then by mismatch (less unmatched chars ranks higher).
Common patterns: "Entity::classname" → exact class name only "Gui:classname" → all classes containing "Gui" "net/minecraft/inventory:package" → all classes under a package "health:field" → fields only, no methods "()Z:desc" → methods returning boolean "get:method&static::modifier" → static methods containing "get" output="%deobf_class%" → deduplicated class list
Inputs: mc_version (required), expression (required), page, limit, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
Only one tool exists, so there is no possibility of confusion between tools. The tool's purpose is clearly delineated.
With a single tool named 'search', naming is trivially consistent. The verb-only name is appropriate for its action.
One tool is slightly below the typical range of 3-15, but the search tool is highly capable and expressive, covering a broad search domain. It earns its place.
The search tool provides comprehensive coverage for querying Minecraft mappings: it supports classes, methods, fields, multiple modifiers, boolean expressions, and scoring. No obvious gaps for a search-only server.
Maintenance
Related MCP Connectors
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
An MCP server that gives your AI access to the source code and docs of all public github repos
Read-only search over 2,065+ AI agent tools and 276 MCP servers. Free, no sign-up needed.
Search a curated directory of 800+ AI agents, MCP servers, and agentic tools.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA 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.130 npm50MIT
- AlicenseNot gradedqualityCmaintenanceProvides deterministic, audit-chain-backed Minecraft symbol migration and version-truth queries over MCP for AI assistants, enabling grounded rename resolution and API diffs without hallucination.24 npm2MIT
- AlicenseAqualityDmaintenanceEnables exploration and decompilation of Minecraft source code, allowing users to list versions, search classes, and decompile .class files on-the-fly.32MIT
- AlicenseAqualityDmaintenanceEnables AI agents to search CustomNPCs JavaDoc for methods, fields, and class hierarchies across multiple Minecraft versions and forks.2MIT