Logo de Package Registry Search

Package Registry Search

Comunidade
Artmann

MCP server for searching and getting up-to-date information about NPM, Cargo, PyPi, and NuGet packages.

Publicado porArtmann
Repositóriopackage-registry-mcp
IdiomaTypeScript
Forks
11
Estrelas
39
Ferramentas disponíveis
0
Tipo de transportestdio
Categorias
LicençaMIT
Links
  • Conecte ferramentas a fluxos de trabalho de IA

    Package Registry Search disponibiliza recursos MCP que podem ser usados por clientes e agentes de IA compatíveis.

  • Ferramentas disponíveis: 0

    Confira abaixo as ações que o cliente MCP pode executar, com nomes e descrições quando fornecidos pelo servidor.

  • Configuração pronta para copiar

    Use os exemplos de instalação para configurar este servidor no seu cliente MCP preferido.

  • Indicadores da comunidade de código aberto

    Estrelas: 39 e forks: 11 no repositório vinculado.

Package Registry MCP Server

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.

Getting Started

Cursor

Install MCP Server

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
    • Command: npx
    • Args: ["package-registry-mcp"]

Claude Code

For Claude Code, run the following command in your terminal:

shell
claude mcp add -s user package-registry npx package-registry-mcp

After configuration, you'll have access to package search and information tools.

Claude Desktop

Add this server to your Claude Desktop by adding the following to your claude_desktop_config.json:

json
{
  "mcpServers": {
    "package-registry": {
      "command": "npx",
      "args": ["package-registry-mcp"]
    }
  }
}

The config file is typically located at:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

After adding the configuration, restart Claude Desktop.

Features

  • Search NPM packages
  • Get detailed NPM package information
  • Search crates.io (Rust package registry)
  • Get detailed crate information
  • Search NuGet packages (.NET package registry)
  • Get detailed NuGet package information
  • Get detailed PyPI package information (Python package registry)
  • Get detailed Go module information (Go package registry)
  • Search GitHub Security Advisories for vulnerabilities
  • Real-time data directly from package registries

Available Tools

NPM Tools

search-npm-packages

Search the NPM registry for packages matching a query.

Parameters:

  • query (string): Search term for packages
  • limit (number, optional): Maximum number of results (1-100, default: 10)

Example:

bash
bun tool search-npm-packages '{"query": "react", "limit": 5}'

get-npm-package-details

Get detailed information about a specific NPM package.

Parameters:

  • name (string): Exact crate name

Example:

bash
bun tool get-npm-package-details '{"name": "react"}'

Returns detailed information including:

  • Package metadata (name, description, version, license)
  • Dependencies (runtime, dev, peer)
  • Maintainer information
  • Repository and homepage links
  • Last 50 versions (newest first)

list-npm-package-versions

List all versions of a specific NPM package.

Parameters:

  • name (string): Exact crate name
  • limit (number, optional): Maximum number of versions to return (1-1000, default: 100)

Example:

bash
bun tool list-npm-package-versions '{"name": "react", "limit": 50}'

Returns:

  • Package name and total version count
  • All versions sorted by release date (newest first)
  • Latest version information

crates.io Tools

search-cargo-packages

Search crates.io for Rust crates matching a query.

Parameters:

  • query (string): Search term for crates
  • limit (number, optional): Maximum number of results (1-100, default: 10)

Example:

bash
bun tool search-cargo-packages '{"query": "serde", "limit": 5}'

get-cargo-package-details

Get detailed information about a specific crate from crates.io.

Parameters:

  • name (string): Exact crate name

Example:

bash
bun tool get-cargo-package-details '{"name": "serde"}'

Returns detailed information including:

  • Crate metadata (name, description, version, license)
  • Keywords and categories
  • Download statistics (total and recent)
  • Features and crate size
  • Repository, homepage, and documentation links
  • Last 50 versions (newest first)

list-cargo-package-versions

List all versions of a specific crate from crates.io.

Parameters:

  • name (string): Exact crate name
  • limit (number, optional): Maximum number of versions to return (1-1000, default: 100)

Example:

bash
bun tool list-cargo-package-versions '{"name": "serde", "limit": 50}'

Returns:

  • Crate name and total version count
  • All versions sorted by release date (newest first)
  • Latest and max stable version information

NuGet Tools

search-nuget-packages

Search the NuGet registry for .NET packages matching a query.

Parameters:

  • query (string): Search term for packages
  • limit (number, optional): Maximum number of results (1-100, default: 10)

Example:

bash
bun tool search-nuget-packages '{"query": "newtonsoft", "limit": 5}'

get-nuget-package-details

