Package Version MCP Server
An MCP server that provides LLMs with the latest stable package versions when coding
Overview
The Package Version MCP Server is a tool designed to provide Language Learning Models (LLMs) with the latest stable package versions when coding, ensuring that developers work with up-to-date dependencies from npm and PyPI registries.
To use the server, configure your MCP settings to include the package-version server and utilize its tools to check latest package versions before writing code.
- Check latest stable versions for npm and Python packages. - Bulk check for multiple packages across different registries. - Provides guidelines for best practices in managing package dependencies.
- Ensuring that JavaScript and Python projects are initialized with the latest dependencies.
- Assisting developers in managing package versions during project setup.
- Helping LLMs recommend accurate package versions when generating code.
Add to your AI client
Use these steps to connect Package Version MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-package-version-sammcj": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-package-version-sammcj"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-package-version-sammcj": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-package-version-sammcj"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-package-version-sammcj": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-package-version-sammcj"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-package-version-sammcj": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-package-version-sammcj"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-package-version-sammcj": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-package-version-sammcj"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-package-version-sammcj": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-package-version-sammcj"
]
}
}
}FAQ
How do I check npm package versions?
Use the tool with the command `check_npm_versions` specifying your dependencies.
Is this tool suitable for Python packages?
Yes! It supports checking versions for packages listed in requirements.txt as well.
Do I need any special configurations?
Just add the server configuration to your MCP settings file as outlined in the documentation.