maven-mcp
Click on "Deploy 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-mcp get latest version of org.springframework.boot:spring-boot-starter"
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 MCP Server
MCP server for Maven Central - search artifacts, check versions, and analyze dependencies.
Installation
Prerequisites
You need to authenticate with GitHub Packages. See SETUP.md for detailed instructions.
Quick Setup
Add to your MCP settings (~/.cursor/mcp.json or ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"maven-mcp": {
"command": "npx",
"args": ["-y", "@awin/maven-mcp"]
}
}
}Note: Make sure you have configured GitHub Packages authentication before running this command.
Related MCP server: mvn-mcp-server
Tools
getLibraryVersions
Get all available versions for a Maven artifact.
{ "groupId": "org.springframework.boot", "artifactId": "spring-boot-starter" }getLatestVersion
Get only the latest version.
{ "groupId": "org.springframework.boot", "artifactId": "spring-boot-starter" }searchArtifacts
Search Maven artifacts by keyword.
{ "query": "spring-boot", "limit": 5 }getDependencies
Get dependencies for a specific version.
{ "groupId": "org.springframework.boot", "artifactId": "spring-boot-starter", "version": "3.3.0" }compareVersions
Compare dependencies between versions.
{ "groupId": "org.springframework.boot", "artifactId": "spring-boot-starter", "fromVersion": "3.2.0", "toVersion": "3.3.0" }Features
Real-time data from Maven Central (no indexing delays)
Direct queries to maven-metadata.xml
Search, version lookup, and dependency analysis
Development
npm install
npm run build
node dist/index.jsPublishing
This package is automatically published to GitHub Packages when a new release is created. To publish manually:
npm run build
npm publishMake sure you have the proper permissions in the @awin organization.
License
MIT - see LICENSE
Available Tools
5 toolscompareVersionsA
Compare dependencies between two versions
Inputs: groupId (required), toVersion (required), artifactId (required), fromVersion (required).
getDependenciesC
Get dependencies for a specific artifact version
Inputs: groupId (required), version (required), artifactId (required).
getLatestVersionC
Get only the latest version of an artifact
Inputs: groupId (required), artifactId (required).
getLibraryVersionsB
Get all available versions for a Maven library
Inputs: groupId (required), artifactId (required).
searchArtifactsC
Search for Maven artifacts by keyword
Inputs: query (required), limit, fetchRealLatest.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clear, distinct purpose: search for artifacts, get latest version, get all versions, get dependencies for a specific version, and compare dependencies between two versions. There is no overlap or ambiguity.
All tool names follow a consistent verb_noun pattern in camelCase (e.g., searchArtifacts, getLatestVersion). The naming is predictable and uniform across the set.
With 5 tools, the server is well-scoped for Maven artifact operations. It covers essential tasks without being too sparse or bloated, making it easy for an agent to navigate.
The tool set covers core Maven artifact workflows: search, version listing, dependency retrieval, and version comparison. Missing are artifact metadata details (e.g., description, licenses) and transitive dependency analysis, but the surface is mostly complete for common use cases.
Maintenance
Related MCP Connectors
Code intelligence for LLMs. Analyze, search, and retrieve code from any public git repository.
Ask any GitHub repository a question. Get source-backed answers.
Search, read and save your team's AI-generated work in Artifactry: code, documents and diagrams.
Real-time package and vulnerability data (Python, npm, Cargo, Go, and more) for AI coding agents.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to fetch comprehensive information about Maven packages from Maven Central, including README content, package metadata, dependencies, and search functionality with GitHub integration.8 npmMIT
- AlicenseBqualityDmaintenanceMaven MCP Server enables AI assistants to manage Maven dependencies through natural language, including version checking, security scanning, and dependency analysis.5MIT
- AlicenseAqualityDmaintenanceEnables AI to analyze Java classes from Maven project dependencies, with support for decompilation strategies and configurable groupId mappings.38 npm5MIT
- AlicenseBqualityDmaintenanceProvides Maven artifact version resolution with caching, logging, and pre-release filtering for Maven Central.1Apache 2.0