Node.js API Docs

v1.0.0Developer Toolsstable

An MCP Server for Node.js API documentation

claude-aiclaude-desktopcursorcursor-aillm
Share:
10
Stars
0
Downloads
0
Weekly
0/5

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

Quick Node.js API reference
Interactive documentation access
lirantal

Maintainer

LicenseApache 2.0
Languagetypescript
Versionv1.0.0
UpdatedMay 18, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx nodejs-api-docs-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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 --version
2

Test 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-docs
3

Locate 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"
4

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.

5

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.

6

(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.

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.

Quick Config Preview

{ "mcpServers": { "nodejs-api-docs-mcp-server": { "command": "npx", "args": ["-y", "nodejs-api-docs-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides