Maven Check MCP Server

Maven Check MCP Server

maven-mcp-server-danielscholl•bydanielscholl

A lightweight MCP server that lets LLMs query Maven Central for artifact versions, including the latest version of a dependency and whether a specific version exists.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Provides a get_maven_latest_version tool that returns the latest version of a Maven dependency as a string.
  • •Provides a check_maven_version_exists tool that returns a boolean for whether a specified dependency version exists.
  • •Supports semantic-versioning component lookups, returning latest major, minor, or patch versions, plus a tool returning all three in one call.
  • •Offers batch processing that checks latest versions for multiple Maven dependencies in one request.

BEST FOR

  • •Determining the latest available version of a Maven dependency such as commons-lang3 before upgrading.
  • •Checking whether a particular version of a Maven artifact exists.
  • •Reviewing upgrade options across many dependencies at once, including BOM and POM artifacts.

ABOUT MAVEN-MCP-SERVER-DANIELSCHOLL

Maven Check MCP Server is cataloged as an MCP server attributed to danielscholl. A lightweight MCP server that lets LLMs query Maven Central for artifact versions, including the latest version of a dependency and whether a specific version exists. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Maven Check MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How are BOM and dependencies artifacts handled?

Artifacts whose names end with -bom or -dependencies are automatically detected and queried using pom packaging.

What data source does the server query?

The server queries the Maven Central Repository Search API.

Does the server support classifiers and packaging types?

Yes, tools accept optional packaging and classifier parameters, with jar as the default packaging.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 75a27f7489a4 · 采集于 2026-11-13 13:34:42 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Maven Check MCP Server

A lightweight MCP server that lets Large Language Models query Maven Central for artifact versions. This server allows Claude and other LLMs to find the latest version of a Maven dependency and check if a specific version exists.

Features

  • Find the latest version of any Maven dependency (library)
  • Check if a specific version of a dependency exists
  • Support for packaging types (jar, war, pom, etc.)
  • Automatic detection of POM dependencies (artifacts with -bom or -dependencies suffix)
  • Support for classifiers
  • Proper semantic versioning comparisons
  • Batch processing for multiple dependencies in a single request
  • Connection via Model Context Protocol (MCP)

Installation

# Clone the repository
git clone https://github.com/danielscholl/maven-mcp-server.git
cd maven-mcp-server

# Install dependencies and the package
uv sync && uv pip install -e .

MCP Server Configuration

To use this MCP server with your projects, add the following to your .mcp.json:

{
  "mcpServers": {
    "maven-check": {
      "type": "stdio",
      "command": "uv",
      "args": ["run", "maven-check"],
      "env": {}
    }
  }
}

Install with UVX in VS Code

Usage

Start the server:

uv run maven-check

For debug logging:

uv run maven-check --debug

Tools

This MCP server provides five tools:

1. get_maven_latest_version

Gets the latest version of a Maven dependency.

Parameters:

  • dependency (required): The dependency in the format 'groupId:artifactId'
  • packaging (optional): The packaging type, defaults to 'jar' (automatically uses 'pom' for dependencies with -bom or -dependencies suffix)
  • classifier (optional): The classifier, if any

Examples:

{
  "dependency": "org.apache.commons:commons-lang3"
}
{
  "dependency": "org.springframework.boot:spring-boot-dependencies"
}

Returns: The latest version as a string (e.g., "3.14.0")

2. check_maven_version_exists

Checks if a specific version of a Maven dependency exists.

Parameters:

  • dependency (required): The dependency in the format 'groupId:artifactId'
  • version (required): The version to check
  • packaging (optional): The packaging type, defaults to 'jar' (automatically uses 'pom' for dependencies with -bom or -dependencies suffix)
  • classifier (optional): The classifier, if any

Examples:

{
  "dependency": "org.apache.commons:commons-lang3",
  "version": "3.14.0"
}
{
  "dependency": "org.springframework.boot:spring-boot-dependencies",
  "version": "3.2.0"
}

Returns: A boolean indicating whether the version exists ("true" or "false")

3. find_maven_latest_component_version

Gets the latest version of a Maven dependency based on semantic versioning component (major, minor, or patch).

Parameters:

  • dependency (required): The dependency in the format 'groupId:artifactId'
  • version (required): The version in semantic version format (MAJOR.MINOR.PATCH)
  • target_component (required): The component to find the latest version for, one of: "major", "minor", "patch"
  • packaging (optional): The packaging type, defaults to 'jar' (automatically uses 'pom' for dependencies with -bom or -dependencies suffix)
  • classifier (optional): The classifier, if any

Examples:

{
  "dependency": "org.apache.commons:commons-lang3",
  "version": "3.12.0",
  "target_component": "minor"
}
{
  "dependency": "org.springframework.boot:spring-boot-dependencies",
  "version": "3.1.0",
  "target_component": "minor"
}

Returns: The latest version as a string (e.g., "3.14.0")

