WebWatch MCP
Website change monitoring with URL watching, snapshot comparison, and intelligent content extraction for AI assistants
š WebWatch MCP
A Model Context Protocol (MCP) server for monitoring website changes. Track URLs, detect content changes, compare snapshots, and extract content with CSS selectors ā all from your AI assistant.
Features
- Watch URLs ā Monitor any webpage for content changes
- CSS Selectors ā Track specific elements (prices, headlines, stock info)
- Snapshot History ā SQLite-backed storage of every page state
- Diff Detection ā See exactly what changed, line by line
- Content Extraction ā Pull structured data from any page on demand
Tools
| Tool | Description |
|---|---|
watch_url | Add a URL to the watch list with optional CSS selector and label |
list_watches | List all monitored URLs with status and statistics |
check_now | Fetch a URL now, compare to previous snapshot, return diff |
get_changes | Browse change history for one or all watched URLs |
compare_snapshots | Compare any two snapshots side-by-side |
extract_content | One-off content extraction with CSS selectors |
Installation
# Clone and build
git clone https://github.com/leviai-tools/webwatch-mcp.git
cd webwatch-mcp
npm install
npm run build
# Or install globally
npm install -g @leviai/webwatch-mcp
Usage with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"webwatch": {
"command": "node",
"args": ["/path/to/webwatch-mcp/build/index.js"],
"env": {
"WEBWATCH_DATA_DIR": "/path/to/data/dir"
}
}
}
}
Or if installed globally:
{
"mcpServers": {
"webwatch": {
"command": "webwatch-mcp"
}
}
}
Environment Variables
| Variable | Default | Description |
|---|---|---|
WEBWATCH_DATA_DIR | ~/.webwatch-mcp | Directory for SQLite database |
Example Workflows
Monitor a pricing page
You: "Watch https://example.com/pricing ā track the .pricing-table element"
ā watch_url(url, selector=".pricing-table", label="Example pricing")
You: "Check if pricing changed"
ā check_now("https://example.com/pricing")
Track competitor changes
You: "Add these competitor pages to my watchlist"
ā watch_url for each URL
You: "Show me all recent changes"
ā get_changes(limit=20)
Extract data on demand
You: "What are the headlines on HN right now?"
ā extract_content("https://news.ycombinator.com", ".titleline > a")
Data Storage
All data is stored locally in SQLite at ~/.webwatch-mcp/webwatch.db (configurable via WEBWATCH_DATA_DIR).
Tables:
watchesā Monitored URLs with selectors and labelssnapshotsā Page content captured at each checkchangesā Detected diffs between consecutive snapshots
Requirements
- Node.js ā„ 18.0.0
License
MIT
Related Servers
Bright Data
sponsorDiscover, extract, and interact with the web - one interface powering automated access across the public internet.
Playwright Server
A server for browser automation using the Playwright library.
BrowserLoop
Take screenshots and read console logs from web pages using Playwright.
Google Flights
An MCP server to interact with Google Flights data for finding flight information.
Web-curl
Fetch, extract, and process web and API content. Supports resource blocking, authentication, and Google Custom Search.
Simple MCP Tool Server
A simple MCP server that provides a tool for fetching website content using SSE transport.
MeteoSwiss Data
Provides weather reports, search, and content from the MeteoSwiss website with multi-language support.
Chrome Debug
Automate Chrome via its debugging port with session persistence. Requires Chrome to be started with remote debugging enabled.
MCP Query Table
Query financial web tables from sources like iwencai, tdx, and eastmoney using Playwright.
visa-jobs-mcp
Identify US visa-sponsoring opportunities on LinkedIn and access the right contacts to accelerate your outreach.
Xiaohongshu Search & Comment
An automated tool to search notes, retrieve content, and post comments on Xiaohongshu (RedBook) using Playwright.