maven-tools-mcp MCP Server
JVM dependency intelligence for AI assistants via Maven Central
maven-tools-mcp scores 35 (Limited), licensed MIT and written in Java. It installs as a local process. It declares 12 tools. Filed under Knowledge. GitHub shows 37 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Limited trust
35 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: mit.
License, quality and maintenance
Where the 35 comes from
0 + 6 + 5 + 10 + 7 + 7 = 35. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 6 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 5 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 7 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "arvindand-maven-tools-mcp": { "command": "docker", "args": [ "run", "-i", "--rm", "docker.io/arvindand/maven-tools-mcp:latest" ] } }}
Environment variables
This server does not declare environment variables.
Tools12Tool docs quality grade C
All capabilitiesClassify how old a dependency is
Resolve declared dependency versions, identify their source, and surface BOM conflicts
Run a broader dependency health audit
Look at release cadence and maintenance signals
Bulk lookup for dependency coordinates
Verify a specific version and classify its stability
Compare current versions against available upgrades
Find the latest version with stability-aware selection
query_docstoolFetch docs by Context7 library ID
Produce actionable POM upgrade recommendations and flag changes needing review
Find a documentation library identifier
Find known vulnerabilities in the transitive dependencies of your direct dependencies, with the path that pulls each one in
About
Maven Tools MCP Server
Maven Tools MCP Server gives MCP-capable clients a practical way to inspect JVM dependencies using live Maven Central data.
It is built for developers and agents that need more than a plain version lookup: stability filtering, upgrade comparisons, dependency health signals, license data, CVE checks on declared and transitive dependencies, and optional documentation lookups through Context7.

