Official description3 sourcesMCP servers3d ago
idachev/mcp-javadc
MCP server for decompiling Java .class files to source
Official descriptionMCP Java Decompiler Server (v1.2.4) A Model Context Protocol (MCP) server for decompiling Java class files.
- Source
- collected from the abordage/awesome-mcp list · type: MCP server
- Harvest history
- first seen 2026-10-14 · last seen 2026-10-16 · seen 4× · listed by 3 sources
- Score
- score 303 · 3 sources · mcp
FAQ (answers come from our records)
How do I install it?
We did not find an install command for this repository (our install coverage is only about 4%). Check its README or releases page.
Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
first catalogued 2026-10-14;last seen 2026-10-16。There is no official certification or quality rating here — we record sources and dates only.
Third-party quality signals



MCP Java Decompiler Server (v1.2.4)
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
A Model Context Protocol (MCP) server for decompiling Java class files. This server allows AI assistants and tools that implement the MCP protocol to decompile Java bytecode into readable source code.
Features
- Decompile Java .class files from file path
- Decompile Java classes from package name (e.g., java.util.ArrayList)
- Decompile Java classes from JAR files
- Specify which class to extract from JAR files
- Full MCP-compatible API
- Stdio transport for seamless integration
- Clean error handling
- Temporary file management
Prerequisites
- Node.js 16+
- npm
- No Java requirement (using JavaScript port of CFR decompiler)
Installation
Option 1: Using npx (Recommended)
You can run the server directly with npx without installing:
Option 2: Global Installation
Option 3: From Source
Usage
Quick Start
The easiest way to run the server:
Integrating with MCP Clients
To use with an MCP client (like Claude or another MCP-compatible AI assistant):
Adding to Claude Code
To add this tool to Claude Code:
Example MCP client configuration:
MCP Tools
The server provides three main tools:
1. decompile-from-path
Decompiles a Java .class file from a file path.
Parameters:
- classFilePath: Absolute path to the Java .class file
Example request:
2. decompile-from-package
Decompiles a Java class from a package name.
Parameters:
- packageName: Fully qualified Java package and class name (e.g., java.util.ArrayList)
- classpath: (Optional) Array of classpath directories to search
Example request:
3. decompile-from-jar
Decompiles a Java class from a JAR file.
Parameters:
- jarFilePath: Absolute path to the JAR file (required)
- className: Fully qualified class name to extract from the JAR (required) (e.g., "com.example.MyClass")
Example request:
Known Issues
Java Class Decompilation
The CFR decompiler (@run-slicer/cfr) is a JavaScript port of the popular CFR Java decompiler. It works well with:
1. Standard Java class files
2. Classes that are part of a known package structure
3. Modern Java features (all Java versions)
4. JAR files containing Java classes
If you encounter issues with a specific class file, try:
- Using the decompile-from-package tool with explicit classpath
- Using the decompile-from-jar tool with explicit class name
- Ensuring the class file is a valid Java bytecode file
- Checking for corrupt class files or JAR archives
Maven Repository Usage
When working with JAR files from Maven repositories:
- Use the find ~/.m2 -name "*dependency-name*jar" command to locate JAR files
- Filter out source and javadoc JARs using grep -v source | grep -v javadoc
- Use jar tf your-jar-file.jar | grep .class to list available classes in a JAR
- Check that class names match the package structure in the JAR
Configuration
Environment Variables
- CLASSPATH: Java classpath for finding class files (used when no classpath is specified)
Development
Testing with MCP Inspector
- Source
- awesome
· https://github.com/idachev/mcp-javadc
- Browse by field
- MCP servers
- added
- yesterday
Filed under
Every tag opens the full list for that filter. Counts are the live catalogue figures.
Browse all fields →
← Back to index