
mateusribeirocampos_npm-mcp-server
Mirror ofhttps://github.com/mateusribeirocampos/npm-mcp-server
3 years
Works with Finder
0
Github Watches
0
Github Forks
0
Github Stars
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
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 claude
Installing Manually
npm install
Build
npm run build
Running
npm start
For development:
npm run dev
Usage
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
相关推荐
I find academic articles and books for research and literature reviews.
Converts Figma frames into front-end code for various mobile frameworks.
Confidential guide on numerology and astrology, based of GG33 Public information
Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.
Advanced software engineer GPT that excels through nailing the basics.
Delivers concise Python code and interprets non-English comments
💬 MaxKB is a ready-to-use AI chatbot that integrates Retrieval-Augmented Generation (RAG) pipelines, supports robust workflows, and provides advanced MCP tool-use capabilities.
Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx
MCP server to provide Figma layout information to AI coding agents like Cursor
Reviews

user_UkBvf1YB
As a dedicated user of mateusribeirocampos_npm-mcp-server, I can attest to its superior performance and reliability. Developed by MCP-Mirror, this server is a game-changer for managing NPM packages efficiently. The clear documentation and user-friendly interface make it accessible even for beginners. Highly recommended for anyone looking to streamline their NPM server management. Great work, MCP-Mirror!