What It Helps With
- Version checks: find stable releases and compare upgrades with major/minor/patch context.
- Dependency audits: inspect age, release cadence, known vulnerabilities, license data, and relocated artifacts for the versions you run.
- Transitive exposure: find known vulnerabilities in transitive dependencies, with the path from the direct dependency that pulls each one in.
- POM analysis: resolve declared dependency versions through parents and BOMs without building the project.
- Upgrade planning: get structured edits an agent can validate and apply for dependencies, BOMs and plugins, with vulnerabilities, major upgrades, conflicts, version pins, and overrides flagged for review.
- Documentation: look up library docs through the optional Context7 tools.
Coordinate-based tools work with Maven, Gradle, SBT, and Mill projects. The POM analysis and upgrade-planning tools take Maven pom.xml files.
Quick Start
Prerequisite: Docker installed and running. No local Java installation is required. For a Docker-free setup, see building and running the JAR.
Claude Desktop
Add the maven-tools entry to your Claude Desktop config (see config file locations):
{
"mcpServers": {
"maven-tools": {
"command": "docker",
"args": ["run", "-i", "--rm", "arvindand/maven-tools-mcp:latest"]
}
}
}
VS Code + GitHub Copilot
Add the following server to .vscode/mcp.json in your workspace:
{
"servers": {
"maven-tools": {
"type": "stdio",
"command": "docker",
"args": ["run", "-i", "--rm", "arvindand/maven-tools-mcp:latest"]
}
}
}
Image Variants
| Tag | Transport | Context7 | Best For |
|---|---|---|---|
:latest | STDIO | Yes | Default desktop MCP usage |
:latest-noc7 | STDIO | No | Networks where Context7 is blocked or not wanted |
:latest-http | HTTP | Yes | Streamable HTTP clients and sidecar workflows |
The current release is v3.3.1. For version-pinned setups, use :3.3.1, :3.3.1-noc7 or :3.3.1-http; each supports Linux AMD64 and ARM64.
CONTEXT7_API_KEY is optional. Most setups can start without it. If your environment requires Context7 auth, or you want to avoid anonymous limits, pass it through Docker with -e CONTEXT7_API_KEY.
For fuller setup guidance, including JAR and native-container usage, Docker Compose, and environment notes, see docs/setup.md.
Available Tools
The default image exposes 12 MCP tools; -noc7 exposes the 10 core tools.
Maven intelligence tools
| Tool | What It Does |
|---|---|
get_latest_version | Find the latest version with stability-aware selection |
check_version_exists | Verify a specific version and classify its stability |
check_multiple_dependencies | Bulk lookup for dependency coordinates |
compare_dependency_versions | Compare current versions against available upgrades |
analyze_dependency_age | Classify how old a dependency is |
analyze_release_patterns | Look at release cadence and maintenance signals |
analyze_project_health | Run a broader dependency health audit |
analyze_pom_dependencies | Resolve declared dependency versions, identify their source, and surface BOM conflicts |
recommend_pom_upgrades | Produce actionable POM upgrade recommendations and flag changes needing review |
scan_transitive_vulnerabilities | Find known vulnerabilities in the transitive dependencies of your direct dependencies, with the path that pulls each one in |
Context7 documentation tools
| Tool | What It Does |
|---|---|
resolve_library_id | Find a documentation library identifier |
query_docs | Fetch docs by Context7 library ID |
For parameters, examples, and tool-by-tool notes, see docs/tools.md.
POM-aware dependency analysis
Both POM tools use Apache Maven Model Builder for parent inheritance, properties, and dependency management, including imported BOMs. They accept raw POM XML and an optional sideloadedPoms bundle for unreleased parents or sibling modules.
analyze_pom_dependenciesreturns effective versions, classifies declarations asEXPLICIT,MANAGED, orEXPLICIT_OVERRIDE, and identifies managing BOMs and conflicts.recommend_pom_upgradesreturnsdeterministicActionsfor mechanical edits andneedsAttentionfor major upgrades, BOM conflicts, and explicit overrides. Actions identify the version field or property to edit in the input POM.
Recommendations cover editable parent/BOM versions, explicit dependencies, root dependency-management entries, and direct build/plugin dependencies. Declarations without an unambiguous edit location in the input POM are skipped. The server returns recommendations; the client or agent validates and applies them.
The POM tools analyze declared dependencies, not the full transitive dependency graph; use scan_transitive_vulnerabilities for transitive CVE exposure (graphs come from deps.dev, so confirm findings with mvn dependency:tree). Profile activation is limited to active-by-default profiles. See POM analysis details and limits.
Example
A common prompt in Copilot or Claude is:
Check all latest versions of the dependencies in my
pom.xmland call out anything risky.
The client can combine tool results to report:
- current version vs latest version
- whether the upgrade is major, minor, or patch
- whether the newest release is stable
- whether the dependency looks fresh, aging, or stale
- whether there are known CVEs or license concerns worth noticing
For broader questions like "which library should I choose?", combine Maven metadata with Context7 documentation and client-side web search for ecosystem context.
See more prompt examples or the maven-tools agent skill for guidance on choosing and combining tools.
Dogfooding
This repository uses its own tools in a weekly dependency-update workflow. A Python agent sends the POM to recommend_pom_upgrades, validates and applies minor/patch actions, and opens a PR for review. Its XML editor checks current versions and preserves formatting. Manual major-upgrade reviews use the GitHub Copilot SDK; routine updates do not require an LLM.
See the dogfooding guide for the agent, GitHub Actions workflow, credentials, and manual triggers.
FAQ
- Does this replace Renovate or Dependabot? The server provides dependency analysis and upgrade recommendations. File edits, testing, scheduling, and PR creation require a separate agent or workflow. The included agent demonstrates this for Maven POM updates.
- Does it work offline? Not fully. Uncached metadata queries need access to Maven Central or your configured repository. Vulnerability checks, transitive dependency graphs, and Context7 documentation also use external services.
- Does it parse Gradle, SBT, or Mill build files? No. Use their dependencies' Maven coordinates with the coordinate-based tools; whole-file analysis accepts Maven POM XML.
For a few more usage notes, see the FAQ section in docs/examples.md.
Acknowledgements
The effective POM resolver under com.arvindand.mcp.maven.pom follows the resolution
shape of maxxq-org/maxxq-maven (MIT,
Guy Chauliac), scoped here to declared-dep resolution. See NOTICE.
More Docs
docs/setup.md- installation, client configuration, image variants, build-from-source optionsdocs/tools.md- full tool catalog, parameters, and response behaviordocs/examples.md- practical prompts, advanced use cases, reusable commands, and FAQ notesdocs/dogfooding.md- weekly self-update workflow and agent integrationdocs/troubleshooting.md- common environment issues and fixesdocs/architecture.md- design principles, transport/runtime options, and technical notesCORPORATE-CERTIFICATES.md- custom CA certificate support for locked-down networks
Further Reading
- How I Connected Claude to Maven Central (and Why You Should Too)
- Guided Delegation: Adding Context7 Documentation to My Maven Tools MCP Server
Contributing
If you want to build or test locally, start with docs/setup.md and the helper scripts in build/.
Check out v3.3.1 to build this release from source; main may contain unreleased changes.
Project history and release notes live in CHANGELOG.md.
License
This project is licensed under the MIT License. See LICENSE.
Author
Arvind Menon
- GitHub: @arvindand
Frequently asked questions
What is maven-tools-mcp MCP Server?
JVM dependency intelligence for AI assistants via Maven Central
How do I install maven-tools-mcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. maven-tools-mcp MCP Server runs locally from the Docker image docker.io/arvindand/maven-tools-mcp:latest with the command docker run -i --rm docker.io/arvindand/maven-tools-mcp:latest.
Is maven-tools-mcp MCP Server free and open source?
Yes. maven-tools-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does maven-tools-mcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for maven-tools-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does maven-tools-mcp MCP Server provide?
maven-tools-mcp MCP Server provides 12 tools, including analyze_dependency_age, analyze_pom_dependencies, analyze_project_health, and analyze_release_patterns. See the full tool list for descriptions and parameters.
How is maven-tools-mcp MCP Server's trust score calculated?
maven-tools-mcp MCP Server scores 35 out of 100 (Limited). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.