NPM MCP Server
The NPM MCP Server provides tools to fetch and analyze npm package information:
Search npm packages: Fetch detailed information about specific packages (name, version, description, author, homepage, repository, dependencies)
List popular packages: Retrieve the 10 most popular npm packages with their names, descriptions, and versions
Integrate with AI workflows: Support for package comparison, dependency analysis, and finding alternatives
Development modes: Supports both production (
npm start) and development (npm run dev) environments
Allows retrieval of Lodash package information as part of the popular packages resource functionality.
Provides tools for searching and retrieving detailed information about npm packages, including package metadata, version information, dependencies, and popularity rankings.
Enables access to React package information including version details, description, and repository data to support development decisions.
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., "@NPM MCP Servershow me details about the express package"
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.
NPM MCP Server
This is a Model Context Protocol (MCP) server that provides functionality to fetch information about npm packages.
Features
Package Search: Tool to fetch detailed information about npm packages
Popular Packages: Resource to list the 10 most popular npm packages
Related MCP server: NPM Helper MCP
Installation
Installing via Smithery
To install NPM MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @mateusribeirocampos/npm-mcp-server --client claudeInstalling Manually
npm installBuild
npm run buildRunning
npm startFor development:
npm run devUsage
The server exposes two main functionalities:
1. searchNpmPackage Tool
Fetches detailed information about a specific npm package. The tool returns comprehensive package information including:
Package name
Latest version
Description
Author information
Homepage URL
Repository URL
Dependencies list
Example usage:
const result = await server.tools.searchNpmPackage({ packageName: "react" });Example response:
{
"name": "react",
"version": "18.2.0",
"description": "React is a JavaScript library for building user interfaces.",
"author": "Meta Open Source",
"homepage": "https://reactjs.org/",
"repository": {
"url": "https://github.com/facebook/react.git"
},
"dependencies": {
"loose-envify": "^1.1.0"
}
}2. popular-packages Resource
Lists the 10 most popular npm packages, sorted by popularity. Each package in the list includes:
Package name
Description
Current version
Resource URI: npm://popular
Example response:
[
{
"name": "lodash",
"description": "Lodash modular utilities",
"version": "4.17.21"
},
// ... more packages
]Integration with AI Models
This MCP server can be integrated with AI models to:
Get package information before installation
Compare different package versions
Analyze dependencies
Find popular alternatives
Get quick package summaries
Technologies
TypeScript
Model Context Protocol SDK
Node-fetch
Zod
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- AlicenseAqualityAmaintenanceA Model Context Protocol server that enables AI-powered analysis of NPM packages through multiple tools for security vulnerability scanning, dependency analysis, package comparison, and quality assessment.12191,41918TypeScriptMIT
- Alicense-qualityDmaintenanceA Model Context Protocol server that provides tools for NPM package management, including dependency searching, updates, conflict resolution, and version management to help AI assistants safely upgrade project dependencies.418MIT
- Alicense-qualityDmaintenanceA Model Context Protocol server that enables language models to interact with npm services securely, providing tools for package management, project initialization, script execution, and security auditing.8MIT
- AlicenseAqualityCmaintenanceEnables AI coding agents to search the npm registry and retrieve package metadata, READMEs, download stats, GitHub details, and usage snippets via the Model Context Protocol.920MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
npm, PyPI & crates.io intel for AI agents: versions, popularity, deps, health. No API keys.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/mateusribeirocampos/npm-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server