Package Version Check MCP Server
MCP server for checking latest stable package versions across 14 ecosystems. Supports Docker tag hints for suffix matching (e.g., 3.12-alpine), Helm OCI registries, and GitHub Actions metadata lookup with optional README inclusion.
Configuration
No authentication required for most registries. Optional GITHUB_PAT for higher GitHub API rate limits (Swift packages, GitHub Actions).
Environment Variables
| Variable | Default | Description |
|---|---|---|
GITHUB_PAT |
(none) | GitHub personal access token for higher rate limits |
PACKAGE_VERSION_TIMEOUT |
15 |
HTTP request timeout in seconds |
PACKAGE_VERSION_TRANSPORT |
stdio |
Transport mode: stdio or http |
PACKAGE_VERSION_PORT |
8000 |
Port for HTTP transport mode |
Installation
Option 1: Using uvx (Recommended)
curl -LsSf https://astral.sh/uv/install.sh | sh
No additional installation needed — uvx handles dependencies automatically.
Option 2: Using pip
pip install bibliocommons-mcp-package-version-check
# or for development
pip install -e ".[dev]"
AI Client Setup
VS Code (with MCP Extension)
{
"mcp.servers": {
"package-version-check": {
"command": "uvx",
"args": ["--from", "/absolute/path/to/package-version-check", "bibliocommons-mcp-package-version-check"]
}
}
}
Claude Desktop
{
"mcpServers": {
"package-version-check": {
"command": "uvx",
"args": ["--from", "/absolute/path/to/package-version-check", "bibliocommons-mcp-package-version-check"]
}
}
}
Kiro IDE
{
"mcpServers": {
"package-version-check": {
"command": "uvx",
"args": ["--from", "/absolute/path/to/package-version-check", "bibliocommons-mcp-package-version-check"]
}
}
}
Kiro CLI
Create or edit ~/.kiro/settings/mcp.json:
{
"mcpServers": {
"package-version-check": {
"command": "uvx",
"args": ["--from", "/absolute/path/to/package-version-check", "bibliocommons-mcp-package-version-check"]
}
}
}
Configuration Notes
- Replace
/absolute/path/to/package-version-check/with the actual path to your server directory - Set
GITHUB_PATenvironment variable for higher GitHub API rate limits - After adding the configuration, restart your AI client for changes to take effect
For other AI clients (Amazon Q, GitHub Copilot, Cline, Zed, Cursor), see docs/ai-clients.md.
Docker
# Pull from Docker Hub (private)
docker pull bibliocommons/mcp-package-version-check:latest
# Run in stdio mode
docker run -i --rm \
-v /path/to/config.json:/config.json:ro \
bibliocommons/mcp-package-version-check:latest \
--config /config.json
# Run in HTTP mode
docker run -d --rm \
-v /path/to/config.json:/config.json:ro \
-p 8000:8000 \
bibliocommons/mcp-package-version-check:latest \
--config /config.json --transport http --port 8000
# Run in expanded mode
docker run -i --rm \
-v /path/to/config.json:/config.json:ro \
bibliocommons/mcp-package-version-check:latest \
--config /config.json --expanded
Supported Ecosystems
| Ecosystem | Registry | Package Format |
|---|---|---|
npm |
npmjs.org | express, @angular/core |
pypi |
pypi.org | requests, django |
nuget |
nuget.org | Newtonsoft.Json |
maven_gradle |
Maven Central / Google Maven | group:artifact or google:group:artifact |
go |
proxy.golang.org | golang.org/x/net |
php |
packagist.org | laravel/framework |
rubygems |
rubygems.org | rails |
rust |
crates.io | serde |
swift |
GitHub tags | github.com/owner/repo |
dart |
pub.dev | flutter |
docker |
Docker Hub / any registry | python, ghcr.io/org/image |
helm |
ChartMuseum / OCI | https://repo/chart or oci://registry/chart |
terraform_provider |
Terraform Registry | hashicorp/aws |
terraform_module |
Terraform Registry | hashicorp/consul/aws |
Examples
Check package versions
{
"tool": "get_latest_package_versions",
"arguments": {
"packages": [
{"ecosystem": "npm", "package_name": "express"},
{"ecosystem": "pypi", "package_name": "django"},
{"ecosystem": "docker", "package_name": "python", "version_hint": "3.12-alpine"},
{"ecosystem": "helm", "package_name": "oci://ghcr.io/org/charts/app"},
{"ecosystem": "terraform_provider", "package_name": "hashicorp/aws"}
]
}
}
Check GitHub Actions
{
"tool": "get_github_action_versions",
"arguments": {
"action_names": ["actions/checkout", "docker/login-action"],
"include_readme": false
}
}
Standalone MCP Server
python -m bibliocommons_mcp_package_version_check
# or with HTTP transport
python -m bibliocommons_mcp_package_version_check --transport http --port 8000
CLI Flags
| Flag | Env Var | Description |
|---|---|---|
--expanded |
PACKAGE_VERSION_EXPANDED |
Register all tools individually instead of gateway mode |
--transport stdio|http |
PACKAGE_VERSION_TRANSPORT |
Transport mode (default: stdio) |
--port PORT |
PACKAGE_VERSION_PORT |
HTTP port (default: 8000) |
--version |
— | Show version and exit |
Gateway Mode (Default)
By default, the server exposes 2 tools instead of individual tools:
| Tool | Purpose |
|---|---|
package_version_api |
Execute any package version action by name with a params dict |
package_version_help |
Search available actions, parameters, and descriptions |
The AI assistant calls package_version_help to discover available actions, then calls package_version_api(action="get_latest_package_versions", params={"packages": [...]}) to execute them.
To register all individual tools (previous behavior), use --expanded:
python -m bibliocommons_mcp_package_version_check --expanded
Security Notes
- No credentials required for public registries
GITHUB_PATis optional and only needed for higher rate limits- All requests use HTTPS
- Docker registry auth tokens are ephemeral (per-request)
Metadata
Release files for bibliocommons-mcp-package-version-check 1.3.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bibliocommons_mcp_package_version_check-1.3.6.tar.gz | 17.3 kB | Without provenance | Details for bibliocommons_mcp_package_version_check-1.3.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bibliocommons_mcp_package_version_check-1.3.6-py3-none-any.whl | Python 3 | none | any | Details for bibliocommons_mcp_package_version_check-1.3.6-py3-none-any.whl |
Total release size: 28.9 kB
Release files / bibliocommons_mcp_package_version_check-1.3.6.tar.gz
| Download URL | bibliocommons_mcp_package_version_check-1.3.6.tar.gz |
|---|---|
| Size | 17.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47ed817106fd593d65d1408abcce26a03c5de9775284af6d5bb0f4fd1769784d
|
|
BLAKE2b-256 checksum How to use checksums |
3acb53e9646e7b811f901866a84a83c7b21bd61a7fca5083ec163fe9a067497d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / bibliocommons_mcp_package_version_check-1.3.6-py3-none-any.whl
| Download URL | bibliocommons_mcp_package_version_check-1.3.6-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
50d05e37648436bf22d3a1f87f9c5778eb82cc652beeac6f4d5bbb1f7287e605
|
|
BLAKE2b-256 checksum How to use checksums |
49f24090cce1af5d3e1ad4d8f80e8a4f374b1e3b1ffa4074048bde2c18d9ca12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Security for bibliocommons-mcp-package-version-check 1.3.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.