MCP Server for Node.js API Documentation
by Liran Tal
This project implements a Model Context Protocol (MCP) server that provides access to the official Node.js API documentation. It fetches the documentation from `nodejs.org` and exposes it through MCP tools.
Last updated: N/A
What is MCP Server for Node.js API Documentation?
This is an MCP server that fetches and provides access to the official Node.js API documentation, allowing users to query documentation for specific modules, classes, or methods through MCP tools.
How to use MCP Server for Node.js API Documentation?
To use this server, clone the repository, install dependencies with npm install
, and start the server with npm run start
. Configure your MCP client (e.g., Cursor, Qodo AI) to launch the server using the command node index.js
, ensuring you provide the absolute path to Node.js and the index.js
file.
Key features of MCP Server for Node.js API Documentation
Fetches the latest Node.js API documentation
Provides MCP tools to query documentation
Offers a search tool (
node-search
) to find modules or list available methodsOffers a list tool (
node-list
) to get a summary of all available modules
Use cases of MCP Server for Node.js API Documentation
Quickly access Node.js API documentation within MCP-enabled IDEs or tools
Search for specific modules, classes, or methods without leaving your coding environment
Integrate Node.js API documentation into AI-powered coding assistants
Automate documentation lookups during development
FAQ from MCP Server for Node.js API Documentation
How do I start the server?
How do I start the server?
Run npm run start
in your terminal.
How do I enable debug logging?
How do I enable debug logging?
Start the server with the --debug
flag: node index.js --debug
Where are the logs stored?
Where are the logs stored?
Logs are stored in /tmp/mcp-server-nodejs-docs.log
How do I connect this server to Cursor?
How do I connect this server to Cursor?
Go to Settings
-> Cursor Settings
-> MCP Servers
. Click Add Server
and enter the full command, like: /Users/youruser/.nvm/versions/node/v20.11.1/bin/node /Users/youruser/projects/mcp-server-nodejs-docs/index.js
(replace paths with your actual paths).
What if the server isn't working?
What if the server isn't working?
Check the logs at /tmp/mcp-server-nodejs-docs.log
for errors. Ensure that Node.js is installed and accessible in your PATH, and that the paths in your MCP client configuration are correct.