MCP Catalogs
Homemaven-decoder-mcp screenshot

maven-decoder-mcp

by salitaba·18·Score 45

An MCP server for analyzing Maven jar files, extracting source code, and resolving dependencies in Java projects.

developer-toolsai-llmfile-system
3
Forks
1
Open issues
this month
Last commit
2d ago
Indexed

Overview

The maven-decoder-mcp server provides comprehensive tools for Java AI coding agents to inspect, search, and decompile Maven .m2 JARs. It offers deep inspection capabilities including metadata extraction, dependency tree analysis, source code extraction, and class information retrieval. The server supports multiple Java decompilers and provides intelligent pagination and summarization for large responses.

Try asking AI

After installing, here are 6 things you can ask your AI assistant:

you:AI agents analyzing Java dependencies in Maven projects
you:Decompiling compiled classes when source jars are unavailable
you:Finding and resolving Maven dependency conflicts
you:Extracting source code from specific Java classes or methods
you:What decompilers are supported?
you:How do I handle large responses?

When to choose this

Choose this MCP server when working with Java projects and need AI agents to understand, search, and analyze Maven dependencies and their source code.

When NOT to choose this

Not suitable for non-Java projects or when you need to analyze dependencies in remote repositories (only works with local ~/.m2 repository).

Tools this server exposes

12 tools extracted from the README
  • list_artifacts

    List artifacts in Maven repository with filtering

  • analyze_jar

    Analyze jar file structure and contents

  • extract_class_info

    Get detailed information about Java classes

  • get_dependencies

    Retrieve Maven dependencies from POM files

  • search_classes

    Search for classes across all jars

  • extract_source_code

    Decompile and extract Java source code

  • extract_jar_resource

    Extract text resources such as .proto files, services, and metadata

  • compare_versions

    Compare different versions of artifacts

  • get_dependency_tree

    Get complete dependency tree

  • find_dependents

    Find artifacts that depend on a specific artifact

  • get_version_info

    Get all available versions of an artifact

  • extract_method_info

    Extract specific method information from Java classes

Comparable tools

java-assistant-mcpmaven-explorerjdepend-mcp

Installation

Installation

One-Line Install (Recommended)
curl -fsSL https://raw.githubusercontent.com/salitaba/maven-decoder-mcp/main/install.sh | bash
Using uvx
# Install uv (if not installed)
curl -Ls https://astral.sh/uv/install.sh | sh
# Ensure your shell PATH is updated

# Run the server via uvx
uvx maven-decoder-mcp
Using npm
npm install -g maven-decoder-mcp
maven-decoder-mcp
Docker
docker run --rm -it \
  -v ~/.m2:/home/mcpuser/.m2 \
  -v $(pwd):/workspace \
  ali79taba/maven-decoder-mcp:latest
Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "maven-decoder": {
      "command": "uvx",
      "args": ["maven-decoder-mcp"]
    }
  }
}

FAQ

What decompilers are supported?
The server supports CFR, Fernflower, Procyon, and javap for analyzing bytecode when source jars are unavailable.
How do I handle large responses?
The server automatically implements pagination for responses exceeding 50KB and provides summarization for large text content.

Compare maven-decoder-mcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.