Node MCP Server

A light-weight module that brings Fetch API to node.js

Local serverstdioTypeScript

What is the Node MCP Server?

A light-weight module that brings Fetch API to node.js

The short version

Instead of implementing XMLHttpRequest in Node.js to run browser-specific Fetch polyfill, why not go from native http to fetch API directly? Hence, node-fetch, minimal code for a window.fetch compatible API on Node.js runtime.

  • Stay consistent with window.fetch API
  • Make conscious trade-off when following [WHATWG fetch spec][whatwg-fetch] and stream spec implementation details, document known differences
  • Use native promise and async functions
  • Use native Node streams for body, on both request and response
  • Decode content encoding (gzip/deflate/brotli) properly, and convert string output (such as res.text() and res.json()) to UTF-8 automatically
  • Useful extensions such as redirect limit, response size limit, [explicit errors][error-handling.md] for troubleshooting

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Node MCP Server

{
  "mcpServers": {
    "server-fetch-1": {
      "command": "npx",
      "args": ["-y", "node-fetch"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • “Use Node to CommonJS.”
  • “Use Node to Streams.”
  • “Use Node to Options.”

Frequently asked questions

A light-weight module that brings Fetch API to node.js Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.