remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Integrations
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
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
You must be authenticated.
Tools
A Model Context Protocol server that allows AI models to fetch detailed information about npm packages and discover popular packages in the npm ecosystem.