MCP.so
Sign In

npm-search MCP Server

@MCP-Mirror

About npm-search MCP Server

Mirror of

Basic information

Category

Search

Transports

stdio

Publisher

MCP-Mirror

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "btwiuse_npm-search-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "npm-search-mcp-server",
        "--client",
        "claude"
      ]
    }
  }
}

Tools

1

Search for npm packages.

Overview

What is npm-search MCP Server?

It is a Model Context Protocol server that enables searching npm packages by invoking the npm search command. Designed for developers using MCP-compatible assistants like Claude.

How to use npm-search MCP Server?

Install globally via npm (npm install -g npm-search-mcp-server) or run via npx or uvx. Configure it in your MCP client (e.g., Claude.app or Zed) using the provided JSON settings. Invoke the search_npm_packages tool with a query string argument to search for packages.

Key features of npm-search MCP Server

  • Provides a single search_npm_packages tool.
  • Required argument: query (string).
  • Returns package name, description, version, author, and license.
  • Installable via npm, npx, or uvx.
  • Works with Claude.app, Zed, and other MCP clients.

Use cases of npm-search MCP Server

  • Search for npm packages directly from a chat assistant.
  • Find packages related to a topic (e.g., "react", "express").
  • Quickly retrieve package metadata without leaving the development environment.

FAQ from npm-search MCP Server

How do I install npm-search MCP Server?

Install globally via npm (npm install -g npm-search-mcp-server) or use npx -y npm-search-mcp-server to run without installation. Alternatively, use uvx npm-search-mcp-server if using uv.

What client configurations are supported?

Claude.app and Zed. JSON configuration samples are provided in the README for both npm and uvx installations.

What is the required tool argument?

The search_npm_packages tool requires a query string. Example: {"name": "search_npm_packages", "arguments": {"query": "express"}}.

How can I debug the server?

Use the MCP inspector. For uvx installations: npx @modelcontextprotocol/inspector npx -y npm-search-mcp-server. For local development, run npx @modelcontextprotocol/inspector uv run npm-search-mcp-server from the server directory.

Where does the package data come from?

The server calls the npm search command, which queries the npm registry. No local database is used.

Comments

More Search MCP servers