MCP ExplorerExplorer

Npm Search Mcp Server

@btwiuseon a year ago
10 MIT
FreeCommunity
AI Systems
#mcp#mcp-server#claude#model-context-protocol#npm
MCP server for searching npm packages

Overview

What is Npm Search Mcp Server

npm-search-mcp-server is a Model Context Protocol server designed for searching npm packages using the ‘npm search’ command.

Use cases

Use cases for npm-search-mcp-server include searching for specific npm packages, finding related packages for projects, and assisting developers in exploring npm’s vast ecosystem.

How to use

To use npm-search-mcp-server, you can install it via npm with ‘npm install -g npm-search-mcp-server’ or use Smithery with ‘npx -y @smithery/cli install npm-search-mcp-server --client claude’. After installation, run it using ‘npm-search-mcp-server’.

Key features

Key features include the ability to search for npm packages with a simple command, support for various installation methods, and integration with tools like Claude and Zed.

Where to use

undefined

Content

MseeP.ai Security Assessment Badge

npm-search MCP Server

smithery badge

A Model Context Protocol server that allows you to search for npm packages by calling the npm search command.

npm-search-mcp-server MCP server

Available Tools

  • search_npm_packages - Search for npm packages.
    • Required arguments:
      • query (string): The search query.

Claude Screenshot

Installation

Installing via Smithery

To install npm-search for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install npm-search-mcp-server --client claude

Using NPM (recommended)

Alternatively you can install npm-search-mcp-server via npm:

npm install -g npm-search-mcp-server

After installation, you can run it as a command using:

npm-search-mcp-server

Using uv

When using uv no specific installation is needed. We will
use uvx to directly run npm-search-mcp-server.

Configuration

Configure for Claude.app

Add to your Claude settings:

Using npm installation
Using uvx

Configure for Zed

Add to your Zed settings.json:

Using npm installation
Using uvx

Example Interactions

  1. Search for npm packages:
{
  "name": "search_npm_packages",
  "arguments": {
    "query": "express"
  }
}

Response:

Debugging

You can use the MCP inspector to debug the server. For uvx installations:

npx @modelcontextprotocol/inspector npx -y npm-search-mcp-server

Or if you’ve installed the package in a specific directory or are developing on it:

cd path/to/servers/src/npm-search
npx @modelcontextprotocol/inspector uv run npm-search-mcp-server

Examples of Questions for Claude

  1. “Search for express package on npm”
  2. “Find packages related to react”
  3. “Show me npm packages for web development”

Build

Docker build:

cd src/npm-search
docker build -t mcp/npm-search .

Contributing

We encourage contributions to help expand and improve npm-search-mcp-server. Whether you want to add new npm-related tools, enhance existing functionality, or improve documentation, your input is valuable.

For examples of other MCP servers and implementation patterns, see:
https://github.com/modelcontextprotocol/servers

Pull requests are welcome! Feel free to contribute new ideas, bug fixes, or enhancements to make npm-search-mcp-server even more powerful and useful.

License

npm-search-mcp-server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers