What is Fetch MCP Server?
Fetch MCP Server is a Model Context Protocol server that provides web content fetching capabilities using browser automation, OCR, and multiple extraction methods. It enables LLMs to retrieve and process content from web pages, including those requiring JavaScript rendering or employing anti-scraping techniques.
How to use Fetch MCP Server?
Install and run using Docker: build the image with docker build -t mcp-server-fetch and run with docker run --rm -i mcp-server-fetch. Configure the server in your MCP client (e.g., Roo Code or Claude App) by adding the container as an MCP server. Use the fetch tool (with required url argument and optional raw boolean) or the fetch prompt to retrieve and extract web content as markdown.
Key features of Fetch MCP Server
- Multi-method extraction including browser automation and OCR
- Automatic scoring system selects the best content result
- Handles JavaScript-rendered pages and anti-scraping techniques
- Supports PDF, DOCX, and PPTX document parsing
- Customizable user-agent via the
--user-agent argument
- Automated handling of cookie consent banners and full-page screenshots
Use cases of Fetch MCP Server
- Enabling LLMs to read and analyze dynamic web pages
- Extracting content from sites that block simple scraping
- Converting complex documents (PDF, DOCX, PPTX) into markdown
- Providing reliable web content for autonomous agents and chatbots
评论