Intelligent web page fetching with automatic cookie support and CSS selector extraction.
Intelligent web page fetching with automatic cookie support and CSS selector extraction.
Option A: Install from npm (Recommended)
npm install -g mcp-fetchpage
Option B: Install from source
cd ~/Downloads/mcp-fetchpage
npm install
If you installed from npm:
chrome://extensions/
/usr/local/lib/node_modules/mcp-fetchpage/chrome-extension
If you installed from source:
chrome://extensions/
~/Downloads/mcp-fetchpage/chrome-extension
Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json
):
If installed globally via npm:
{
"mcpServers": {
"mcp-fetchpage": {
"command": "node",
"args": ["/usr/local/lib/node_modules/mcp-fetchpage/mcp-server/server.js"]
}
}
}
If installed locally or from source:
{
"mcpServers": {
"mcp-fetchpage": {
"command": "node",
"args": ["/path/to/mcp-fetchpage/mcp-server/server.js"]
}
}
}
Cursor (Settings > Cursor Settings > Tools & Integrations > MCP Tools):
{
"mcpServers": {
"mcp-fetchpage": {
"command": "node",
"args": ["node_modules/mcp-fetchpage/mcp-server/server.js"]
}
}
}
Restart your editor after configuration.
fetchpage(url="https://example.com")
// Basic intelligent fetching
fetchpage(url="https://example.com")
// Force specific method
fetchpage(url="https://example.com", forceMethod="spa")
// Extract specific content with CSS selector
fetchpage(url="https://example.com", waitFor="#main-content")
// WeChat articles (automatic selector)
fetchpage(url="https://mp.weixin.qq.com/s/xxxxx")
The system automatically uses optimized selectors for:
.rich_media_wrp
(WeChat articles).content
(Knowledge Planet).post
(Blog Garden)mcp-server/domain-selectors.json
# Standalone debug script (recommended for development)
cd mcp-server
node debug.js test-page "https://example.com"
node debug.js test-spa "https://example.com" "#content"
# MCP Inspector (for integration testing)
npx @modelcontextprotocol/inspector
# Then visit http://localhost:6274
url
(required): The URL to fetchwaitFor
(optional): CSS selector to extract specific contentforceMethod
(optional): Force "http" or "spa" methodskipCookies
(optional): Skip loading cookiesheadless
(optional): Run browser in headless mode (default: true)timeout
(optional): Timeout in milliseconds (default: 30000)mcp-fetchpage/
āāā package.json # npm package config
āāā package-lock.json # npm lockfile
āāā node_modules/ # npm dependencies
āāā README.md # This file
āāā README-zh.md # Chinese version
āāā CLAUDE.md # Claude Code usage guide
āāā chrome-extension/ # Chrome extension
ā āāā manifest.json
ā āāā popup.js
ā āāā popup.html
ā āāā background.js
āāā mcp-server/ # MCP server
āāā server.js # Main server
āāā debug.js # Debug tools
āāā domain-selectors.json # Domain selector config
/Users/YOUR_USERNAME/...
instead of ~/...
That's it! šŖ
Fetches cigarette data and information from Yanyue.cn.
A Node.js server that enables AI assistants to control the Chrome browser via WebSocket. Requires the CodingBaby Chrome Extension.
Fetches and converts website content to Markdown with AI-powered cleanup, OpenAPI support, and stealth browsing.
AI-powered web scraping using the ScrapeGraph AI API. Requires an API key.
Fetch YouTube subtitles
Execute XPath queries on XML content.
A MCP server that provides comprehensive website snapshot capabilities using Playwright. This server enables LLMs to capture and analyze web pages through structured accessibility snapshots, network monitoring, and console message collection.
Fetches horse racing news from the thoroughbreddailynews.com RSS feed.
AI-powered tools for web scraping, crawling, and browser automation.
An MCP server for the Kakuyomu novel posting site, enabling users to search for works, retrieve episode lists, and read content.