maven-mcp
v1.0.3
Published
MCP server for Maven Central library version lookup
Downloads
17
Maintainers
Readme
Maven MCP Server
MCP server for Maven Central - search artifacts, check versions, and analyze dependencies.
Installation
Add to your MCP settings (~/.cursor/mcp.json or ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"maven-mcp": {
"command": "npx",
"args": ["-y", "maven-mcp"]
}
}
}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.jsLicense
MIT - see LICENSE
