- Home
- MCP servers
- npm-search
npm-search
- javascript
0
GitHub Stars
javascript
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"mcp-mirror-btwiuse_npm-search-mcp-server": {
"command": "npx",
"args": [
"-y",
"npm-search-mcp-server"
]
}
}
}You can search npm packages from an MCP client by using the npm-search MCP Server. It exposes a simple search tool that runs the npm search command under the hood, letting you discover packages directly through your MCP workflow.
How to use
You interact with npm-search by calling the available tool to search for npm packages. Start a search with a query like express or react, and you will receive a list of matching packages with brief descriptions, versions, authors, and licenses.
How to install
Prerequisites depend on your preferred installation method. You need Node.js and npm for the npm-based installation, or you can use uvx for running the server directly.
# Install via Smithery (Claude Desktop integration)
npx -y @smithery/cli install npm-search-mcp-server --client claude
# Install globally via npm (recommended for local development)
npm install -g npm-search-mcp-server
# Run the server after installation
npm-search-mcp-server
Additional setup and notes
To run npm-search in different environments, you can configure MCP clients to point at the local stdio endpoint or use a runtime command. You can also run it through uvx to execute the server directly without a separate install step.
# Run via uvx to execute the server directly
uvx npm-search-mcp-server
Available tools
search_npm_packages
Search for npm packages by providing a query string. Returns a list of matching package names with descriptions, versions, authors, and licenses.