MCP Directory

How to add Maven Dependencies MCP Server to Claude Desktop

Check Maven dependency versions and look up the latest releases from Maven Central in real time. Paste the config into ~/Library/Application Support/Claude/claude_desktop_config.json and restart Claude Desktop.

Last updated June 14, 2026 ยท 33โ˜… ยท stdio ยท no auth

Claude Desktop config for Maven Dependencies MCP Server

npm install -g mcp-maven-deps
{
  "mcpServers": {
    "maven-dependencies-mcp-server": {
      "command": "npx",
      "args": [
        "mcp-maven-deps"
      ]
    }
  }
}

Setup steps

  1. 1Open Claude Desktop โ†’ Settings โ†’ Developer โ†’ Edit Config (this opens ~/Library/Application Support/Claude/claude_desktop_config.json).
  2. 2Paste the Maven Dependencies MCP Server config below under the top-level "mcpServers" key.
  3. 3Fill in any placeholder secrets (API keys, paths) in the snippet.
  4. 4Save the file, then fully quit and reopen Claude Desktop.
  5. 5Open a chat and confirm Maven Dependencies MCP Server's tools appear under the ๐Ÿ”Œ tools menu.

Before you start

  • Node.js with npm/npx
  • Internet access to Maven Central (repo1.maven.org)

What Maven Dependencies MCP Server can do in Claude Desktop

get_latest_release

Retrieves the latest stable release version of a Maven dependency. Excludes pre-release versions (alpha, beta, milestone, RC, snapshot) by default; set excludePreReleases=false to include them. Accepts a Maven coordinate string (groupId:artifactId[:version][:packaging][:classifier]).

check_maven_version_exists

Checks if a specific version of a Maven dependency exists. The version can be provided either inside the dependency string or as a separate version parameter. Returns a boolean result.

list_maven_versions

Lists Maven dependency versions in deploy order (most recent first), one per line, with optional pre-release filtering (excludePreReleases, default true) and depth control (depth, default 15, max 100).

Security

SSE transport can be bound to a remote host with --host=0.0.0.0, exposing the server over HTTP without authentication. Only do this on trusted networks.

Maven Dependencies MCP Server + Claude Desktop FAQ

Where is the Claude Desktop config file?

Claude Desktop reads MCP servers from ~/Library/Application Support/Claude/claude_desktop_config.json. Paste the Maven Dependencies MCP Server config there under the "mcpServers" key and restart the client.

Is Maven Dependencies MCP Server safe to use with Claude Desktop?

SSE transport can be bound to a remote host with --host=0.0.0.0, exposing the server over HTTP without authentication. Only do this on trusted networks.

Where does the version data come from?

The server queries maven-metadata.xml directly on Maven Central (https://repo1.maven.org/maven2/<g>/<a>/maven-metadata.xml), the authoritative file Maven and Gradle consult during dependency resolution. It updates within seconds of a deploy, so results are never stale.

Are pre-release versions included by default?

No. By default tools exclude pre-releases (alpha, beta, milestone, RC, snapshot) so you get production-ready versions. Set excludePreReleases=false to include them.

Does it support transports other than stdio?

Yes. In addition to stdio (the default), it supports SSE (Server-Sent Events) over HTTP. You can run it with --port and optionally --host=0.0.0.0 for remote access.

View repo Full Maven Dependencies MCP Server page