Get detailed information about a specific NuGet package.

Parameters:

  • name (string): Exact package name

Example:

bash
bun tool get-nuget-package-details '{"name": "Newtonsoft.Json"}'

Returns detailed information including:

  • Package metadata (name, description, version, license)
  • Authors and project information
  • Target frameworks and dependencies
  • Download statistics and verification status
  • Project, license, and icon URLs
  • Last 50 versions (newest first)

list-nuget-package-versions

List all versions of a specific NuGet package.

Parameters:

  • name (string): Exact package name
  • limit (number, optional): Maximum number of versions to return (1-1000, default: 100)

Example:

bash
bun tool list-nuget-package-versions '{"name": "Newtonsoft.Json", "limit": 50}'

Returns:

  • Package name and total version count
  • All versions sorted by release date (newest first)
  • Latest version information

PyPI Tools

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-details

Get detailed information about a specific PyPI package.

Parameters:

  • name (string): Exact package name

Example:

bash
bun tool get-pypi-package-details '{"name": "requests"}'

Returns detailed information including:

  • Package metadata (name, description, version, license)
  • Author and maintainer information
  • Dependencies and Python version requirements
  • Classifiers and keywords
  • Project URLs and documentation links
  • Download statistics
  • Vulnerability information
  • Last 50 versions (newest first)

list-pypi-package-versions

List all versions of a specific PyPI package.

Parameters:

  • name (string): Exact package name
  • limit (number, optional): Maximum number of versions to return (1-1000, default: 100)

Example:

bash
bun tool list-pypi-package-versions '{"name": "django", "limit": 50}'

Returns:

  • Package name and total version count
  • All versions sorted by release date (newest first)
  • Latest version information

Go Tools

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-details

Get detailed information about a specific Go module/package.

Parameters:

  • module (string): Exact module path (e.g., "github.com/gin-gonic/gin")

Example:

bash
bun tool get-golang-package-details '{"module": "github.com/gin-gonic/gin"}'

Returns detailed information including:

  • Module path and latest version
  • Publication date and repository information
  • VCS (version control system) details
  • pkg.go.dev and go get command links
  • Last 50 versions (newest first)

list-golang-package-versions

List all versions of a specific Go module/package.

Parameters:

  • module (string): Exact module path
  • limit (number, optional): Maximum number of versions to return (1-1000, default: 100)

Example:

bash
bun tool list-golang-package-versions '{"module": "github.com/gorilla/mux", "limit": 50}'

Returns:

  • Module path and total version count
  • All versions sorted by release date (newest first)
  • Latest version information

GitHub Security Advisory Tools

search-github-advisories

Search 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 identifier
  • limit (number, optional): Maximum number of results (1-100, default: 30)

Example:

bash
bun tool search-github-advisories '{"ecosystem": "npm", "severity": "critical", "limit": 5}'

get-github-advisory

Get detailed information about a specific GitHub Security Advisory.

Parameters:

  • ghsaId (string): The GHSA identifier (e.g., GHSA-grv7-fg5c-xmjg)

Example:

bash
bun tool get-github-advisory '{"ghsaId": "GHSA-grv7-fg5c-xmjg"}'

Returns detailed information including:

  • Advisory metadata (GHSA ID, CVE ID, summary, description)
  • Severity and CVSS score
  • Affected packages and vulnerable version ranges
  • Patched versions
  • CWE classifications
  • References and credits

get-package-advisories

Get 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 level
  • limit (number, optional): Maximum number of results (1-100, default: 30)

Example:

bash
bun tool get-package-advisories '{"ecosystem": "npm", "packageName": "braces"}'

Returns:

  • All known security advisories for the specified package
  • Vulnerable version ranges and patched versions
  • Severity ratings and CVSS scores

Installation

Install the package globally:

bash
npm install -g package-registry-mcp

Or use directly with npx (no installation required):

bash
npx package-registry-mcp

Contributing

See CONTRIBUTING.md for development setup and guidelines.

Requirements

  • Node.js 18+ or Bun runtime
  • Internet connection for package registry access

License

See LICENSE file for details.

Use o MCP de Package Registry Search com vários modelos de IA

O TypingMind conecta as ferramentas MCP no nível do espaço de trabalho. Assim, após conectar Package Registry Search, é possível usá-lo com diferentes modelos de IA no TypingMind, em vez de configurá-lo separadamente para cada modelo. Este MCP é executado localmente no seu dispositivo por meio do conector MCP do TypingMind.

Guia de configuração para usar o conector local

Use esta opção quando o servidor MCP precisar acessar arquivos locais, aplicativos ou recursos privados no seu computador.

