npm-mcp-server
0
The NPM MCP Server is a Model Context Protocol server designed to retrieve detailed information about npm packages and list popular npm packages. It supports integration with AI models to aid in understanding package details, version comparison, and dependency analysis.
NPM MCP Server
This project is a Model Context Protocol (MCP) server that provides tools to search for npm package information and list popular npm packages.
Features
- Package Search: Fetches detailed information about npm packages.
- Popular Packages: Lists the 10 most popular npm packages by popularity.
Usage
The server offers two main tools:
- searchNpmPackage Tool: Retrieves detailed info about a specific npm package including name, version, description, author info, homepage URL, repository URL, and dependencies.
- popular-packages Resource: Provides a list of the 10 most popular npm packages, along with their name, description, and version.
Integration with AI Models
- Fetch package info before installation
- Compare versions
- Analyze dependencies
- Find popular alternatives
- Quick package summaries
Technologies
- TypeScript
- Model Context Protocol SDK
- Node-fetch
- Zod