Package Version
STDIOMCP server that checks latest package versions across multiple registries including npm, PyPI, Maven, Docker Hub.
MCP server that checks latest package versions across multiple registries including npm, PyPI, Maven, Docker Hub.
An MCP server that provides tools for checking latest stable package versions from multiple package registries:
This server helps LLMs ensure they're recommending up-to-date package versions when writing code.
IMPORTANT: I'm slowly moving across this tool to a component of my mcp-devtools server

Requirements:
Using go install (Recommended for MCP Client Setup):
go install github.com/sammcj/mcp-package-version/v2@HEAD
Then setup your client to use the MCP server. Assuming you've installed the binary with go install github.com/sammcj/mcp-package-version/v2@HEAD and your $GOPATH is /Users/sammcj/go/bin, you can provide the full path to the binary:
{ "mcpServers": { "package-version": { "command": "/Users/sammcj/go/bin/mcp-package-version" } } }
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json~/Library/Application\ Support/Claude/claude_desktop_config.json~/.config/gomcp/config.yamlOr clone the repository and build it:
git clone https://github.com/sammcj/mcp-package-version.git cd mcp-package-version make
You can also run the server in a container:
docker run -p 18080:18080 ghcr.io/sammcj/mcp-package-version:main
Note: If running in a container, you'll need to configure the client to use the URL instead of command, e.g.:
{ "mcpServers": { "package-version": { "url": "http://localhost:18080", } } }
If $GOPATH/bin is not in your PATH, you'll need to provide the full path to the binary when configuring your MCP client (e.g. /Users/sammcj/go/bin/mcp-package-version).
If you haven't used go applications before and have only just installed go, you may not have a $GOPATH set up in your environment. This is important for any go install command to work correctly.
Understanding
$GOPATHThe
go installcommand downloads and compiles Go packages, placing the resulting binary executable in thebinsubdirectory of your$GOPATH. By default,$GOPATHis > usually located at$HOME/goon Unix-like systems (including macOS). If you haven't configured$GOPATHexplicitly, Go uses this default.The location
$GOPATH/bin(e.g.,/Users/your_username/go/bin) needs to be included in your system'sPATHenvironment variable if you want to run installed Go binaries directly by name from any terminal location.You can add the following line to your shell configuration file (e.g.,
~/.zshrc,~/.bashrc) to set$GOPATHto the default if it's not already set, and ensure$GOPATH/binis in yourPATH:[ -z "$GOPATH" ] && export GOPATH="$HOME/go"; echo "$PATH" | grep -q ":$GOPATH/bin" || export PATH="$PATH:$GOPATH/bin"After adding this line, restart your terminal or MCP client.
The server supports two transport modes: stdio (default) and SSE (Server-Sent Events).
mcp-package-version
mcp-package-version --transport sse --port 18080 --base-url "http://localhost:18080"
This would make the server available to clients at http://localhost:18080/sse (Note the /sse suffix!).
--transport, -t: Transport type (stdio or sse). Default: stdio--port: Port to use for SSE transport. Default: 18080--base-url: Base URL for SSE transport. Default: http://localhostDocker images are available from GitHub Container Registry:
docker pull ghcr.io/sammcj/mcp-package-version:main
You can also see the example docker-compose.yaml.
Check the latest versions of NPM packages:
{ "name": "check_npm_versions", "arguments": { "dependencies": { "react": "^17.0.2", "react-dom": "^17.0.2", "lodash": "4.17.21" }, "constraints": { "react": { "majorVersion": 17 } } } }
Check the latest versions of Python packages from requirements.txt:
{ "name": "check_python_versions", "arguments": { "requirements": [ "requests==2.28.1", "flask>=2.0.0", "numpy" ] } }
Check the latest versions of Python packages from pyproject.toml:
{ "name": "check_pyproject_versions", "arguments": { "dependencies": { "dependencies": { "requests": "^2.28.1", "flask": ">=2.0.0" }, "optional-dependencies": { "dev": { "pytest": "^7.0.0" } }, "dev-dependencies": { "black": "^22.6.0" } } } }
Check the latest versions of Java packages from Maven:
{ "name": "check_maven_versions", "arguments": { "dependencies": [ { "groupId": "org.springframework.boot", "artifactId": "spring-boot-starter-web", "version": "2.7.0" }, { "groupId": "com.google.guava", "artifactId": "guava", "version": "31.1-jre" } ] } }
Check the latest versions of Java packages from Gradle:
{ "name": "check_gradle_versions", "arguments": { "dependencies": [ { "configuration": "implementation", "group": "org.springframework.boot", "name": "spring-boot-starter-web", "version": "2.7.0" }, { "configuration": "testImplementation", "group": "junit", "name": "junit", "version": "4.13.2" } ] } }
Check the latest versions of Go packages from go.mod:
{ "name": "check_go_versions", "arguments": { "dependencies": { "module": "github.com/example/mymodule", "require": [ { "path": "github.com/gorilla/mux", "version": "v1.8.0" }, { "path": "github.com/spf13/cobra", "version": "v1.5.0" } ] } } }
Check available tags for Docker images:
{ "name": "check_docker_tags", "arguments": { "image": "nginx", "registry": "dockerhub", "limit": 5, "filterTags": ["^1\\."], "includeDigest": true } }
List all AWS Bedrock models:
{ "name": "check_bedrock_models", "arguments": { "action": "list" } }
Search for specific AWS Bedrock models:
{ "name": "check_bedrock_models", "arguments": { "action": "search", "query": "claude", "provider": "anthropic" } }
Get the latest Claude Sonnet model:
{ "name": "get_latest_bedrock_model", "arguments": {} }
Check the latest versions of Swift packages:
{ "name": "check_swift_versions", "arguments": { "dependencies": [ { "url": "https://github.com/apple/swift-argument-parser", "version": "1.1.4" }, { "url": "https://github.com/vapor/vapor", "version": "4.65.1" } ], "constraints": { "https://github.com/apple/swift-argument-parser": { "majorVersion": 1 } } } }
Check the latest versions of GitHub Actions:
{ "name": "check_github_actions", "arguments": { "actions": [ { "owner": "actions", "repo": "checkout", "currentVersion": "v3" }, { "owner": "actions", "repo": "setup-node", "currentVersion": "v3" } ], "includeDetails": true } }
This project uses GitHub Actions for continuous integration and deployment. The workflow automatically:
v* (e.g., v1.0.0) is pushed