fetch-mcp

fetch-mcp

3.3

If you are the rightful owner of fetch-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

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

Fetch MCP Server is a versatile tool designed to retrieve web content in multiple formats such as HTML, JSON, plain text, and Markdown. It leverages modern web technologies to ensure efficient and accurate data fetching. The server is built to handle custom headers, allowing for flexible and secure web requests. It uses JSDOM for parsing HTML and extracting text, and TurndownService for converting HTML to Markdown. This server is ideal for developers who need to integrate web content fetching capabilities into their applications, providing a seamless way to access and transform web data on demand.

Features

  • 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

Tools

  1. fetch_html

    Get HTML content of a web page

  2. fetch_json

    Get the JSON file and parse the content

  3. fetch_txt

    Get plain text content of the web page (remove HTML tags, scripts, and styles)

  4. fetch_markdown

    Get the content of the web page and convert it to Markdown format