关于
Fetch is a flexible Model Context Protocol (MCP) server designed to fetch web content and provide it in multiple formats. It supports fetching HTML, JSON, plain text, and Markdown from URLs. The server utilizes modern fetch API, JSDOM for HTML parsing, and TurndownService for HTML to Markdown conversion, offering a versatile solution for accessing and transforming web data.
主要功能
- Supports custom headers for HTTP requests
- Converts HTML to Markdown using TurndownService
- Fetches web content in HTML, JSON, plain text, and Markdown formats
- Uses JSDOM for HTML parsing and text extraction
使用案例
- Converting web pages to Markdown for documentation
- Extracting data from websites for analysis
- Integrating web content into desktop applications