maven-indexer-mcp MCP Server

An MCP server and CLI that indexes your local Maven repository (~/.m2/repository) and Gradle cache (~/.gradle/caches/modules-2/files-2.1) to provide AI agents with tools to search for Java classes, method signatures…

Local serverstdio

What is the maven-indexer-mcp Server?

maven-indexer-mcp source profile. From the maintainer documentation: “An MCP server and CLI that indexes your local Maven repository (/.m2/repository) and Gradle cache (/.gradle/caches/modules-2/files-2.1) to provide AI agents with tools to search for Java classes, method signatures, and source code — even for internal company packages and non-well-known public libraries.”

Installation

The documented npm package is maven-indexer-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the maven-indexer-mcp Server

{
  "mcpServers": {
    "maven-indexer": {
      "command": "npx",
      "args": [
        "-y",
        "maven-indexer-mcp@latest"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.