MCP.so
登录
N

Npm Package Docs MCP Server

@meanands

基本信息

分类

记忆与知识

传输方式

stdio

作者

meanands

提交者

Anand Sukumaran

关于 Npm Package Docs MCP Server

A Model Context Protocol (MCP) server that provides up-to-date documentation for npm packages directly in your IDE. This tool fetches the latest README documentation from either the package's GitHub repository or the README bundled with the npm package itself.

#npm#docs#documentation#npm-package-doc

Npm Package Docs MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "npm-package-docs-mcp": {
      "command": "npx",
      "args": [
        "meanands/npm-package-docs-mcp"
      ]
    }
  }
}

Npm Package Docs MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is Npm Package Docs?

This MCP tool helps your IDE retrieve the most current README documentation for any npm package, fetching it from the package’s GitHub repository or the npm package tarball as a fallback.

How to use Npm Package Docs?

Use the provided tool get_docs_for_npm_package with the packageName parameter (e.g., "react") through any MCP‑compatible client like Cursor.

Key features of Npm Package Docs

  • Fetches README from package’s GitHub repository (main branch)
  • Falls back to npm package tarball if no GitHub repo
  • Delivers real‑time, up‑to‑date documentation
  • Integrates directly in your IDE via the MCP protocol

Use cases of Npm Package Docs

  • Getting the latest README for a new npm package.
  • Verifying current API signatures before using a function.
  • Avoiding deprecated methods by checking up‑to‑date docs.
  • Understanding package usage patterns directly in your editor.

常见问题

1

What is Npm Package Docs?

It’s an MCP server that retrieves the latest documentation for any npm package, fetching the README from the package’s GitHub repository or the npm package tarball.

2

How does it fetch documentation?

It first tries the package’s GitHub repository (checking `main`, `master`, or `develop` branches). If no GitHub repository is found, it downloads the npm package tarball and extracts the README.

3

Which IDEs does it support?

It works with any IDE that supports the MCP protocol, such as Cursor.

4

Is the documentation always up‑to‑date?

Yes, the tool fetches the latest documentation in real‑time from the source, ensuring you always have the most current information.

5

What packages can I use it with?

Any npm package. Provide the package name as the `packageName` parameter (e.g., `"lodash"`).

评论

记忆与知识 分类下的更多 MCP 服务器