Node.js API Docs
An MCP Server for Node.js API documentation
What is Node.js API Docs?
Node.js API Docs is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server for node.js api documentation
An MCP Server for Node.js API documentation
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- An MCP Server for Node.js API documentation
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx nodejs-api-docs-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Node.js API Docs
The Node.js API Docs MCP Server gives AI assistants like Claude instant access to the official Node.js API reference documentation. Instead of relying on the model's training-time knowledge, this server enables accurate, up-to-date lookups of Node.js built-in modules such as fs, path, http, stream, crypto, and more. It is available as an npx command requiring no global installation, and can also run inside Docker for isolated environments. Compatible with Claude Desktop, Cursor AI, and any MCP client.
Prerequisites
- Node.js 18 or higher installed (for npx usage)
- npm 7+ installed alongside Node.js
- Claude Desktop, Cursor AI, or another MCP-compatible client
- Docker Desktop (optional, for the Docker-based installation variant)
- Internet access to download the package on first run via npx
Verify Node.js and npx are available
Confirm that Node.js and npx are installed and meet the version requirements before configuring the MCP server.
node --version # should be v18 or higher
npx --versionTest the server from the command line
Run the server once via npx to confirm it starts without errors. The -y flag auto-accepts the install prompt. The server communicates over stdio and will appear to hang — that is normal, it is waiting for MCP client input. Press Ctrl+C to stop.
npx -y mcp-server-nodejs-api-docsLocate your Claude Desktop configuration file
Open the Claude Desktop config file in a text editor. On macOS this is ~/Library/Application Support/Claude/claude_desktop_config.json. On Windows it is %APPDATA%\Claude\claude_desktop_config.json.
# macOS
open "$HOME/Library/Application Support/Claude/claude_desktop_config.json"
# Windows (PowerShell)
notepad "$env:APPDATA\Claude\claude_desktop_config.json"Add the MCP server entry to the config file
Insert the mcpServers block into your Claude Desktop config. On Windows use the cmd variant shown in the examples section. Save the file.
Restart Claude Desktop
Fully quit Claude Desktop (not just close the window) and reopen it. The app reads config only on startup. After restarting you should see 'nodejs-api-docs' in the connected MCP servers list.
(Optional) Configure for Cursor AI
For Cursor AI, add the same npx configuration to ~/.cursor/mcp.json instead of the Claude Desktop config file. The server key name and command structure are identical.
# ~/.cursor/mcp.json
{
"mcpServers": {
"nodejs-api-docs": {
"command": "npx",
"args": ["-y", "mcp-server-nodejs-api-docs"]
}
}
}Node.js API Docs Examples
Client configuration
Claude Desktop configuration for macOS and Linux using npx. Windows users should use the cmd variant.
{
"mcpServers": {
"nodejs-api-docs": {
"command": "npx",
"args": ["-y", "mcp-server-nodejs-api-docs"]
}
}
}Windows client configuration
On Windows, npx must be invoked through cmd.exe to resolve correctly.
{
"mcpServers": {
"nodejs-api-docs": {
"command": "cmd",
"args": ["/c", "npx", "-y", "mcp-server-nodejs-api-docs"]
}
}
}Prompts to try
Ask Claude about Node.js built-in APIs and it will look up the real documentation rather than relying on training data.
- "What arguments does fs.readFile accept and what does each do?"
- "Show me the Node.js stream.pipeline API signature with examples."
- "What events does the http.Server class emit?"
- "How does the crypto.createHash function work in Node.js?"
- "What is the difference between path.join and path.resolve?"Troubleshooting Node.js API Docs
Claude Desktop does not show the MCP server as connected
Confirm the JSON in claude_desktop_config.json is valid (no trailing commas, correct bracket nesting). You can validate it with: node -e "require('./claude_desktop_config.json')" in the config directory. Then fully quit and restart Claude Desktop.
npx command fails with EACCES or permission errors
This is often an npm cache permission issue. Run: sudo chown -R $(whoami) ~/.npm to fix ownership. Alternatively, use nvm to manage your Node.js installation which avoids sudo-related permission problems.
Server starts but returns stale or incorrect Node.js API information
Check the debug log at /tmp/mcp-server-nodejs-docs.log (or %TEMP%\mcp-server-nodejs-docs.log on Windows) for errors. Try clearing the npx cache with: npx clear-npx-cache and restarting. This forces a fresh download of the latest package version.
Frequently Asked Questions about Node.js API Docs
What is Node.js API Docs?
Node.js API Docs is a Model Context Protocol (MCP) server that mcp server for node.js api documentation It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Node.js API Docs?
Follow the installation instructions on the Node.js API Docs GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Node.js API Docs?
Node.js API Docs works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Node.js API Docs free to use?
Yes, Node.js API Docs is open source and available under the Apache 2.0 license. You can use it freely in both personal and commercial projects.
Node.js API Docs Alternatives — Similar Developer Tools Servers
Looking for alternatives to Node.js API Docs? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Node.js API Docs in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Node.js API Docs?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.