Get the FREE Ultimate OpenClaw Setup Guide →

maven

An MCP (Model Context Protocol) server that provides tools for checking Maven dependency versions.

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio bigsy-maven-mcp-server npx mcp-maven-deps

How to use

This MCP server provides Maven dependency tools that let language models verify Maven coordinates, fetch the latest stable versions, check for existence of specific versions, and list available versions from Maven Central. The server exposes a set of tools under the maven-deps-server namespace: get_latest_release, check_maven_version_exists, and list_maven_versions. By default, get_latest_release returns the latest stable (non-pre-release) version, while you can opt to include pre-releases by setting excludePreReleases to false. These tools leverage Maven Central data to give accurate, up-to-date information about dependencies and support full Maven coordinates including packaging and classifiers.

How to install

Prerequisites:

  • Node.js and npm installed on your system
  • Internet access to fetch packages from npm

Installation options:

  1. Global/npm package (recommended for quick start):

    • Install the MCP server globally: npm install -g mcp-maven-deps
    • Run directly with npx (no local install required): npx mcp-maven-deps
  2. Local development (clone and run):

    • git clone <repository-url>
    • cd <repo-directory>
    • npm install
    • npm run build (if a build step is defined)

Smithery installation (optional):

  • To install Maven Dependencies Server for Claude Desktop via Smithery: npx -y @smithery/cli install maven-deps-server --client claude

Additional notes

Notes and tips:

  • The server uses Maven Central REST API to fetch dependency data and supports full coordinates, including groupId:artifactId[:version][:packaging][:classifier].
  • By default, pre-release versions (alpha, beta, milestone, RC, snapshot) are excluded to ensure stability; set excludePreReleases to false to include them.
  • Transport options include stdio (default) and SSE over HTTP. When using SSE, you may specify host and port in your MCP settings as shown in the README.
  • If you experience issues, ensure your environment can reach Maven Central and that your CLI invocation uses the correct package name (mcp-maven-deps) and proper command line arguments as described in the Configuration section.

Related MCP Servers

Sponsor this space

Reach thousands of developers