Behavior by Target Component

  • major: Returns the highest available major version (across all versions)
  • minor: Returns the highest minor version within the given major version
  • patch: Returns the highest patch version within the given major.minor version

4. get_maven_all_latest_versions

Gets the latest versions for all semantic versioning components (major, minor, patch) in a single call.

Parameters:

  • dependency (required): The dependency in the format 'groupId:artifactId'
  • version (required): The version in semantic version format (MAJOR.MINOR.PATCH)
  • packaging (optional): The packaging type, defaults to 'jar' (automatically uses 'pom' for dependencies with -bom or -dependencies suffix)
  • classifier (optional): The classifier, if any

Examples:

{
  "dependency": "org.apache.commons:commons-lang3",
  "version": "3.12.0"
}
{
  "dependency": "org.springframework.boot:spring-boot-dependencies",
  "version": "3.1.0"
}

Returns: A JSON object containing the latest versions for each component:

{
  "latest_major_version": "3.14.0",
  "latest_minor_version": "3.12.0",
  "latest_patch_version": "3.12.0"
}

5. batch_maven_versions_check

Checks the latest versions for multiple Maven dependencies in a single batch request, reducing the number of API calls when working with projects containing many dependencies.

Parameters:

  • dependencies (required): List of dependency objects to check, each containing:
    • dependency (required): The dependency in the format 'groupId:artifactId'
    • version (required): The version in any supported format
    • packaging (optional): The packaging type, defaults to 'jar' (automatically uses 'pom' for dependencies with -bom or -dependencies suffix)
    • classifier (optional): The classifier, if any

Example:

{
  "dependencies": [
    {
      "dependency": "org.apache.commons:commons-lang3",
      "version": "3.12.0" 
    },
    {
      "dependency": "org.springframework.boot:spring-boot-dependencies", 
      "version": "3.1.0"
    },
    {
      "dependency": "org.json:json",
      "version": "20231013"
    }
  ]
}

Returns: A JSON object containing a summary and results for each dependency:

{
  "summary": {
    "total": 3,
    "success": 3,
    "failed": 0
  },
  "dependencies": [
    {
      "dependency": "org.apache.commons:commons-lang3",
      "status": "success",
      "versions": {
        "latest_major_version": "3.14.0",
        "latest_minor_version": "3.12.0",
        "latest_patch_version": "3.12.0"
      }
    },
    {
      "dependency": "org.springframework.boot:spring-boot-dependencies",
      "status": "success",
      "versions": {
        "latest_major_version": "3.2.0",
        "latest_minor_version": "3.1.5",
        "latest_patch_version": "3.1.0"
      }
    },
    {
      "dependency": "org.json:json",
      "status": "success",
      "versions": {
        "latest_major_version": "20240303",
        "latest_minor_version": "20240303",
        "latest_patch_version": "20240303"
      }
    }
  ]
}

How It Works

The server works by:

  1. Querying the Maven Central Repository Search API
  2. Parsing and validating dependency formats
  3. Automatically detecting POM dependencies:
    • Identifies artifacts with "-bom" or "-dependencies" suffix
    • Uses "pom" packaging type for these artifacts
  4. For latest version queries:
    • Fetches all versions of the artifact
    • Sorts them using proper semantic versioning rules
    • Returns the most recent version
  5. For version existence checks:
    • Directly queries Maven Central for the specific version
    • Returns whether it exists
  6. For batch version checks:
    • Processes multiple dependency requests in a single call
    • Returns detailed results for each dependency with success/error status
    • Provides a summary with counts of successful and failed requests

Development

Testing

Run all tests:

uv run pytest

Using with Claude

Once the server is set up and Claude Code is connected, you can use the tools like this:

  1. Get the latest version of a Maven dependency:

    What is the latest version of org.springframework:spring-framework-bom 
    
  2. Check if a specific version exists:

    Does version 3.14.0 of org.apache.commons:commons-lang3 exist?
    
  3. Get latest patch version:

    I'm using version 2.0.2 of org.springdoc:springdoc-openapi-starter-webmvc-ui what is the latest patch?
    
  4. Working with BOM and POM dependencies:

    What is the latest version of org.springframework.boot:spring-boot-dependencies?
    

    The server automatically detects dependencies with "-dependencies" or "-bom" suffix and uses POM packaging type.

  5. Get all latest versions in one call:

    Check latest versions org.springframework.boot:spring-boot-dependencies (currently using 3.1.0)
    

    This returns the latest major, minor, and patch versions in a single call, making it efficient for understanding upgrade options.

  6. Check multiple dependencies at once with batch processing:

    I need to check the latest versions for:
    - org.apache.commons:commons-lang3 (currently using 3.12.0)
    - org.springframework.boot:spring-boot-dependencies (currently using 3.1.0)
    - org.json:json (currently using 20231013)
    

    The batch processing tool checks all dependencies in one request, improving efficiency for projects with multiple dependencies.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Maven Check MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/maven-mcp-server-danielscholl)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools