MCP server that lets LLMs query the latest stable versions of packages/images/models across many ecosystems (npm, PyPI, Maven, Go, Swift, Docker, Bedrock, GitHub Actions, etc.).
https://github.com/sammcj/mcp-package-versionYour AI coding assistant just suggested [email protected] for a new project in 2024. Again. You know the drill—manually check npm, update the version, wonder what else is stale in the generated code. There's a better way.
Every developer using AI assistants hits this wall: LLMs suggest package versions from their training cutoff date, not what's actually current. You end up with:
Your AI writes 90% of the boilerplate perfectly, then trips on something as basic as [email protected] instead of the current stable release.
The mcp-package-version server plugs directly into your AI assistant's toolkit, giving it live access to current package versions across:
When your AI suggests code, it can instantly verify and recommend current versions instead of guessing from stale training data.
Before: "Let me create a new React project..."
After: Your AI directly queries live registries and suggests:
npm install [email protected] [email protected]
# Using latest stable versions as of today
No manual checking. No version drift. No security debt from day one.
Starting new projects: Get current versions for all your dependencies from the start, not versions from your AI's training data.
Dependency audits: Paste your entire package.json or requirements.txt and get upgrade recommendations with constraint awareness.
Security reviews: Quickly identify which dependencies have newer versions available, especially important for addressing CVEs.
Container updates: Check for newer base images and tags without leaving your conversation with the AI.
Cross-platform development: One tool that handles version checking across all your languages and ecosystems.
Install once with Go:
go install github.com/sammcj/mcp-package-version/v2@HEAD
Add to your MCP client config:
{
"mcpServers": {
"package-version": {
"command": "/Users/yourname/go/bin/mcp-package-version"
}
}
}
Your AI assistant now has real-time package intelligence. No API keys, no rate limits, no additional setup.
This isn't about replacing your package manager—it's about eliminating the constant context switching between your AI assistant and package registries. When you're in flow with AI-assisted development, version checking should be invisible.
The server supports version constraints, major version pinning, and even helps with dependency file formats across ecosystems. Your AI can understand your existing constraints while suggesting the newest compatible versions.
Ready to stop manually fact-checking every package version your AI suggests? Get started in 2 minutes.
Works with Claude Desktop, Cline VS Code extension, and any MCP-compatible AI client. MIT licensed.