jar.tools
Decompile Java .class and .jar files to source. Free, no sign-in.
Should I use this
Quality & Safety
Findings (1)
- LOWin get_upload_url
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"mcp": {
"url": "https://jar.tools/mcp"
}
}
}Remote endpoints
https://jar.tools/mcpstreamable-httpWhat it can do
Tool inventory
Tools (4)
🟡get_upload_url
Returns an upload_id and a one-day upload link for a .jar, .war or .class file, plus the exact curl command that uploads it. Run the command and wait for its {"ok":true} reply before calling list_classes or decompile_class.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢list_classes(upload_id, filter, offset)
Lists the .class entries in an uploaded .jar/.war. Use filter to search by package or class name.
Input Schema
{
"type": "object",
"properties": {
"upload_id": {
"type": "string",
"description": "upload_id of an uploaded file"
},
"filter": {
"description": "Only entries containing this text, e.g. a package name",
"type": "string"
},
"offset": {
"description": "Skip this many entries (paging)",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"upload_id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢decompile_class(upload_id, class_path, class_base64, file_name)
Decompiles one class to Java source. Give upload_id (+ class_path for a class inside a JAR), or class_base64 for a small .class file.
Input Schema
{
"type": "object",
"properties": {
"upload_id": {
"description": "upload_id of an uploaded file",
"type": "string"
},
"class_path": {
"description": "Class inside the JAR, e.g. com/example/Main.class or com.example.Main",
"type": "string"
},
"class_base64": {
"description": "A .class file, base64-encoded (instead of upload_id)",
"type": "string"
},
"file_name": {
"description": "Name for class_base64, e.g. Main.class",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢account_status
Shows the plan this connection is on and how many class decompiles are left this hour.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}Community
Evidence