Maven Decoder
Lets AI agents read the real source of any Maven dependency, decompiled from ~/.m2 or…
- Pricing
- Open source
- Runs
- Locally
- Version
- 1.3.2
- Listing updated
- 6 days ago
About Maven Decoder
Maven Decoder is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Lets AI agents read the real source of any Maven dependency, decompiled from ~/.m2 or Central.
Install
Run in a terminal
claude mcp add maven-decoder-mcp --env MAVEN_REMOTE_PASSWORD='<MAVEN_REMOTE_PASSWORD>' -- npx -y maven-decoder-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"maven-decoder-mcp": {
"command": "npx",
"args": [
"-y",
"maven-decoder-mcp"
],
"env": {
"MAVEN_REMOTE_PASSWORD": "<MAVEN_REMOTE_PASSWORD>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"maven-decoder-mcp": {
"command": "npx",
"args": [
"-y",
"maven-decoder-mcp"
],
"env": {
"MAVEN_REMOTE_PASSWORD": "<MAVEN_REMOTE_PASSWORD>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"maven-decoder-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"maven-decoder-mcp"
],
"env": {
"MAVEN_REMOTE_PASSWORD": "<MAVEN_REMOTE_PASSWORD>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"maven-decoder-mcp": {
"command": "npx",
"args": [
"-y",
"maven-decoder-mcp"
],
"env": {
"MAVEN_REMOTE_PASSWORD": "<MAVEN_REMOTE_PASSWORD>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"maven-decoder-mcp": {
"command": "npx",
"args": [
"-y",
"maven-decoder-mcp"
],
"env": {
"MAVEN_REMOTE_PASSWORD": "<MAVEN_REMOTE_PASSWORD>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
MAVEN_REPOSITORYPath to the local Maven repository. Defaults to ~/.m2/repository.MAVEN_REMOTE_REPOSComma or whitespace separated list of remote Maven repository base URLs.MAVEN_REMOTE_USERNAMEUsername for authenticating against private remote Maven repositories.MAVEN_REMOTE_PASSWORDPassword or token for authenticating against private remote Maven repositories.MAVEN_OFFLINESet to true to disable all network access and use only the local repository.MAVEN_AUTO_DOWNLOADWhether to automatically download missing artifacts from remote repositories. Defaults to true.MAVEN_DECODER_CACHE_DIROverride directory used for decompilation and metadata caches.MAVEN_REPOSITORYPath to the local Maven repository. Defaults to ~/.m2/repository.MAVEN_REMOTE_REPOSComma or whitespace separated list of remote Maven repository base URLs.MAVEN_REMOTE_USERNAMEUsername for authenticating against private remote Maven repositories.MAVEN_REMOTE_PASSWORDPassword or token for authenticating against private remote Maven repositories.MAVEN_OFFLINESet to true to disable all network access and use only the local repository.MAVEN_AUTO_DOWNLOADWhether to automatically download missing artifacts from remote repositories. Defaults to true.MAVEN_DECODER_CACHE_DIROverride directory used for decompilation and metadata caches.
Pricing
Open source
Maven Decoder FAQ
Is Maven Decoder free?
Yes. Maven Decoder is open source, so you can use and self-host it for free.
How do I add Maven Decoder to Claude Code?
Run this command in your terminal: claude mcp add maven-decoder-mcp --env MAVEN_REMOTE_PASSWORD='<MAVEN_REMOTE_PASSWORD>' -- npx -y maven-decoder-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.