Lets agents search the npm registry for packages by keyword when looking for JavaScript dependencies.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add npm-search -- npx -y @smithery/cli install npm-search-mcp-server --client claude~/.codex/config.toml
[mcp_servers.npm-search]
command = "npx"
args = ["-y", "@smithery/cli", "install", "npm-search-mcp-server", "--client", "claude"]
# codex mcp add npm-search -- npx -y @smithery/cli install npm-search-mcp-server --client claude~/.cursor/mcp.json
{
"mcpServers": {
"npm-search": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"npm-search-mcp-server",
"--client",
"claude"
]
}
}
}.vscode/mcp.json
{
"servers": {
"npm-search": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"npm-search-mcp-server",
"--client",
"claude"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"npm-search": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"npm-search-mcp-server",
"--client",
"claude"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"npm-search": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"npm-search-mcp-server",
"--client",
"claude"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"npm-search": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"npm-search-mcp-server",
"--client",
"claude"
]
}
}
}