Fetch MCP Server

Integrations

  • Enables fetching web content and converting it to Markdown format, allowing for structured text representation of online resources.

Fetch MCP Server

English | 中文

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

Tools

  • fetch_html
    • Fetch website content and return as HTML
    • Input parameters:
      • 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 JSON file from URL
    • Input parameters:
      • 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 website content and return as plain text (no HTML)
    • Input parameters:
      • 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 website content and return as Markdown
    • Input parameters:
      • url (string, required): URL of the website to fetch
      • headers (object, optional): Custom headers to include in the request
    • Returns the webpage content converted to Markdown format

2 Ways to Start

  1. bun
bun i bun start
  1. docker
docker compose up --build -d

Usage

{ "mcpServers": { "fetch-mcp": { "transport": "sse", "url": "http://localhost:3000/sse", "headers": { "Authorization": "Bearer your-token-here", "X-Custom-Header": "custom-value" }, "useNodeEventSource": true } } }

Resources

This server does not provide any persistent resources. It is designed to fetch and transform web content on demand.

References

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Provides functionality to fetch and transform web content in various formats (HTML, JSON, plain text, and Markdown) through simple API calls.

  1. Tools
    1. 2 Ways to Start
      1. Usage
        1. Resources
          1. References

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.
              Last updated -
              1
              43,638
              JavaScript
              MIT License
              • Linux
              • Apple
            • A
              security
              F
              license
              A
              quality
              Provides functionality to fetch web content in various formats, including HTML, JSON, plain text, and Markdown.
              Last updated -
              4
              137,083
              150
              TypeScript
            • A
              security
              A
              license
              A
              quality
              This server converts webpages into clean, structured Markdown optimized for language model consumption, removing unnecessary content and supporting JavaScript rendering.
              Last updated -
              1
              5
              JavaScript
              MIT License
              • Apple
            • A
              security
              A
              license
              A
              quality
              Enables extracting data from websites using natural language prompts, allowing users to specify exactly what content they want in plain English and returning structured JSON data.
              Last updated -
              1
              1,379
              4
              TypeScript
              MIT License
              • Apple
              • Linux

            View all related MCP servers

            ID: 9le2w2zfe7