NPM Package Docs

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.
  • typescript

10

GitHub Stars

typescript

Language

4 months ago

First Indexed

3 weeks ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

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

You provide an MCP server that exposes up-to-date npm package documentation to your IDE. It fetches the latest README content from the package’s GitHub repo when available, or from the bundled package if not, ensuring you always see current information while you code.

How to use

Open your MCP client and connect to the npm docs MCP server you configured. Then request documentation for any npm package by name to view its README content in your IDE. You can ask for a package like express, react, or lodash and you’ll receive the most recent documentation available.

How to install

Prerequisites you need before installation are Node.js version 16 or higher and an MCP-capable IDE like Cursor.

Install and configure the MCP server in your IDE using the provided configuration snippet.

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

Additional notes

To run and develop this MCP server locally, you can use the standard development commands shown for building and starting the project. These include installing dependencies, building the project, and starting the server in development mode.

npm install
npm run dev
`

Available tools

get_docs_for_npm_package

Retrieves the latest documentation for any npm package by fetching the README from the package's GitHub repository or, if unavailable, from the package tarball.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational