Fetch

by goswamig

2 stars
Not rated
GitHub

About

Enables web content retrieval in multiple formats including HTML, JSON, plain text, and Markdown through four specialized fetch tools for seamless content extraction and transformation.

Details

Author
goswamig
Repository
goswamig/fetch-mcp
GitHub stars
2
Categories
Web Scraping, Other, Productivity, Design, Developer Tools, AI, Infrastructure, Frontend
Tags
#web

- Fetches web content using modern fetch API
- Supports custom headers for requests
- Provides content in multiple formats: HTML, JSON, plain text, and Markdown
- Uses JSDOM for HTML parsing and text extraction
- Uses TurndownService for HTML to Markdown conversion

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Fetch
    Command (node, npx, python, etc.) node
    Arguments
    • Argument 1 {ABSOLUTE PATH TO FILE HERE}/dist/index.js

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

To use the server, you can run it directly:

npm start

This will start the Fetch MCP Server running on stdio.

To install fetch-mcp for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @goswamig/fetch-mcp --client claude

To integrate this server with a desktop app, add the following to your app's server configuration:

{
  "mcpServers": {
    "fetch": {
      "command": "node",
      "args": [
        "{ABSOLUTE PATH TO FILE HERE}/dist/index.js"
      ]
    }
  }
}

fetch_html

Fetch a website and return the content as HTML. Parameters: url (string, required), headers (object, optional)

fetch_json

Fetch a JSON file from a URL. Parameters: url (string, required), headers (object, optional)

fetch_txt

Fetch a website and return the content as plain text (no HTML). Parameters: url (string, required), headers (object, optional)

fetch_markdown

Fetch a website and return the content as Markdown. Parameters: url (string, required), headers (object, optional)

- fetch_html
- Fetch a website and return the content as HTML
- Input:
- url (string, required): URL of the website to fetch
- headers (object, optional): Custom headers to include in the request
- Returns the raw HTML content of the webpage

- fetch_json
- Fetch a JSON file from a URL
- Input:
- url (string, required): URL of the JSON to fetch
- headers (object, optional): Custom headers to include in the request
- Returns the parsed JSON content

- fetch_txt
- Fetch a website and return the content as plain text (no HTML)
- Input:
- url (string, required): URL of the website to fetch
- headers (object, optional): Custom headers to include in the request
- Returns the text content of the webpage with HTML tags, scripts, and styles removed

- fetch_markdown
- Fetch a website and return the content as Markdown
- Input:
- url (string, required): URL of the website to fetch
- headers (object, optional): Custom headers to include in the request
- Returns the content of the webpage converted to Markdown format

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "fetch": {
            "cwd": null,
            "env": {},
            "args": [
                "{ABSOLUTE PATH TO FILE HERE}/dist/index.js"
            ],
            "shell": false,
            "command": "node"
        }
    }
}

Linux

{
    "cwd": null,
    "env": [],
    "args": [
        "{ABSOLUTE PATH TO FILE HERE}/dist/index.js"
    ],
    "shell": false,
    "command": "node"
}

Macos

{
    "cwd": null,
    "env": [],
    "args": [
        "{ABSOLUTE PATH TO FILE HERE}/dist/index.js"
    ],
    "shell": false,
    "command": "node"
}

Windows

{
    "cwd": null,
    "env": [],
    "args": [
        "{ABSOLUTE PATH TO FILE HERE}/dist/index.js"
    ],
    "shell": false,
    "command": "node"
}

This MCP server provides functionality to fetch web content in various formats, including HTML, JSON, plain text, and Markdown.

- Fetch a website and return the content as HTML
- Input:

- url(string, required): URL of the website to fetch
- headers(object, optional): Custom headers to include in the request

- Fetch a JSON file from a URL
- Input:

- url(string, required): URL of the JSON to fetch
- headers(object, optional): Custom headers to include in the request

- Fetch a website and return the content as plain text (no HTML)
- Input:

- url(string, required): URL of the website to fetch
- headers(object, optional): Custom headers to include in the request

- Fetch a website and return the content as Markdown
- Input:

- url(string, required): URL of the website to fetch
- headers(object, optional): Custom headers to include in the request

This server does not provide any persistent resources. It's designed to fetch and transform web content on demand.
- Clone the repository
- Install dependencies:npm install
- Build the server:npm run build

To install fetch-mcp for Claude Desktop automatically viaSmithery:

npx -y @smithery/cli install @goswamig/fetch-mcp --client claude

To use the server, you can run it directly:

This will start the Fetch MCP Server running on stdio.

To integrate this server with a desktop app, add the following to your app's server configuration:

{ "mcpServers": { "fetch": { "command": "node", "args": [ "{ABSOLUTE PATH TO FILE HERE}/dist/index.js" ] } } }

- Fetches web content using modern fetch API
- Supports custom headers for requests
- Provides content in multiple formats: HTML, JSON, plain text, and Markdown
- Uses JSDOM for HTML parsing and text extraction
- Uses TurndownService for HTML to Markdown conversion

- Runnpm run devto start the TypeScript compiler in watch mode
- Usenpm testto run the test suite

This project is licensed under the MIT License.

An MCP server for the Urlbox Screenshot API. It enables your client to take screenshots, generate PDFs, extract HTML/markdown, and more from websites.

MCP server for browser automation via Vercel agent-browser CLI

Convert any URL to LLM-ready Markdown via real Chrome browsers. 3 tools: scrape, crawl, search. Free via MCP, pay-per-use via x402.

BrowserAct MCP Server is a standardized MCP service that lets MCP clients connect to the BrowserAct platform to discover and run browser automation workflows, access results/files and related storage, and trigger real-world actions via natural language.

An MCP server that allows AI agents to control a web browser using the browser-use library.

Exposes Chrome browser functionality to AI assistants for automation, content analysis, and semantic search via a Chrome extension.

Control a Chrome browser through the Chrome DevTools Protocol (CDP) from MCP clients for browsing, inspection, and automation workflows.

Download DocSend and Papermark decks as PDF/PPTX and data rooms as ZIPs, including email-gated and protected links.

Fetch web page content with recursive exploration.

Crawl websites to generate Markdown documentation and make it searchable through an MCP server.

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.