Fetcher MCP is a powerful server designed to fetch web page content using the Playwright headless browser. It is particularly adept at handling dynamic web content and modern web applications, making it an essential tool for web content extraction.
Run directly with npx:
npx -y fetcher-mcp
First time setup - install the required browser:
npx playwright install chromium
Run with the --debug
option to show the browser window:
npx -y fetcher-mcp --debug
Configure this MCP server in Claude Desktop:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"fetcher": {
"command": "npx",
"args": ["-y", "fetcher-mcp"]
}
}
}
fetch_url
Retrieve web page content from a specified URL.
url
: The URL of the web page to fetch.timeout
: Page loading timeout in milliseconds.waitUntil
: Specifies when navigation is considered complete.extractContent
: Whether to intelligently extract the main content.maxLength
: Maximum length of returned content.returnHtml
: Whether to return HTML content instead of Markdown.waitForNavigation
: Whether to wait for additional navigation.navigationTimeout
: Maximum time to wait for additional navigation.disableMedia
: Whether to disable media resources.debug
: Whether to enable debug mode.fetch_urls
Batch retrieve web page content from multiple URLs in parallel.
urls
: Array of URLs to fetch.fetch_url
.waitForNavigation: true
.timeout
and navigationTimeout
.extractContent: false
and returnHtml: true
.extractContent: false
.returnHtml: true
.debug: true
.debug: true
for manual login.debug: true
for specific requests.npm install
npm run install-browser
npm run build
Use MCP Inspector for debugging:
npm run inspector
Enable visible browser mode:
node build/index.js --debug
Licensed under the MIT License
MCP server for fetch web page content using Playwright headless browser.
No releases published
No packages published