io.github.rog0x/npm
npm package search, audit, bundle analysis for AI agents
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
@rog0x/mcp-npm-toolsclaude mcp add npm -- npx -y @rog0x/mcp-npm-tools@1.0.1
{
"mcpServers": {
"npm": {
"command": "npx",
"args": [
"-y",
"@rog0x/mcp-npm-tools@1.0.1"
]
}
}
}
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
mcp-npm-tools
MCP server providing npm and Node.js package management tools for AI agents.
Tools
npm_search
Search the npm registry for packages by keyword. Returns name, description, version, weekly downloads, and last publish date.
npm_package_info
Get detailed information about a specific npm package: all published versions, dependencies, maintainers, repository URL, license, unpacked size, npm quality/popularity/maintenance scores, and weekly download count.
npm_dependency_audit
Analyze a package.json file to find outdated dependencies (compares pinned/range version against latest), deprecated packages, and known security vulnerabilities via the npm bulk advisory API.
npm_bundle_size
Estimate the bundle size of an npm package using the Bundlephobia API. Returns minified size, gzipped size, dependency count, and tree-shaking support indicators.
npm_compare_packages
Compare two or more packages side by side across multiple dimensions: weekly downloads, bundle size, number of runtime dependencies, last publish date, GitHub stars, and license.
Setup
npm install
npm run build
Usage with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"npm-tools": {
"command": "node",
"args": ["D:/products/mcp-servers/mcp-npm-tools/dist/index.js"]
}
}
}
Development
npm run build # compile TypeScript
npm start # run the server
License
MIT
Questions fréquentes
Qu'est-ce que io.github.rog0x/npm ?
npm package search, audit, bundle analysis for AI agents
Comment installer io.github.rog0x/npm ?
Il s'exécute sur votre machine. Dans Claude Code : claude mcp add npm -- npx -y @rog0x/mcp-npm-tools@1.0.1. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour io.github.rog0x/npm ?
Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.
io.github.rog0x/npm est-il open source ?
Oui. Son code est sur GitHub sous licence MIT.
Qui maintient io.github.rog0x/npm ?
Il est publié par rog0x. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.