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

Installation
Installing via Smithery
To install npm-search for Claude Desktop automatically via [Smithery](https://smithery.ai/server/npm-search-mcp-server):
Using NPM (recommended)
Alternatively you can install `npm-search-mcp-server` via npm:
After installation, you can run it as a command using:
Using uv
When using [`uv`](https://docs.astral.sh/uv/) no specific installation is needed. We will
use [`uvx`](https://docs.astral.sh/uv/guides/tools/) to directly run *npm-search-mcp-server*.
Configuration
Configure for Claude.app
Add to your Claude settings:
Configure for Zed
Add to your Zed settings.json:
Example Interactions
Search for npm packages:
Response:
Debugging
You can use the MCP inspector to debug the server. For uvx installations:
Or if you've installed the package in a specific directory or are developing on it:
Examples of Questions for Claude
"Search for express package on npm"
"Find packages related to react"
"Show me npm packages for web development"
Build
Docker build:
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.