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: 1. Open Cursor Settings (Cmd/Ctrl + ,) 2. Search for "MCP" or go to Extensions > MCP 3. Add a new server with: - Name: package-registry - Comman
Add this skill
npx mdskills install artmann/package-registry-mcpComprehensive multi-registry package search and security advisory tools with excellent documentation
1# Package Registry MCP Server23A Model Context Protocol (MCP) server that enables AI assistants and agents4(Claude, Cursor, Copilot, etc.) to search package registries and retrieve5up-to-date package information.67<p align="center">8 <a href="https://www.npmjs.com/package/package-registry-mcp">9 <img alt="NPM Version" src="https://img.shields.io/npm/v/package-registry-mcp" />10 </a>11 <a href="https://www.npmjs.com/package/package-registry-mcp">12 <img alt="NPM Downloads" src="https://img.shields.io/npm/dm/package-registry-mcp" />13 </a>14 <a href="https://github.com/Artmann/package-registry-mcp/blob/main/LICENSE">15 <img alt="License" src="https://img.shields.io/github/license/Artmann/package-registry-mcp" />16 </a>17 <a href="https://nodejs.org">18 <img alt="Node.js" src="https://img.shields.io/node/v/package-registry-mcp" />19 </a>20 <a href="https://github.com/Artmann/package-registry-mcp">21 <img alt="GitHub Stars" src="https://img.shields.io/github/stars/Artmann/package-registry-mcp" />22 </a>23 <a href="https://archestra.ai/mcp-catalog/artmann__package-registry-mcp">24 <img alt="Trust Score" src="https://archestra.ai/mcp-catalog/api/badge/quality/artmann/package-registry-mcp" />25 </a>26</p>2728## Getting Started2930### Cursor3132[](https://cursor.com/install-mcp?name=package-registry&config=eyJjb21tYW5kIjoibnB4IHBhY2thZ2UtcmVnaXN0cnktbWNwIn0%3D)3334Alternatively, in Cursor, you can configure MCP servers in your settings:35361. Open Cursor Settings (`Cmd/Ctrl + ,`)372. Search for "MCP" or go to Extensions > MCP383. Add a new server with:39 - **Name**: `package-registry`40 - **Command**: `npx`41 - **Args**: `["package-registry-mcp"]`4243### Claude Code4445For Claude Code, run the following command in your terminal:4647```shell48claude mcp add -s user package-registry npx package-registry-mcp4950```5152After configuration, you'll have access to package search and information tools.5354### Claude Desktop5556Add this server to your Claude Desktop by adding the following to your57`claude_desktop_config.json`:5859```json60{61 "mcpServers": {62 "package-registry": {63 "command": "npx",64 "args": ["package-registry-mcp"]65 }66 }67}68```6970The config file is typically located at:7172- **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`73- **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`7475After adding the configuration, restart Claude Desktop.7677## Features7879- Search NPM packages80- Get detailed NPM package information81- Search crates.io (Rust package registry)82- Get detailed crate information83- Search NuGet packages (.NET package registry)84- Get detailed NuGet package information85- Get detailed PyPI package information (Python package registry)86- Get detailed Go module information (Go package registry)87- Search GitHub Security Advisories for vulnerabilities88- Real-time data directly from package registries8990## Available Tools9192### NPM Tools9394#### `search-npm-packages`9596Search the NPM registry for packages matching a query.9798**Parameters:**99100- `query` (string): Search term for packages101- `limit` (number, optional): Maximum number of results (1-100, default: 10)102103**Example:**104105```bash106bun tool search-npm-packages '{"query": "react", "limit": 5}'107```108109#### `get-npm-package-details`110111Get detailed information about a specific NPM package.112113**Parameters:**114115- `name` (string): Exact crate name116117**Example:**118119```bash120bun tool get-npm-package-details '{"name": "react"}'121```122123**Returns detailed information including:**124125- Package metadata (name, description, version, license)126- Dependencies (runtime, dev, peer)127- Maintainer information128- Repository and homepage links129- Last 50 versions (newest first)130131#### `list-npm-package-versions`132133List all versions of a specific NPM package.134135**Parameters:**136137- `name` (string): Exact crate name138- `limit` (number, optional): Maximum number of versions to return (1-1000,139 default: 100)140141**Example:**142143```bash144bun tool list-npm-package-versions '{"name": "react", "limit": 50}'145```146147**Returns:**148149- Package name and total version count150- All versions sorted by release date (newest first)151- Latest version information152153### crates.io Tools154155#### `search-cargo-packages`156157Search crates.io for Rust crates matching a query.158159**Parameters:**160161- `query` (string): Search term for crates162- `limit` (number, optional): Maximum number of results (1-100, default: 10)163164**Example:**165166```bash167bun tool search-cargo-packages '{"query": "serde", "limit": 5}'168```169170#### `get-cargo-package-details`171172Get detailed information about a specific crate from crates.io.173174**Parameters:**175176- `name` (string): Exact crate name177178**Example:**179180```bash181bun tool get-cargo-package-details '{"name": "serde"}'182```183184**Returns detailed information including:**185186- Crate metadata (name, description, version, license)187- Keywords and categories188- Download statistics (total and recent)189- Features and crate size190- Repository, homepage, and documentation links191- Last 50 versions (newest first)192193#### `list-cargo-package-versions`194195List all versions of a specific crate from crates.io.196197**Parameters:**198199- `name` (string): Exact crate name200- `limit` (number, optional): Maximum number of versions to return (1-1000,201 default: 100)202203**Example:**204205```bash206bun tool list-cargo-package-versions '{"name": "serde", "limit": 50}'207```208209**Returns:**210211- Crate name and total version count212- All versions sorted by release date (newest first)213- Latest and max stable version information214215### NuGet Tools216217#### `search-nuget-packages`218219Search the NuGet registry for .NET packages matching a query.220221**Parameters:**222223- `query` (string): Search term for packages224- `limit` (number, optional): Maximum number of results (1-100, default: 10)225226**Example:**227228```bash229bun tool search-nuget-packages '{"query": "newtonsoft", "limit": 5}'230```231232#### `get-nuget-package-details`233234Get detailed information about a specific NuGet package.235236**Parameters:**237238- `name` (string): Exact package name239240**Example:**241242```bash243bun tool get-nuget-package-details '{"name": "Newtonsoft.Json"}'244```245246**Returns detailed information including:**247248- Package metadata (name, description, version, license)249- Authors and project information250- Target frameworks and dependencies251- Download statistics and verification status252- Project, license, and icon URLs253- Last 50 versions (newest first)254255#### `list-nuget-package-versions`256257List all versions of a specific NuGet package.258259**Parameters:**260261- `name` (string): Exact package name262- `limit` (number, optional): Maximum number of versions to return (1-1000,263 default: 100)264265**Example:**266267```bash268bun tool list-nuget-package-versions '{"name": "Newtonsoft.Json", "limit": 50}'269```270271**Returns:**272273- Package name and total version count274- All versions sorted by release date (newest first)275- Latest version information276277### PyPI Tools278279Note: PyPI does not provide a JSON search API, so only package details and280version listing are supported. For searching, please use the PyPI website281directly at https://pypi.org/search/.282283#### `get-pypi-package-details`284285Get detailed information about a specific PyPI package.286287**Parameters:**288289- `name` (string): Exact package name290291**Example:**292293```bash294bun tool get-pypi-package-details '{"name": "requests"}'295```296297**Returns detailed information including:**298299- Package metadata (name, description, version, license)300- Author and maintainer information301- Dependencies and Python version requirements302- Classifiers and keywords303- Project URLs and documentation links304- Download statistics305- Vulnerability information306- Last 50 versions (newest first)307308#### `list-pypi-package-versions`309310List all versions of a specific PyPI package.311312**Parameters:**313314- `name` (string): Exact package name315- `limit` (number, optional): Maximum number of versions to return (1-1000,316 default: 100)317318**Example:**319320```bash321bun tool list-pypi-package-versions '{"name": "django", "limit": 50}'322```323324**Returns:**325326- Package name and total version count327- All versions sorted by release date (newest first)328- Latest version information329330### Go Tools331332Note: pkg.go.dev does not provide a JSON search API, so only package details and333version listing are supported. For searching, please use the pkg.go.dev website334directly at https://pkg.go.dev/search/.335336#### `get-golang-package-details`337338Get detailed information about a specific Go module/package.339340**Parameters:**341342- `module` (string): Exact module path (e.g., "github.com/gin-gonic/gin")343344**Example:**345346```bash347bun tool get-golang-package-details '{"module": "github.com/gin-gonic/gin"}'348```349350**Returns detailed information including:**351352- Module path and latest version353- Publication date and repository information354- VCS (version control system) details355- pkg.go.dev and go get command links356- Last 50 versions (newest first)357358#### `list-golang-package-versions`359360List all versions of a specific Go module/package.361362**Parameters:**363364- `module` (string): Exact module path365- `limit` (number, optional): Maximum number of versions to return (1-1000,366 default: 100)367368**Example:**369370```bash371bun tool list-golang-package-versions '{"module": "github.com/gorilla/mux", "limit": 50}'372```373374**Returns:**375376- Module path and total version count377- All versions sorted by release date (newest first)378- Latest version information379380### GitHub Security Advisory Tools381382#### `search-github-advisories`383384Search the GitHub Security Advisory Database for vulnerabilities.385386**Parameters:**387388- `ecosystem` (string, optional): Filter by package ecosystem (`npm`, `pip`,389 `maven`, `nuget`, `go`, `rust`, `rubygems`, `composer`, `pub`, `swift`,390 `erlang`, `actions`, `other`)391- `severity` (string, optional): Filter by severity level (`unknown`, `low`,392 `medium`, `high`, `critical`)393- `type` (string, optional): Filter by advisory type (`reviewed`, `malware`,394 `unreviewed`)395- `cveId` (string, optional): Filter by CVE identifier396- `limit` (number, optional): Maximum number of results (1-100, default: 30)397398**Example:**399400```bash401bun tool search-github-advisories '{"ecosystem": "npm", "severity": "critical", "limit": 5}'402```403404#### `get-github-advisory`405406Get detailed information about a specific GitHub Security Advisory.407408**Parameters:**409410- `ghsaId` (string): The GHSA identifier (e.g., `GHSA-grv7-fg5c-xmjg`)411412**Example:**413414```bash415bun tool get-github-advisory '{"ghsaId": "GHSA-grv7-fg5c-xmjg"}'416```417418**Returns detailed information including:**419420- Advisory metadata (GHSA ID, CVE ID, summary, description)421- Severity and CVSS score422- Affected packages and vulnerable version ranges423- Patched versions424- CWE classifications425- References and credits426427#### `get-package-advisories`428429Get all security advisories affecting a specific package.430431**Parameters:**432433- `ecosystem` (string): The package ecosystem (`npm`, `pip`, `maven`, etc.)434- `packageName` (string): The package name (e.g., `braces`, `lodash`)435- `severity` (string, optional): Filter by severity level436- `limit` (number, optional): Maximum number of results (1-100, default: 30)437438**Example:**439440```bash441bun tool get-package-advisories '{"ecosystem": "npm", "packageName": "braces"}'442```443444**Returns:**445446- All known security advisories for the specified package447- Vulnerable version ranges and patched versions448- Severity ratings and CVSS scores449450## Installation451452Install the package globally:453454```bash455npm install -g package-registry-mcp456```457458Or use directly with npx (no installation required):459460```bash461npx package-registry-mcp462```463464## Contributing465466See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup and guidelines.467468## Requirements469470- Node.js 18+ or Bun runtime471- Internet connection for package registry access472473## License474475See LICENSE file for details.476
Full transparency — inspect the skill content before installing.