Provides tools for managing and checking versions of Maven dependencies from Maven Central, supporting the Apache Maven ecosystem through direct parsing of maven-metadata.xml files.
Enables checking, listing, and comparing versions of Spring Framework dependencies to assist with version management and identifying stable upgrade paths.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Maven Version ServerWhat's the latest stable version of com.google.guava:guava?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Maven Version Server
MCP server for Maven dependency version management using ONLY maven-metadata.xml from Maven Central (NO Solr search API).
Features
4 Tools for Maven dependency management
Strict stability filtering - excludes SNAPSHOT, alpha, beta, RC, milestones, etc.
Pure metadata approach - uses only maven-metadata.xml
Fast and reliable - direct XML parsing, no search API dependencies
Tools
1. get_latest_stable_version
Get the latest stable version for a Maven dependency.
Input:
Output: Plain text version string (e.g., 1.14.7)
2. get_all_versions
List all versions with optional filtering and limits.
Input:
Output: Newline-separated version list
3. check_version_exists
Verify if a specific version exists and check its stability.
Input:
Output: JSON object with exists, isStable fields
4. compare_versions
Compare two versions and get upgrade recommendations.
Input:
Output: JSON object with upgrade type and recommendation
Stability Filter
Excludes versions containing (case-insensitive):
SNAPSHOT- Development snapshotsalpha/a- Alpha releasesbeta/b- Beta releasesRC- Release candidatesM+ digit - MilestonesCR- Candidate releasesEA- Early accesspreview- Preview releasesdev- Development versionsincubating- Apache incubator
Installation
Via npm (Recommended)
Or use with npx (no installation needed):
Configure for Claude Code CLI
Add to ~/.claude/mcp_servers.json:
Or if installed globally:
Build from source
Usage Examples
Example 1: Get latest stable version
Example 2: Compare versions
Example 3: List recent versions
Testing
Test with MCP Inspector
Manual test
Technical Details
Language: TypeScript (strict mode)
Data Source: https://repo1.maven.org/maven2/{groupPath}/{artifactId}/maven-metadata.xml
Transport: STDIO (Claude Code CLI)
Timeout: 10 seconds
Dependencies: @modelcontextprotocol/sdk, axios, xml2js
License
MIT