Home › Other › Maven Decoder

Maven Decoder

Lets AI agents read the real source of any Maven dependency, decompiled from ~/.m2 or Central.

Python
★ 20 stars Last pushed 2026-09-16 License: MIT

Connect

Review any command before running it. Package names and URLs come from the server's own registry entry.

Package (npm 1.3.2)

npx -y maven-decoder-mcp@1.3.2

Or add to your MCP client config:

{
  "mcpServers": {
    "maven-decoder-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "maven-decoder-mcp@1.3.2"
      ],
      "env": {
        "MAVEN_REPOSITORY": "<YOUR_VALUE>",
        "MAVEN_REMOTE_REPOS": "<YOUR_VALUE>",
        "MAVEN_REMOTE_USERNAME": "<YOUR_VALUE>",
        "MAVEN_REMOTE_PASSWORD": "<YOUR_VALUE>",
        "MAVEN_OFFLINE": "<YOUR_VALUE>",
        "MAVEN_AUTO_DOWNLOAD": "<YOUR_VALUE>",
        "MAVEN_DECODER_CACHE_DIR": "<YOUR_VALUE>"
      }
    }
  }
}
  • MAVEN_REPOSITORY — Path to the local Maven repository. Defaults to ~/.m2/repository.
  • MAVEN_REMOTE_REPOS — Comma or whitespace separated list of remote Maven repository base URLs.
  • MAVEN_REMOTE_USERNAME — Username for authenticating against private remote Maven repositories.
  • MAVEN_REMOTE_PASSWORD secret — Password or token for authenticating against private remote Maven repositories.
  • MAVEN_OFFLINE — Set to true to disable all network access and use only the local repository.
  • MAVEN_AUTO_DOWNLOAD — Whether to automatically download missing artifacts from remote repositories. Defaults to true.
  • MAVEN_DECODER_CACHE_DIR — Override directory used for decompilation and metadata caches.

Package (pypi 1.3.2)

uvx maven-decoder-mcp

Or add to your MCP client config:

{
  "mcpServers": {
    "maven-decoder-mcp": {
      "command": "uvx",
      "args": [
        "maven-decoder-mcp"
      ],
      "env": {
        "MAVEN_REPOSITORY": "<YOUR_VALUE>",
        "MAVEN_REMOTE_REPOS": "<YOUR_VALUE>",
        "MAVEN_REMOTE_USERNAME": "<YOUR_VALUE>",
        "MAVEN_REMOTE_PASSWORD": "<YOUR_VALUE>",
        "MAVEN_OFFLINE": "<YOUR_VALUE>",
        "MAVEN_AUTO_DOWNLOAD": "<YOUR_VALUE>",
        "MAVEN_DECODER_CACHE_DIR": "<YOUR_VALUE>"
      }
    }
  }
}
  • MAVEN_REPOSITORY — Path to the local Maven repository. Defaults to ~/.m2/repository.
  • MAVEN_REMOTE_REPOS — Comma or whitespace separated list of remote Maven repository base URLs.
  • MAVEN_REMOTE_USERNAME — Username for authenticating against private remote Maven repositories.
  • MAVEN_REMOTE_PASSWORD secret — Password or token for authenticating against private remote Maven repositories.
  • MAVEN_OFFLINE — Set to true to disable all network access and use only the local repository.
  • MAVEN_AUTO_DOWNLOAD — Whether to automatically download missing artifacts from remote repositories. Defaults to true.
  • MAVEN_DECODER_CACHE_DIR — Override directory used for decompilation and metadata caches.

Related servers

Data from the Official MCP Registry