NPM MCP Server
NPM MCP 服务器
这是一个模型上下文协议 (MCP) 服务器,提供获取有关 npm 包的信息的功能。
特征
软件包搜索:获取有关 npm 软件包详细信息的工具
热门软件包:列出 10 个最热门 npm 软件包的资源
Related MCP server: NPM Helper MCP
安装
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 NPM MCP 服务器:
npx -y @smithery/cli install @mateusribeirocampos/npm-mcp-server --client claude手动安装
npm install建造
npm run build跑步
npm start对于开发:
npm run dev用法
该服务器公开两个主要功能:
1. searchNpmPackage 工具
获取特定 npm 包的详细信息。该工具返回全面的包信息,包括:
包裹名字
最新版本
描述
作者信息
主页网址
存储库 URL
依赖项列表
使用示例:
const result = await server.tools.searchNpmPackage({ packageName: "react" });响应示例:
{
"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 资源
列出 10 个最受欢迎的 npm 软件包,按受欢迎程度排序。列表中的每个软件包都包含:
包裹名字
描述
当前版本
资源 URI: npm://popular
响应示例:
[
{
"name": "lodash",
"description": "Lodash modular utilities",
"version": "4.17.21"
},
// ... more packages
]与人工智能模型的集成
该 MCP 服务器可以与 AI 模型集成,以:
安装前获取软件包信息
比较不同的包版本
分析依赖关系
寻找热门替代品
获取快速包裹摘要
技术
TypeScript
模型上下文协议 SDK
节点获取
佐德
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,03018TypeScriptMIT
- AlicenseNot gradedqualityDmaintenanceA 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.678MIT
- AlicenseNot gradedqualityDmaintenanceA 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.924MIT
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