MCP Package Docs Server

get_npm_package_doc

Fetch complete NPM package documentation, including specific sections like installation or API, by providing the package name. Optionally filter by version, search query, or project path for targeted results.

Instructions

Get full documentation for an NPM package

Input Schema

NameRequiredDescriptionDefault
maxLengthNoOptional maximum length of the returned documentation
packageYesPackage name (e.g. axios)
projectPathNoOptional path to project directory for local .npmrc files
queryNoOptional search query to filter documentation content
sectionNoOptional section to retrieve (e.g. 'installation', 'api', 'examples')
versionNoOptional package version

Input Schema (JSON Schema)

{ "properties": { "maxLength": { "description": "Optional maximum length of the returned documentation", "type": "number" }, "package": { "description": "Package name (e.g. axios)", "type": "string" }, "projectPath": { "description": "Optional path to project directory for local .npmrc files", "type": "string" }, "query": { "description": "Optional search query to filter documentation content", "type": "string" }, "section": { "description": "Optional section to retrieve (e.g. 'installation', 'api', 'examples')", "type": "string" }, "version": { "description": "Optional package version", "type": "string" } }, "required": [ "package" ], "type": "object" }

You must be authenticated.

Other Tools from MCP Package Docs Server

Related Tools

ID: mrk7ul7nz7