1
Add it to Claude Code
claude mcp add npm -- npx -y mcp-server-npmAvailable Tools (6)
Once configured, NPM MCP Server gives your AI agent access to:
npm_searchSearch npm packages by keywordnpm_infoGet detailed package info (version, license, deps, maintainers)npm_downloadsGet download statistics (daily, weekly, monthly, yearly)npm_versionsList recent versions of a packagenpm_compareCompare two packages side by sidenpm_depsList all dependencies of a packageTry It Out
After setup, try these prompts with your AI agent:
→Search npm for state management libraries
→Show me info about the express package
→Compare react vs preact
→How many downloads does zod get per month?
→What are the dependencies of next?
Prerequisites & system requirements
- An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
- Node.js 18+ with npm/npx installed
Alternative installation methods
Cursor
npx -y mcp-server-npmKeep this setup from going cold
Save the docs, env vars, and workflow around NPM MCP Server in Conare so Claude Code, Codex, and Cursor remember it next time.