Npm Package Docs
@meanands
About 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.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"npm-package-docs-mcp": {
"command": "npx",
"args": [
"meanands/npm-package-docs-mcp"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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").
More Memory & Knowledge MCP servers
📓 GistPad MCP
lostintangent📓 An MCP server for managing your personal knowledge, daily notes, and re-usable prompts via GitHub Gists
Obsidian MCP Server
StevenStavrakisA simple MCP server for Obsidian
Mcp Knowledge Graph
shanehollomanMCP server enabling persistent memory for Claude through a local knowledge graph - fork focused on local development
RAG Documentation MCP Server
hannesrudolphAn MCP server implementation that provides tools for retrieving and processing documentation through vector search, enabling AI assistants to augment their responses with relevant documentation context.
Anytype MCP Server
anyprotoAn MCP server enabling AI assistants to interact with Anytype - your encrypted, local and collaborative wiki - to organize objects, lists, and more through natural language.
Comments