dejared — Claude Code MCP server for Java archive analysis
dejared lets an agent inspect Java archives, search bytecode, and decompile classes. Use it to investigate dependencies that ship without source code.
claude mcp add dejared -- npx -y dejared-mcpWhat dejared does
Connect dejared to an MCP client to browse JAR, WAR, EAR, and AAR files. An agent can look up classes or string literals in bytecode, then turn a selected class into Java source with CFR, Vineflower, or Procyon. Spring Boot fat-jars are supported too.
The server exposes nine tools for archive discovery and deeper inspection. Its npm package fetches and caches the server JAR on first launch, then runs it with java -jar over stdio. You need Node.js 20+ and Java 17+; a JRE is enough. Without those versions, the server will not start.
You can connect the MCP server by itself, or install the plugin bundle for Claude Code or Codex. The bundle also includes the jar-analysis skill, which guides the agent to use the archive tools. Other clients use an MCP configuration instead.
What it helps with
- inspect the contents of a Java archive
- search bytecode for a class or string
- decompile a class into Java source
- recover
application.ymlorMANIFEST.MFfrom a JAR - trace a stack frame into a dependency without source code
Example prompts for the agent
- Inspect
library.jarand find the class related to this error; show me its Java code. - Search
app.warfor the stringjdbc:and identify the class that contains it. - List the contents of
plugin.jarand decompile theMainclass.
How to install dejared
Platform CLI
claude mcp add dejared -- npx -y dejared-mcpPlatform CLI
codex mcp add hqkh4nh-dejared -- npx -y dejared-mcpConfig file
{
"mcpServers": {
"hqkh4nh-dejared": {
"command": "npx",
"args": [
"-y",
"dejared-mcp"
]
}
}
}Config file
{
"servers": {
"hqkh4nh-dejared": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"dejared-mcp"
]
}
}
}Platform CLI
gemini mcp add hqkh4nh-dejared npx -y dejared-mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about dejared
How do I install dejared in Claude Code?
Run claude mcp add dejared -- npx -y dejared-mcp. The server requires Node.js 20+ and Java 17+.
What does dejared do?
It explores Java archives, searches classes and text in bytecode, and decompiles selected classes into Java source.
Which Java and Node.js versions does dejared need?
Use Node.js 20 or later and Java 17 or later. A JRE is sufficient.