MCP Server for NPM Package Info
Provides a tool to fetch information about npm packages, including details such as version, description, author, and other metadata from the npm registry.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Server for NPM Package Infoget info on express"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Server for NPM Package Info
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.
How to use the MCP Server
Define the MCP Server in your Agent MCP configuration, as follows:
{
"servers": {
"npm-and-node-tools": {
"type": "http",
"url": "http://localhost:3500/mcp"
}
},
"inputs": []
}Features
Exposes a
getNpmPackageInfotool using MCPUses HTTP (Streamable HTTP) transport for remote connections
Returns structured package information
Supports session management for stateful connections
Installation
npm installUsage
Start the server:
npm startThe server will start listening on port 3000 by default. You can customize the port by setting the PORT environment variable:
PORT=3500 npm startThis server is designed to be used with IDE integrations and AI agents that support the Model Context Protocol over HTTP.
Tool: getNpmPackageInfo
Parameters:
packageName(string): The name of the npm package to look up
Returns:
packageInfo(object): JSON object containing all available information about the package
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/snyk-labs/mcp-server-npm-goof'
If you have feedback or need assistance with the MCP directory API, please join our Discord server