MCP.so
登录
N

Npm Package Docs

@meanands

关于 Npm Package Docs

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.

基本信息

分类

记忆与知识

传输方式

stdio

发布者

meanands

提交者

Anand Sukumaran

配置

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

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

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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.

FAQ from Npm Package Docs

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.

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.

Which IDEs does it support?

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

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.

What packages can I use it with?

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

评论

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