The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Package Registry MCP listing page.
A Model Context Protocol (MCP) server that enables AI assistants and agents (Claude, Cursor, Copilot, etc.) to search package registries and retrieve up-to-date package information.
Alternatively, in Cursor, you can configure MCP servers in your settings:
Cmd/Ctrl + ,)package-registrynpx["package-registry-mcp"]For Claude Code, run the following command in your terminal:
After configuration, you'll have access to package search and information tools.
Add this server to your Claude Desktop by adding the following to your
claude_desktop_config.json:
The config file is typically located at:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonAfter adding the configuration, restart Claude Desktop.
search-npm-packagesSearch the NPM registry for packages matching a query.
Parameters:
query (string): Search term for packageslimit (number, optional): Maximum number of results (1-100, default: 10)Example:
get-npm-package-detailsGet detailed information about a specific NPM package.
Parameters:
name (string): Exact crate nameExample:
Returns detailed information including:
list-npm-package-versionsList all versions of a specific NPM package.
Parameters:
name (string): Exact crate namelimit (number, optional): Maximum number of versions to return (1-1000,
default: 100)Example:
Returns:
search-cargo-packagesSearch crates.io for Rust crates matching a query.
Parameters:
query (string): Search term for crateslimit (number, optional): Maximum number of results (1-100, default: 10)Example:
get-cargo-package-detailsGet detailed information about a specific crate from crates.io.
Parameters:
name (string): Exact crate nameExample:
Returns detailed information including:
list-cargo-package-versionsList all versions of a specific crate from crates.io.
Parameters:
name (string): Exact crate namelimit (number, optional): Maximum number of versions to return (1-1000,
default: 100)Example:
Returns:
search-nuget-packagesSearch the NuGet registry for .NET packages matching a query.
Parameters:
query (string): Search term for packageslimit (number, optional): Maximum number of results (1-100, default: 10)Example:
get-nuget-package-detailsGet detailed information about a specific NuGet package.
Parameters:
name (string): Exact package nameExample:
Returns detailed information including:
list-nuget-package-versionsList all versions of a specific NuGet package.
Parameters:
name (string): Exact package namelimit (number, optional): Maximum number of versions to return (1-1000,
default: 100)Example:
Returns:
Note: PyPI does not provide a JSON search API, so only package details and version listing are supported. For searching, please use the PyPI website directly at https://pypi.org/search/.
get-pypi-package-detailsGet detailed information about a specific PyPI package.
Parameters:
name (string): Exact package nameExample:
Returns detailed information including:
list-pypi-package-versionsList all versions of a specific PyPI package.
Parameters:
name (string): Exact package namelimit (number, optional): Maximum number of versions to return (1-1000,
default: 100)Example:
Returns:
Note: pkg.go.dev does not provide a JSON search API, so only package details and version listing are supported. For searching, please use the pkg.go.dev website directly at https://pkg.go.dev/search/.
get-golang-package-detailsGet detailed information about a specific Go module/package.
Parameters:
module (string): Exact module path (e.g., "github.com/gin-gonic/gin")Example:
Returns detailed information including:
list-golang-package-versionsList all versions of a specific Go module/package.
Parameters:
module (string): Exact module pathlimit (number, optional): Maximum number of versions to return (1-1000,
default: 100)Example:
Returns:
search-github-advisoriesSearch the GitHub Security Advisory Database for vulnerabilities.
Parameters:
ecosystem (string, optional): Filter by package ecosystem (npm, pip,
maven, nuget, go, rust, rubygems, composer, pub, swift,
erlang, actions, other)severity (string, optional): Filter by severity level (unknown, low,
medium, high, critical)type (string, optional): Filter by advisory type (reviewed, malware,
unreviewed)cveId (string, optional): Filter by CVE identifierlimit (number, optional): Maximum number of results (1-100, default: 30)Example:
get-github-advisoryGet detailed information about a specific GitHub Security Advisory.
Parameters:
ghsaId (string): The GHSA identifier (e.g., GHSA-grv7-fg5c-xmjg)Example:
Returns detailed information including:
get-package-advisoriesGet all security advisories affecting a specific package.
Parameters:
ecosystem (string): The package ecosystem (npm, pip, maven, etc.)packageName (string): The package name (e.g., braces, lodash)severity (string, optional): Filter by severity levellimit (number, optional): Maximum number of results (1-100, default: 30)Example:
Returns:
Install the package globally:
Or use directly with npx (no installation required):
See CONTRIBUTING.md for development setup and guidelines.
See LICENSE file for details.