Skip to main content
Glama
Oko300

Competitor Website Change Monitor

README.md
# ๐Ÿ” Competitor Website Change Monitor โ€” MCP Server

Monitor competitor websites for **price drops, new products, promotions, and content changes** โ€” directly from Claude, Cursor, or any MCP-compatible AI client.

---

## What It Detects

| Change | Example |
|---|---|
| ๐Ÿ’ฐ Price change | `$120 โ†’ $99` |
| ๐Ÿ†• New product | `"New Balance 990v5" appeared` |
| ๐Ÿ—‘๏ธ Removed product | `"Old SKU" no longer listed` |
| ๐ŸŽฏ Promotion | `"20% OFF" โ†’ "30% OFF sitewide"` |
| ๐Ÿ“„ Page title | `"BestShop Shoes" โ†’ "BestShop SALE"` |

---

## Quickstart (Local / Claude Desktop)

```bash
# 1. Clone
git clone https://github.com/Oko300/competitor-monitor-mcp
cd competitor-monitor-mcp

# 2. Install
pip install -r requirements.txt

# 3. Test
pytest tests/ -v

# 4. Add to Claude Desktop
#    Edit: ~/Library/Application Support/Claude/claude_desktop_config.json  (Mac)
#    Edit: %APPDATA%\Claude\claude_desktop_config.json                       (Windows)
```

**Claude Desktop config:**
```json
{
  "mcpServers": {
    "competitor-monitor": {
      "command": "python3",
      "args": ["C:/path/to/server.py"],
      "env": {
        "MONITOR_CACHE_FILE": "C:/path/to/monitor_cache.json"
      }
    }
  }
}
```

---

## MCP Tools Available

| Tool | What it does |
|---|---|
| `monitor_website` | Check one URL for changes |
| `monitor_multiple_websites` | Check a batch of URLs at once |
| `list_monitored_websites` | See all tracked URLs |
| `get_website_snapshot` | View last cached data (no re-fetch) |
| `remove_website` | Stop tracking a URL |

---

## Example Output

```json
{
  "url": "https://competitor.com/shoes",
  "changed": true,
  "changes": [
    {
      "type": "price_change",
      "removed": ["$120.00"],
      "added": ["$99.00"],
      "timestamp": "2026-06-19T10:00:00"
    },
    {
      "type": "new_products",
      "items": ["New Balance 990v5"],
      "timestamp": "2026-06-19T10:00:00"
    }
  ]
}
```

---

## Project Structure

```
competitor-monitor-mcp/
โ”œโ”€โ”€ server.py                  โ† MCP server (main product)
โ”œโ”€โ”€ requirements.txt
โ”œโ”€โ”€ pyproject.toml
โ”œโ”€โ”€ .gitignore
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ tests/
โ”‚   โ””โ”€โ”€ test_server.py         โ† 13 pytest tests
โ””โ”€โ”€ .vscode/
    โ”œโ”€โ”€ launch.json            โ† Run/debug configs
    โ””โ”€โ”€ extensions.json        โ† Recommended extensions
```

---

## Pricing Tiers (MCPize)

| Plan | Sites | Frequency | Price |
|---|---|---|---|
| Starter | 5 | Daily | $9.99/mo |
| Pro | 25 | Hourly | $29.99/mo |
| Business | 100 | Real-time | $79.99/mo |

---

## Notes

- Works on standard HTML sites (Shopify, WooCommerce, static pages)
- JavaScript-heavy SPAs may need a headless browser (Playwright) upgrade
- Cache persists across restarts via `monitor_cache.json`
- 100% free: no third-party APIs, no paid data sources