npm-search MCP Server logo

npm-search MCP Server

by MCP-Mirror

This is a Model Context Protocol server that allows you to search for npm packages by calling the `npm search` command. It provides a tool to easily find and retrieve information about npm packages.

View on GitHub

Last updated: N/A

What is npm-search MCP Server?

The npm-search MCP Server is a tool that enables searching for npm packages programmatically. It acts as a bridge between applications and the npm registry, allowing you to find packages based on search queries.

How to use npm-search MCP Server?

The server can be installed via npm or using uv. After installation, it can be configured for use with applications like Claude or Zed by adding the appropriate configuration to their settings files. You can then interact with the server by sending JSON requests with a 'search_npm_packages' action and a 'query' argument.

Key features of npm-search MCP Server

  • Search npm packages

  • Integration with Claude and Zed

  • Installation via npm or uv

  • Easy configuration

  • Returns package name, description, version, author, and license

Use cases of npm-search MCP Server

  • Finding npm packages for specific tasks

  • Integrating npm search functionality into applications

  • Automating package discovery

  • Building tools that rely on npm package information

FAQ from npm-search MCP Server

What is MCP?

MCP stands for Model Context Protocol, a protocol for communication between applications and servers.

How do I install the server?

You can install it using npm or uv. Refer to the installation section in the README for detailed instructions.

How do I configure the server for Claude?

Add the provided JSON configuration snippet to your Claude settings, specifying the command and arguments to run the server.

What arguments does the search_npm_packages tool accept?

It accepts a single argument: query (string), which is the search term you want to use.

How can I debug the server?

Use the MCP inspector tool to debug the server. The README provides specific commands for uvx installations and local development.