The NPM MCP Server provides tools to fetch and analyze npm package information:
Search npm packages: Fetch detailed information about specific packages (name, version, description, author, homepage, repository, dependencies)
List popular packages: Retrieve the 10 most popular npm packages with their names, descriptions, and versions
Integrate with AI workflows: Support for package comparison, dependency analysis, and finding alternatives
Development modes: Supports both production (
npm start) and development (npm run dev) environments
Allows retrieval of Lodash package information as part of the popular packages resource functionality.
Provides tools for searching and retrieving detailed information about npm packages, including package metadata, version information, dependencies, and popularity rankings.
Enables access to React package information including version details, description, and repository data to support development decisions.
NPM MCP Server
This is a Model Context Protocol (MCP) server that provides functionality to fetch information about npm packages.
Features
Package Search: Tool to fetch detailed information about npm packages
Popular Packages: Resource to list the 10 most popular npm packages
Related MCP server: NPM Sentinel MCP
Installation
Installing via Smithery
To install NPM MCP Server for Claude Desktop automatically via Smithery:
Installing Manually
Build
Running
For development:
Usage
The server exposes two main functionalities:
1. searchNpmPackage Tool
Fetches detailed information about a specific npm package. The tool returns comprehensive package information including:
Package name
Latest version
Description
Author information
Homepage URL
Repository URL
Dependencies list
Example usage:
Example response:
2. popular-packages Resource
Lists the 10 most popular npm packages, sorted by popularity. Each package in the list includes:
Package name
Description
Current version
Resource URI: npm://popular
Example response:
Integration with AI Models
This MCP server can be integrated with AI models to:
Get package information before installation
Compare different package versions
Analyze dependencies
Find popular alternatives
Get quick package summaries
Technologies
TypeScript
Model Context Protocol SDK
Node-fetch
Zod