技能潮 SkillTide 提交收录
官方说明7 个来源MCP 服务8 天前
meanands/npm-package-docs-mcp

meanands/npm-package-docs-mcp

☁️ - Up-to-date documentation for npm packages, fetched from the latest README in the package's GitHub…
在 GitHub 查看 ↗直链 · 无中转页
配置模板(请按你的客户端调整)
claude mcp add npm-package-docs-mcp -- npx -y npm-package-docs-mcp
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
11 ★ · meanands/npm-package-docs-mcp · 取自 GitHub 搜索 API · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 7 个来源列出
评分构成
综合分 703 · 11 ★ · 7 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 meanands/npm-package-docs-mcp;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

NPM Package Docs MCP

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

A Model Context Protocol (MCP) tool 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.
What it does
This MCP tool helps your IDE (like Cursor) get the most current documentation for any npm package instead of relying on outdated or incomplete information. It works by:
1. **GitHub Repository First**: If the package has a GitHub repository, it fetches the README directly from the repository's main branch (trying master, main, or develop branches)
2. **NPM Package Fallback**: If no GitHub repository is available, it downloads the package tarball and extracts the README file from the bundled package
3. **Real-time Updates**: Always gets the latest documentation, ensuring you have the most current information
Why this matters
- **No more guesswork**: Get accurate, up-to-date documentation instead of relying on potentially outdated IDE suggestions
- **Better development experience**: Understand package APIs and usage patterns with current documentation
- **Reduced errors**: Avoid issues caused by using outdated API references or deprecated methods
- **Seamless integration**: Works directly in your IDE through the MCP protocol
Tools Provided
get_docs_for_npm_package
**Description**: Retrieves the latest documentation for any npm package
**Parameters**:
- packageName (string): The name of the npm package (e.g., "react", "lodash", "express")
**Returns**: The README content as text, either from the GitHub repository or the package tarball
**Example Usage**:
How it Works
1. **Package Lookup**: Queries the npm registry to get package metadata
2. **Repository Detection**: Checks if the package has a GitHub repository URL
3. **GitHub Fetch**: If available, fetches README.md from the repository's main branch
4. **Tarball Extraction**: If no GitHub repo, downloads and extracts the package tarball to find the README
5. **Content Return**: Returns the documentation content to your IDE
Installation
Prerequisites
- Node.js (v16 or higher)
- Cursor IDE (or any MCP-compatible IDE)
Installation
Add to Cursor
Add manually to Cursor
Edit your Cursor MCP configuration file (usually located at ~/.cursor/mcp.json):
5. **Restart Cursor**: Restart Cursor IDE to load the new MCP server
Usage
Once installed, you can use the tool in Cursor by:
来源
awesome · https://github.com/meanands/npm-package-docs-mcp
按领域浏览
MCP 服务
Traction
11 ★
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引