A flexible HTTP fetching Model Context Protocol server that exposes tools to fetch web content (HTML, JSON, plain-text, Markdown) over stdio.
https://github.com/zcaceres/fetch-mcpYou're building AI workflows, scraping documentation, or automating content analysis - but every site throws different formats at you. Raw HTML soup, JSON APIs with inconsistent structures, and content buried in JavaScript rendering. You end up writing custom parsers for each source, maintaining brittle scraping logic, and constantly debugging format conversions.
Fetch MCP gives you clean, structured web content in exactly the format you need:
Each tool handles the parsing complexity so you can focus on what matters - actually using the content.
Documentation Analysis: Instead of copying and pasting API docs into Claude, fetch them as clean markdown with proper heading structure preserved. Your AI assistant gets better context, you get better results.
Competitive Research: Pull competitor pricing pages as clean text without HTML clutter. No more manually cleaning up scraped content or writing custom JSDOM parsers.
Content Workflows: Build automated content pipelines that pull from multiple sources - REST APIs, documentation sites, and web pages - all through one consistent interface.
Research Automation: Fetch academic papers, blog posts, and documentation in the format that works best for your analysis tools. Markdown for structured content, plain text for sentiment analysis, JSON for data extraction.
Custom headers support means you can authenticate with APIs, set user agents, and handle CORS restrictions without hacky workarounds. The MCP protocol integration makes it dead simple to add to any AI workflow or automation pipeline.
{
"mcpServers": {
"fetch": {
"command": "node",
"args": ["./node_modules/fetch-mcp/dist/index.js"]
}
}
}
That's it. No complex configuration, no learning new APIs. Just clean web content extraction that works consistently across different sources.
The text extraction isn't just HTML tag removal - it uses JSDOM to properly parse the DOM and extract meaningful content. The markdown conversion preserves document structure with proper headings, links, and formatting. You get clean, structured output instead of messy HTML soup.
Perfect for feeding into LLMs, building knowledge bases, or any workflow where content quality matters more than quick-and-dirty scraping.
Ready to stop fighting with web content formats? Add Fetch MCP to your toolkit and start building instead of parsing.