Skip to main content
Glama
lirantal

NodeJS API Docs MCP Server

by lirantal

Uso: CLI genérico

npx mcp-server-nodejs-api-docs

Puedes depurar las llamadas al servidor MCP inspeccionando el archivo mcp-server-nodejs-docs.log en el directorio temporal de tu sistema (por ejemplo, /tmp en sistemas tipo Unix o %TEMP% en Windows), en el cual escribe este servidor MCP.

Related MCP server: PyMCP

Uso: como contenedor Docker

Puedes ejecutar este servidor MCP como un contenedor Docker utilizando el siguiente comando:

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

También puedes usar la imagen de Docker directamente en la configuración de tu servidor MCP para diversas aplicaciones; consulta los ejemplos a continuación.

Uso para Claude Desktop:

Edita tu archivo de configuración de servidores MCP de Claude Desktop (ubicado en macOS aquí: ~/Library/Application Support/Claude/claude_desktop_config.json) y añade lo siguiente:

en macOS o Linux:

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

para usuarios de Windows:

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

o con la imagen de Docker:

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

Uso para Cursor AI:

Edita tu archivo MCP de Cursor AI (ubicado en ~/.cursor/mcp.json) y añade lo siguiente:

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

Desarrollo

Para compilar el proyecto con Docker localmente, ejecuta:

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

Luego, ejecuta el contenedor de la siguiente manera para la configuración de tu servidor MCP:

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

Contribución

Por favor, consulta CONTRIBUTING para conocer las directrices sobre cómo contribuir a este proyecto.

Autor

mcp-server-nodejs-api-docs © Liran Tal, publicado bajo la licencia Apache-2.0.

Available Tools

2 tools
retrieve-nodejs-modules-api-documentationA

Retrieve, fetch, and get Node.js API documentation for a specific module or class.

You call the `retrieve-nodejs-modules-api-documentation` MCP tool with the following parameters:
```json
{
  "module": "util",
  "method": "styleText"
}
```
ParametersJSON Schema
NameRequiredDescriptionDefault
methodNoThe method name to retrieve Node.js API documentation for
moduleYesThe module or class name to retrieve Node.js API documentation for

TDQS

A4.3/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description carries full burden. It states it retrieves and returns documentation, but does not explicitly mention that it is read-only, any side effects, or authentication needs. The behavior is implied but not fully disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with clear sections (use_case, example, important_notes). Every sentence adds value, no fluff, and it is appropriately sized for the tool's complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description explains that it returns documentation including methods and properties. It also provides context with sibling tool and an example, making it complete for a retrieval tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds an example showing actual values ('util' and 'styleText') and context about using search for unknown modules, but does not significantly enhance parameter understanding beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it retrieves Node.js API documentation for a specific module or class, with a use case and example. It distinguishes from the sibling tool 'search-nodejs-modules-api-documentation' by advising to use search first if module is unknown.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use this tool (to retrieve documentation for a known module) and when not (if module unknown, use search first). Provides an example and important notes with clear guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search-nodejs-modules-api-documentationA
  <use_case>
    Use this tool to search across all Node.js built-in core modules API documentation and get back a list of core modules and their methods when you want to search and look-up Node.js API support
  </use_case>
  <important_notes>
    1. HIGH PRIORITY: *ALWAYS* use this tool first so that you can search for Node.js modules and their methods
    2. Ideally you want to suggest users the use of built-in Node.js API rather than third-party libraries
    3. This tool will return a list of all Node.js core modules and their methods
  </important_notes>
  
ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A3.7/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations present, so description bears full burden. It does not disclose behavioral traits such as read-only nature, side effects, or any limitations. The description only states priority but omits safety or idempotency information.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description uses XML-like tags and includes redundant emphasis ('HIGH PRIORITY', underlining). While informative, it could be more concise and structured without the extra formatting.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema and zero parameters, the description adequately explains the tool's behavior: searching core modules and returning a list. It lacks details on result format or pagination, but for a simple listing tool, it is reasonably complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0 parameters and 100% schema coverage, the description adds value by explaining the output: 'returns a list of all Node.js core modules and their methods'. This contextualizes the tool's purpose beyond the empty schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it searches Node.js core modules API documentation and returns a list of modules and methods. The verb 'search' and resource 'core modules API documentation' are specific, but the lack of input parameters makes the behavior ambiguous (always returns all). It distinguishes from sibling 'retrieve' but not explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states 'ALWAYS use this tool first' and advises suggesting built-in Node.js API over third-party libraries. This provides strong guidance on when and how to use the tool, with clear priority and exclusion of alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 2 tool updatesv1.1.3
    • First observedretrieve-nodejs-modules-api-documentation
    • First observedsearch-nodejs-modules-api-documentation

TDQS

A4/5.0
Disambiguation5/5

The two tools have clearly distinct purposes: one searches across all Node.js modules to find relevant documentation, and the other retrieves detailed documentation for a specific module or class. There is no overlap or ambiguity.

Naming Consistency5/5

Both tools follow a consistent snake_case pattern with a verb prefix ('search-' and 'retrieve-') followed by the domain ('nodejs-modules-api-documentation'). The structure is uniform and predictable.

Tool Count3/5

With only two tools, the set is minimal but covers the core workflow of searching and retrieving documentation. However, for a domain as broad as all Node.js core modules, a few more tools (e.g., listing all modules without a search) might improve completeness.

Completeness4/5

The search tool effectively serves as both a search and listing function, returning all modules and their methods. The retrieve tool provides detailed documentation for a specific module. Together, they cover the essential documentation needs, but there is no explicit tool for browsing modules by category or method signatures.

Maintenance

ActivityActive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lirantal/mcp-server-nodejs-api-docs'

If you have feedback or need assistance with the MCP directory API, please join our Discord server