Labsco
leviai-ai logo

WebWatch MCP

from leviai-ai

Website change monitoring with URL watching, snapshot comparison, and intelligent content extraction for AI assistants

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeNeeds API keys

๐Ÿ” 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

ToolDescription
watch_urlAdd a URL to the watch list with optional CSS selector and label
list_watchesList all monitored URLs with status and statistics
check_nowFetch a URL now, compare to previous snapshot, return diff
get_changesBrowse change history for one or all watched URLs
compare_snapshotsCompare any two snapshots side-by-side
extract_contentOne-off content extraction with CSS selectors

Environment Variables

VariableDefaultDescription
WEBWATCH_DATA_DIR~/.webwatch-mcpDirectory 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 labels
  • snapshots โ€” Page content captured at each check
  • changes โ€” Detected diffs between consecutive snapshots

License

MIT