Skip to main content
Glama

mcp-npm

npm MCP — 封装了 npm 的 Registry API(免费,无需认证)

属于 Pipeworx —— 一个将 AI 智能体连接到 1394+ 个实时数据源的 MCP 网关。

工具

工具

描述

search_packages

按关键词搜索 npm 包。返回包名、描述、最新版本、发布日期和发布者。在为某个任务寻找库时使用。

get_package

获取特定 npm 包的完整详情:版本、描述、依赖、主页、仓库和许可证。在 search_packages 之后使用,以评估候选包。

get_downloads

获取 npm 包在指定时段(last-day、last-week、last-month、last-year)或自定义日期范围(如 "2024-01-01:2024-06-30")内的下载次数。返回总下载量、开始日期和结束日期。

list_versions

列出已发布的 npm 包版本,包含发布日期、dist-tags(latest/next/beta)和弃用通知——回答“ 有哪些版本”“ 最后发布时间是什么时候”“最新版本是否已弃用”。返回按从新到旧排列的版本,以及该包的创建/最后修改时间戳。

get_version_info

获取特定版本(或 dist-tag)的 npm 包元数据:version、依赖、dev/peer 依赖、engines、license、tarball + integrity hash + unpacked size,以及任何弃用通知。用于“@ 的依赖”的查询、全版本审计或检查某个具体发布。version 接受精确版本号(如 "4.18.2")、dist-tag(如 "latest"、"next"),或省略以使用最新版本。

Related MCP server: @yawlabs/npmjs-mcp

快速启动

添加到你的 MCP 客户端(Claude Desktop、Cursor、Windsurf 等):

{
  "mcpServers": {
    "npm": {
      "url": "https://gateway.pipeworx.io/npm/mcp"
    }
  }
}

或者先连接到完整的 Pipeworx 网关,以访问全部 1394+ 个数据源:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://gateway.pipeworx.io/mcp"
    }
  }
}

与 ask_pipeworx 配合使用

无需直接调用工具,你可以用自然的英文提出问题:

ask_pipeworx({ question: "your question about Npm data" })

网关会选择合适的工具并自动填充参数。

更多

许可证

MIT

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Provides comprehensive contextual information about npm packages including README files, versions, dependencies, download statistics, and search functionality. Enables users to explore and analyze npm packages through natural language queries with intelligent GitHub README fetching and branch fallback.
    9
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Enables npm registry operations from MCP clients like Claude Code and Cursor, with 64 tools for package intelligence, security audits, dependency analysis, org/team management, and write operations like deprecate and unpublish.
    64
    362
    2
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Grants AI agents real-time access to the NPM registry, enabling package metadata retrieval, version checks, and dependency auditing for up-to-date code generation.
    7
    3

View all related MCP servers

Related MCP Connectors

  • Provide AI-powered real-time analysis and intelligence on NPM packages, including security, depend…

  • npm, PyPI & crates.io intel for AI agents: versions, popularity, deps, health. No API keys.

  • Dev-registry data: npm/PyPI/Docker/VS Code packages, dep graphs, vulns, 50+ ecosystems.

View all MCP Connectors

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/pipeworx-io/mcp-npm'

If you have feedback or need assistance with the MCP directory API, please join our Discord server