Webfetch

•
2
•

Replaces AI assistant's built-in web fetch functionality with a configurable HTTP client, enabling domain-scoped header injection, retries, and proxies.

The Webfetch MCP server addresses limitations in AI assistants' native web fetching capabilities by providing a robust, configurable HTTP client. It allows AI assistants to bypass bot protection and authenticate against APIs by automatically injecting domain-specific headers, managing retries, applying timeouts, and routing traffic through proxies. This drop-in replacement ensures more reliable and powerful web interactions for AI tools without requiring manual configuration in the assistant's settings.

Key Features

01Domain-scoped headers and per-call header injection
02Output formats (raw, markdown, trafilatura, json) and CSS selector extraction
03YAML configuration for headers, timeouts, retries, and proxies
04Prompt-injection sanitization (flag or strip mode)
051 GitHub stars
06Bot-block detection and automatic retry with Chrome User-Agent

Use Cases

01Bypass bot protection and authenticate against APIs on specific domains
02Extract clean article content and metadata from news sites
03Reliably consume JSON APIs with custom headers, retries, and timeouts