NPM MCP Server logo

NPM MCP Server

by mateusribeirocampos

This is a Model Context Protocol (MCP) server that provides functionality to fetch information about npm packages. It offers tools to search for package details and list popular packages.

View on GitHub

Last updated: N/A

What is NPM MCP Server?

The NPM MCP Server is a Model Context Protocol server designed to provide information about npm packages. It allows users to search for specific packages and retrieve detailed information, as well as list the most popular packages on npm.

How to use NPM MCP Server?

The server can be installed via Smithery or manually using npm. Once installed and running, it exposes two main functionalities: the searchNpmPackage tool and the popular-packages resource. The searchNpmPackage tool allows you to fetch detailed information about a specific npm package by providing the package name. The popular-packages resource lists the 10 most popular npm packages.

Key features of NPM MCP Server

  • Package Search

  • Popular Packages Listing

  • Detailed Package Information

  • Integration with AI Models

Use cases of NPM MCP Server

  • Get package information before installation

  • Compare different package versions

  • Analyze dependencies

  • Find popular alternatives

  • Get quick package summaries

FAQ from NPM MCP Server

What is an MCP server?

A Model Context Protocol (MCP) server provides contextual information to AI models.

How do I install the server?

You can install it via Smithery or manually using npm.

What information does the searchNpmPackage tool provide?

It returns comprehensive package information including name, version, description, author, homepage, repository, and dependencies.

How many popular packages are listed?

The popular-packages resource lists the 10 most popular npm packages.

Can I use this server with AI models?

Yes, it is designed to be integrated with AI models to provide package information.