- Home
- MCP servers
- NPM Package Docs
NPM Package Docs
- 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.