Skip to content
MCP server

Npm

Structured npm/pnpm operations (install, audit, outdated, list) as typed JSON.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.8.0
Listing updated
4 days ago

About Npm

Npm is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add npm -- npx -y @paretools/npm

Add to claude_desktop_config.json

{
  "mcpServers": {
    "npm": {
      "command": "npx",
      "args": [
        "-y",
        "@paretools/npm"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "npm": {
      "command": "npx",
      "args": [
        "-y",
        "@paretools/npm"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "npm": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@paretools/npm"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "npm": {
      "command": "npx",
      "args": [
        "-y",
        "@paretools/npm"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "npm": {
      "command": "npx",
      "args": [
        "-y",
        "@paretools/npm"
      ]
    }
  }
}

Pricing

Open source

Npm FAQ

Is Npm free?

Yes. Npm is open source, so you can use and self-host it for free.

How do I add Npm to Claude Code?

Run this command in your terminal: claude mcp add npm -- npx -y @paretools/npm