pkgdiet for Cursor
io.github.om-tajne/pkgdiet
Put your node_modules on a diet - find unused dependencies, analyze health, and reduce size
client:Cursor
transport:stdio
runtime:npm
Install pkgdiet in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"pkgdiet": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"pkgdiet"
]
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs