NPM MCP 服务器
这是一个模型上下文协议 (MCP) 服务器,提供获取有关 npm 包的信息的功能。
特征
软件包搜索:获取有关 npm 软件包详细信息的工具
热门软件包:列出 10 个最热门 npm 软件包的资源
安装
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 NPM MCP 服务器:
手动安装
建造
跑步
对于开发:
用法
该服务器公开两个主要功能:
1. searchNpmPackage 工具
获取特定 npm 包的详细信息。该工具返回全面的包信息,包括:
包裹名字
最新版本
描述
作者信息
主页网址
存储库 URL
依赖项列表
使用示例:
响应示例:
2. popular-packages 资源
列出 10 个最受欢迎的 npm 软件包,按受欢迎程度排序。列表中的每个软件包都包含:
包裹名字
描述
当前版本
资源 URI: npm://popular
响应示例:
与人工智能模型的集成
该 MCP 服务器可以与 AI 模型集成,以:
安装前获取软件包信息
比较不同的包版本
分析依赖关系
寻找热门替代品
获取快速包裹摘要
技术
TypeScript
模型上下文协议 SDK
节点获取
佐德
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
模型上下文协议服务器允许 AI 模型获取有关 npm 包的详细信息并发现 npm 生态系统中的流行包。
Related MCP Servers
- AsecurityAlicenseAqualityA comprehensive Model Context Protocol server that provides advanced Node.js development tooling for automating project creation, component generation, package management, and documentation with AI-powered assistance.Last updated -75MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server providing utility tools for development and testing, offering functionalities like personalized greetings, random card drawing, and datetime formatting with an extensible architecture.Last updated -19917MIT License
- AsecurityAlicenseAqualityA 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.Last updated -19917TypeScriptMIT License
- -securityAlicense-qualityA 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.Last updated -476MIT License