Node.js API Docs

An MCP server for accessing and searching Node.js API documentation.

mcp-server-nodejs-api-docs

An MCP Server for Node.js API documentation

npm version license downloads build codecov Responsible Disclosure Policy

Usage: Generic CLI

npx mcp-server-nodejs-api-docs

You can debug calls for the MCP Server by inspecting the file mcp-server-nodejs-docs.log in your system's temporary directory (e.g., /tmp on Unix-like systems or %TEMP% on Windows) which this MCP Server writes to.

Usage: as a Docker container

You can run this MCP Server as a Docker container by using the following command:

docker pull ghcr.io/lirantal/mcp-server-nodejs-api-docs:latest

You can also use the Docker image directly in your MCP Server configuration for various applications, see examples below.

Usage for Claude Desktop:

Edit your Claude Desktop MCP Servers configuration file (located on macOS here: ~/Library/Application Support/Claude/claude_desktop_config.json) and add the following:

on macOS or Linux:

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

for Windows users:

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

or with the Docker image:

{
  "mcpServers": {
    "nodejs-api-docs": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "--init", "-e", "DOCKER_CONTAINER=true", "ghcr.io/lirantal/mcp-server-nodejs-api-docs:latest"]
    }
  }
}

Usage for Cursor AI:

Edit your Cursor AI MCP file (located at ~/.cursor/mcp.json) and add the following:

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

Development

To build the project with Docker locally run:

docker build -t mcp-server-nodejs-api-docs .

Then run the container as follows for your MCP Server configuration:

docker run -i --rm --init -e DOCKER_CONTAINER=true mcp-server-nodejs-api-docs

Contributing

Please consult CONTRIBUTING for guidelines on contributing to this project.

Author

mcp-server-nodejs-api-docs © Liran Tal, Released under the Apache-2.0 License.

Máy chủ liên quan

NotebookLM Web Importer

Nhập trang web và video YouTube vào NotebookLM chỉ với một cú nhấp. Được tin dùng bởi hơn 200.000 người dùng.

Cài đặt tiện ích Chrome