Dejared
Java decompiler MCP server for exploring and decompiling JAR, WAR, EAR and AAR files
- Pricing
- Open source
- Platforms
- CLI, self-hosted, Linux
- Runs
- Locally
- Version
- 1.2.2
- Listing updated
- today
Similar MCP servers
About Dejared
Dejared is an open-source MCP server for security. It runs locally on your machine and is started by your AI client.
Dependencies without sources are the target: an agent can open an archive, list what is inside, search bytecode for classes and string literals, and turn any class back into Java using the CFR, Vineflower or Procyon engines. The README suggests it for reading what a third-party library really does, recovering an application.yml or MANIFEST.MF, following a stack trace into library code, or inspecting an obfuscated plugin or mod.
It offers nine tools in three groups: discovery, hunting and deep analysis. The npm package is a thin wrapper that downloads and caches the server JAR on first run and starts it over stdio, so it needs Node.js 20 and Java 17 (a JRE is enough). A pure Java route runs the release JAR directly. Spring Boot fat-jars work too.
A Claude Code and Codex plugin bundles a jar-analysis skill that tells the agent when to prefer these tools over jar tf, unzip or javap. Setup snippets are given for many clients, including Cursor, VS Code, Gemini CLI and JetBrains.
Install
Run in a terminal
claude mcp add dejared -- npx -y dejared-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"dejared": {
"command": "npx",
"args": [
"-y",
"dejared-mcp"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"dejared": {
"command": "npx",
"args": [
"-y",
"dejared-mcp"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"dejared": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"dejared-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"dejared": {
"command": "npx",
"args": [
"-y",
"dejared-mcp"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"dejared": {
"command": "npx",
"args": [
"-y",
"dejared-mcp"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
Tools this server provides (4)
Taken from the project documentation; the running server may differ.
- dejared_list_packages
- List all packages with class counts
- dejared_list_classes
- List classes in a specific package
- dejared_list_resources
- List non-class resource files
- dejared_read_resource
- Read text resources such as YAML, XML, properties and JSON
What it does
- Package and class listing
- Lists packages with class counts and classes within a package.
- Resource reading
- Reads YAML, XML, properties and JSON files embedded in an archive.
- Bytecode search
- Searches inside JARs for classes and string literals.
- Three decompilers
- Decompiles with CFR, Vineflower or Procyon.
- Skill bundle
- Optional plugin skill routes JAR questions to the right tool.
- Java-only option
- Run the release JAR directly without Node.js.
Good for
- Read what a closed-source library does
- Recover config files from inside a JAR
- Trace a stack trace into a dependency
- Inspect an obfuscated plugin or mod
Pricing
Open source
Open source on GitHub and npm
Dejared FAQ
What do I need installed?
Node.js 20 or later and Java 17 or later; a JRE is sufficient.
Which archives work?
Any ZIP-based Java archive: JAR, WAR, EAR, AAR and Spring Boot fat-jars.
Can I point it at a particular Java?
Yes, set DEJARED_JAVA_PATH.
Which clients are supported?
Claude Code, Codex, Cursor, VS Code, Gemini CLI, JetBrains and others with a standard MCP config.
Is Dejared free?
Yes. Dejared is open source, so you can use and self-host it for free.
How do I add Dejared to Claude Code?
Run this command in your terminal: claude mcp add dejared -- npx -y dejared-mcp
What are the best alternatives to Dejared?
The closest alternatives to Dejared are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


