# NPM Package Documentation

> Use this tool when you need to access up-to-date npm package documentation directly in your IDE, solving the problem of manually searching for package information outside of your development environment. It takes package names as input and provides README files as output, fetched from GitHub repositories or npm package tarballs. Ideal for developers seeking efficient access to package documentation without disrupting their workflow.

Canonical page: https://skillsregistry.net/skills/npm-package-docs  
JSON: https://api.skillsregistry.net/v1/skills/npm-package-docs

## Description

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.

## Trust

- **Trust score (0–1):** 0.90
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** version-control
- **Updated:** 2026-09-28

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/npm-package-docs)
- **Repository:** <https://github.com/meanands/npm-package-docs-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "npm-package-docs"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/npm-package-docs` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/npm-package-docs/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
