analyze_class
Analyze structure, methods, fields and other information of a Java class
Let an agent read the actual source of a compiled Java dependency instead of guessing the method signature.
LABSCO SUMMARY
Small surface, one job. scan_dependencies makes the project's classes addressable, decompile_class gives back real source, analyze_class gives the shape when full source is more than you need. If you have watched an assistant confidently describe a framework method that does not exist, this is the fix for that exact failure.
An MCP server that indexes a Maven or Gradle project's dependencies and decompiles classes out of the JARs. The decompiler ships with the package, so there is nothing to install alongside it.
Node, and a Java project whose dependencies are already resolved locally — the server reads the build files and the local repository. No decompiler to install; it is bundled with the package.
One command — npx -y jarp-mcp
USE CASES
Index the project's dependencies, then read the decompiled source of the class instead of a plausible guess.
Pull the class's methods and fields without decompiling the whole file.
Decompile the class named in the stack trace and read the branch that threw.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
analyze_classAnalyze structure, methods, fields and other information of a Java class
decompile_classDecompile specified Java class file and return Java source code
scan_dependenciesScan all dependencies of a Maven project and build mapping index from class names to JAR packages
BEFORE YOU INSTALL
3 tools when we connected.
npx on PATH
CONTEXT COST
Rated by the size of the 3 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
Add the block to your client, or run the command directly.
{
"mcpServers": {
"jarp-mcp": {
"command": "npx",
"args": [
"-y",
"jarp-mcp"
]
}
}
}npx -y jarp-mcp