server-npm-find-package-info

DavidBurgos7/server-npm-find-package-info

3.3

If you are the rightful owner of server-npm-find-package-info and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server for querying NPM package information using npm commands.

The NPM Package Info MCP Server is a specialized tool designed to facilitate the retrieval and search of NPM package information through the use of the `npm view` and `npm search` commands. This server is particularly useful for developers and teams who need quick access to package metadata, dependencies, and other relevant details without manually navigating the NPM registry. By integrating with MCP-compatible clients, this server streamlines the process of obtaining package information, making it an essential tool for efficient package management and development workflows. The server is equipped with robust error handling to ensure smooth operation even in the face of network issues or invalid queries.

Features

  • Package Information: Retrieve detailed metadata about any NPM package.
  • Package Search: Search for NPM packages using keywords.
  • Flexible Queries: Specify fields to query from package metadata.
  • Error Handling: Provides informative messages for errors.
  • Integration: Compatible with various MCP clients for seamless use.

Usages

usage with Claude Desktop

{
  "mcpServers": {
    "npm-find-package-info": {
      "command": "npx",
      "args": [
        "-y",
        "@imburgos7/server-npm-find-package-info"
      ]
    }
  }
}

usage with Cline VS Code Extension

{
  "mcpServers": {
    "npm-find-package-info": {
      "command": "npx",
      "args": [
        "-y",
        "@imburgos7/server-npm-find-package-info"
      ]
    }
  }
}

usage with Other MCP Clients

{
  "command": "npx",
  "args": ["-y", "@imburgos7/server-npm-find-package-info"]
}

Tools

  1. npm_view_package

    Get detailed information about an NPM package using the npm view command.

  2. npm_search_packages

    Search for NPM packages by keyword or name.