Back to MCP Catalog

Package Version Checker MCP Server

Developer ToolsGo
Provides latest stable package versions from multiple registries
Available Tools

getPackageVersion

Get the latest stable version of a package from a specified registry

registrypackageName

getNpmPackageVersion

Get the latest stable version of an npm package

packageName

getPypiPackageVersion

Get the latest stable version of a Python package from PyPI

packageName

getMavenPackageVersion

Get the latest stable version of a Java package from Maven Central

groupIdartifactId

getGoPackageVersion

Get the latest stable version of a Go package

packageName

getSwiftPackageVersion

Get the latest stable version of a Swift package

packageName

getDockerImageVersion

Get the latest stable version of a Docker image from Docker Hub

imageName

getGithubContainerVersion

Get the latest stable version of a container from GitHub Container Registry

imageName

getGithubActionVersion

Get the latest stable version of a GitHub Action

actionName

getAWSBedrockModelVersion

Get the latest stable version of an AWS Bedrock AI model

modelName

Package Version Checker is a specialized tool that helps LLMs recommend up-to-date package versions when writing code. It connects to multiple package registries including npm, PyPI, Maven Central, Go Proxy, Swift Packages, AWS Bedrock, Docker Hub, GitHub Container Registry, and GitHub Actions to retrieve the latest stable versions of packages. This tool solves a common problem with LLMs that may recommend outdated package versions in their code suggestions. By providing real-time access to current package information, it ensures that generated code uses compatible and secure dependencies.

Overview

Package Version Checker is an MCP server that provides real-time access to the latest stable package versions from multiple package registries. This helps ensure that when an LLM generates code, it uses current and secure dependencies rather than outdated versions.

Installation

Using Docker (Recommended)

The easiest way to run the Package Version Checker is using Docker:

docker run -p 8080:8080 ghcr.io/sammcj/mcp-package-version:latest

You can also use the provided docker-compose file:

# Clone the repository
git clone https://github.com/sammcj/mcp-package-version.git
cd mcp-package-version

# Start the server
docker-compose up -d

Building from Source

If you prefer to build from source, you'll need Go installed:

  1. Clone the repository:

    git clone https://github.com/sammcj/mcp-package-version.git
    cd mcp-package-version
    
  2. Build and run:

    go build
    ./mcp-package-version
    

Configuration

The server runs on port 8080 by default. You can configure it using environment variables:

  • PORT: The port to run the server on (default: 8080)
  • LOG_LEVEL: Set the logging level (default: info)
  • CACHE_TTL: Time to live for the cache in seconds (default: 3600)

Integrating with LLM Tools

To use this MCP server with your LLM tools, add it to your configuration:

  1. For Claude/Anthropic:

    • Add the server to your Claude settings
    • Use the tools as described in the Tools section below
  2. For other LLM tools that support the Model Context Protocol:

    • Configure the tool to connect to your running instance
    • The server endpoint is http://localhost:8080 (or your custom host/port)

Troubleshooting

If you encounter issues:

  1. Check that the server is running and accessible
  2. Verify your firewall settings allow connections to the server port
  3. Check the server logs for any error messages
  4. Ensure your LLM tool is properly configured to use the MCP server

Related MCPs

Apple Shortcuts
Developer ToolsJavaScript

Control Apple Shortcuts automations from AI assistants

Clojars Dependency Lookup
Developer ToolsJavaScript

Fetch dependency information from Clojars, the Clojure community's artifact repository

Simple Timeserver
Developer ToolsPython

Provides Claude with current time and timezone information

About Model Context Protocol

Model Context Protocol (MCP) allows AI models to access external tools and services, extending their capabilities beyond their training data.

Generate Cursor Documentation

Save time on coding by generating custom documentation and prompts for Cursor IDE.