NPM Package Documentation

Fetches npm package documentation by retrieving README files from GitHub repositories or package tarballs with automatic fallback

meanands 11
Claude CodeClaude DesktopGeneric
View source ↗

This MCP server provides up-to-date documentation for npm packages directly in your IDE by fetching README files from either the package's GitHub repository or the npm package tarball itself. Built by Anand Sukumaran Nair using TypeScript and the MCP SDK, it implements a dual-fallback strategy that first attempts to retrieve documentation from GitHub's raw content API across multiple branch names (master, main, develop), then falls back to downloading and extracting the package tarball to locate README files in various formats. The implementation handles GitHub URL parsing, temporary file management, and multiple README file extensions, making it valuable for developers who need quick access to package documentation without leaving their development environment or manually navigating to external documentation sites.

Source

Repository: https://github.com/meanands/npm-package-docs-mcp

Maintain NPM Package Documentation?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[NPM Package Documentation on getagentictools](https://getagentictools.com/mcp/meanands-npm-package-docs-mcp?ref=badge)