loading…
Search for a command to run...
loading…
Provides a tool to fetch npm package information via the Model Context Protocol.
Provides a tool to fetch npm package information via the Model Context Protocol.
A Model Context Protocol server that provides a tool to fetch npm package information.
Security Disclaimer: this repository is intentionally vulnerable, intended to be used as an educational tool for MCP Server security.
Define the MCP Server in your Agent MCP configuration, as follows:
{
"servers": {
"npm-and-node-tools": {
"type": "http",
"url": "http://localhost:3500/mcp"
}
},
"inputs": []
}
getNpmPackageInfo tool using MCPnpm install
Start the server:
npm start
The server will start listening on port 3000 by default. You can customize the port by setting the PORT environment variable:
PORT=3500 npm start
This server is designed to be used with IDE integrations and AI agents that support the Model Context Protocol over HTTP.
Parameters:
packageName (string): The name of the npm package to look upReturns:
packageInfo (object): JSON object containing all available information about the packageRun in your terminal:
claude mcp add mcp-server-for-npm-package-info -- npx Security
Low riskAutomated heuristic from public metadata — not a security guarantee.