MCP Node Fetch

by mcollina

Not rated
GitHub

About

Fetch web content using the Node.js undici library.

Details

Author
mcollina
Categories
Web Scraping, Other, Search

Setup

Install MCP Node Fetch in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/mcollina/mcp-node-fetch

Follow the installation instructions in the repository README, then restart your MCP client.

An MCP server that enables fetching web content using the Node.jsundicilibrary.

- Fetch content from any URL using various HTTP methods
- Support for headers and request body
- Return content in various formats (text, JSON, binary, HTML fragments)
- Handle errors gracefully
- Configure timeout and redirect behavior

This server provides the following MCP tools:

Fetches content from a URL and returns it.

- url(string, required): The URL to fetch
- method(string, optional): HTTP method (default: "GET")
- headers(object, optional): HTTP headers to include
- body(string, optional): Request body for POST/PUT requests
- timeout(number, optional): Request timeout in milliseconds
- responseType(string, optional): How to parse the response ("text", "json", "binary", "html-fragment")
- fragmentSelector(string, optional): CSS selector to extract specific HTML fragments (when responseType is "html-fragment")
- followRedirects(boolean, optional): Whether to follow redirects (default: true)

Extracts specific HTML content from a webpage using CSS selectors and optionally navigates to anchor points.

- url(string, required): The URL to fetch
- selector(string, required): CSS selector for the HTML fragment to extract
- anchorId(string, optional): Optional anchor ID to locate a specific fragment
- method(string, optional): HTTP method (default: "GET")
- headers(object, optional): HTTP headers to include
- body(string, optional): Request body for POST requests
- timeout(number, optional): Request timeout in milliseconds
- followRedirects(boolean, optional): Whether to follow redirects (default: true)

Checks if a URL is accessible without downloading the full content.

- url(string, required): The URL to check
- timeout(number, optional): Request timeout in milliseconds

To use with Claude for Desktop, add this to yourclaude_desktop_config.json:

{ "mcpServers": { "node-fetch": { "command": "node", "args": ["dist/index.js"] } } }

An MCP server for web search and content extraction using DuckDuckGo.

Adds powerful web scraping and search capabilities to LLM clients like Cursor and Claude.

Official OpenWeb Ninja MCP server connecting any AI agent to 40+ web data APIs for web search, e-commerce, local business, jobs, real estate, and finance data.

Integrate real-time Scrapeless Google SERP(Google Search, Google Flight, Google Map, Google Jobs....) results into your LLM applications. This server enables dynamic context retrieval for AI workflows, chatbots, and research tools.

MCP server for browser automation via Vercel agent-browser CLI

Unified MCP server giving any AI agent access to 20+ social platforms, web search, scraping, and crypto data — one install, any MCP client.

MCP server for Al Jazeera 360 — Connect AI assistants to Al Jazeera's streaming catalog. Search, browse, and retrieve Arabic video content with direct watch links.

Scrapes and searches for products on Amazon.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.