1

Abra as configurações de MCP

No TypingMind, acesse Configurações > Configurações avançadas > Model Context Protocol e selecione Configurar conector.

  1. Abra o TypingMind no navegador.
  2. Clique no ícone de Configurações.
  3. Acesse Configurações avançadas.
  4. Abra a seção Model Context Protocol.
  5. Clique em Configurar conector e selecione Este dispositivo.
Tela de configuração do conector MCP do TypingMind com a opção Este dispositivo selecionada
2

Execute o comando do conector

Selecione Este dispositivo, copie o comando do TypingMind e execute-o no Terminal. Mantenha o processo em execução enquanto usa o MCP.

  1. Copie o comando de configuração exibido pelo TypingMind.
  2. Abra o Terminal no macOS ou o Windows Terminal no Windows.
  3. Cole e execute o comando.
  4. Autorize a instalação do pacote se o Terminal pedir confirmação para continuar.
  5. Mantenha o processo em execução na janela do Terminal enquanto usa as ferramentas MCP.
3

Adicione Package Registry Search como servidor

Quando o status do conector for Pronto, clique em Editar servidores e cole a configuração do servidor MCP.

  1. Aguarde até que o status do conector mostre Pronto.
  2. Clique em Editar servidores.
  3. Cole a configuração do servidor MCP de Package Registry Search.
  4. Salve a lista de servidores.
  5. Se quiser confirmar que o conector ainda está pronto para uso, atualize a página.
Configurações de MCP do TypingMind mostrando um servidor ativo e o botão Editar servidores
{
  "mcpServers": {
    "artmann-package-registry-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use a conexão com diferentes modelos

Salve a lista de servidores, abra Plugins, ative as ferramentas MCP de Package Registry Search, selecione qualquer modelo de IA compatível no TypingMind e use as ferramentas no chat ou atribua-as a um agente de IA.

  1. Abra a página Plugins no TypingMind.
  2. Ative as ferramentas MCP de Package Registry Search.
  3. Inicie um chat e escolha o modelo de IA que deseja usar.
  4. Use as ferramentas MCP no chat ou atribua-as a um agente de IA.
  5. Mude para outro modelo de IA sempre que necessário, sem reconectar o MCP.
Chat do TypingMind usando ferramentas MCP ativadas com um modelo de IA selecionado
Pode usar Package Registry Search para me ajudar nesta tarefa?
Package Registry Search
Claro. Já li.
Veja o que encontrei usando Package Registry Search.

Perguntas frequentes

Para que serve o servidor MCP Package Registry Search?

Package Registry Search é um servidor MCP que permite que aplicativos de IA compatíveis se conectem a ferramentas externas e informações de contexto. No TypingMind, basta adicionar esse servidor MCP uma vez para disponibilizar suas ferramentas no seu espaço de trabalho com IA.

Posso usar o MCP Package Registry Search com vários modelos de IA no TypingMind?

Sim. O TypingMind conecta as ferramentas MCP no nível do espaço de trabalho, permitindo usar Package Registry Search com diferentes modelos de IA, como Claude, ChatGPT, Gemini ou outros modelos configurados no TypingMind, sem configurar o servidor MCP separadamente para cada modelo.

Por que usar o MCP Package Registry Search com o TypingMind?

O TypingMind é uma das melhores interfaces de chat com LLMs porque reúne vários modelos de IA, prompts, plugins, agentes de IA, chaves de API e ferramentas MCP em um só espaço de trabalho. Com Package Registry Search conectado, é possível usar suas ferramentas MCP nos seus modelos preferidos e manter seu fluxo de trabalho de chat organizado no TypingMind.

Como conecto o MCP Package Registry Search ao TypingMind?

Package Registry Search funciona por meio do conector MCP local do TypingMind. Essa é a melhor opção quando o servidor MCP precisa acessar arquivos locais, apps de desktop, ferramentas de linha de comando ou recursos privados no seu computador.

Quais ferramentas o MCP Package Registry Search oferece no TypingMind?

Package Registry Search disponibiliza recursos MCP que podem ser ativados na página Plugins do TypingMind e usados no chat ou atribuídos a agentes de IA.

Preciso compartilhar minhas chaves de API com o TypingMind para usar o MCP Package Registry Search?

Não. O TypingMind prioriza o uso local e permite manter seus provedores de modelos, chaves de API, prompts e configuração MCP sob seu controle. Se Package Registry Search exigir autenticação, adicione os cabeçalhos, as configurações OAuth ou a configuração local exigidos por esse servidor MCP ao criar a conexão.

Servidores MCP relacionados

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