MCP Server for Node.js API Documentation
@snyk-labs
MCP Server for the Node.js API documentation
Overview
What is MCP Server for Node.js API Documentation?
This MCP server provides access to the official Node.js API documentation by fetching it from nodejs.org and exposing it through MCP tools for querying modules, classes, or methods.
How to use MCP Server for Node.js API Documentation?
Install dependencies with npm install, then start the server with npm run start. The server listens over stdio and provides tools like node-search and node-list. To enable debug logging, start with node index.js --debug.
Key features of MCP Server for Node.js API Documentation
- Fetches the latest Node.js API documentation.
- Provides
node-searchtool to find modules or list methods. - Provides
node-listtool to summarize all available modules. - Logs activity and errors to
/tmp/mcp-server-nodejs-docs.log. - Connects to MCP clients via stdio (e.g., Cursor, Qodo AI).
Use cases of MCP Server for Node.js API Documentation
- Query documentation for a specific Node.js module or method.
- List all available Node.js modules with their methods.
- Integrate Node.js API docs into AI-assisted coding workflows.
- Debug documentation lookups via log file monitoring.
FAQ from MCP Server for Node.js API Documentation
What tools does this server provide?
It provides node-search for querying specific modules or methods and node-list for a summary of all available modules.
What are the runtime requirements?
Node.js and npm are required. The server runs as a stdio-based MCP server.
How do I connect it to an MCP client like Cursor?
In the client’s MCP server settings, add a custom server with the absolute path to Node and the index.js file. For example: /Users/youruser/.nvm/versions/node/v20.11.1/bin/node /Users/youruser/projects/mcp-server-nodejs-docs/index.js.
Where does the server log its activity?
Logs are written to /tmp/mcp-server-nodejs-docs.log using pino. Monitor with tail -f.
Does the server support debug mode?
Yes, start with --debug flag: node index.js --debug to enable debug logging.