Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Retail Price Tracker

FreeNot checked

Enables tracking retail product prices, checking price history, and managing tracked products via MCP tools, with a focus on UNIQLO Taiwan.

GitHubEmbed

About

Enables tracking retail product prices, checking price history, and managing tracked products via MCP tools, with a focus on UNIQLO Taiwan.

README

CI License: MIT

retail-price-tracker-mcp is an open-source Model Context Protocol (MCP) server for tracking retail product prices. It is designed to work well with Hermes Agent, Claude Desktop, Cursor, and any other MCP client.

The first adapter target is UNIQLO Taiwan. The project is intentionally adapter-based so future stores such as GU, MUJI, momo, or booksellers can be added without rewriting the tracking core.

Status: early scaffold / pre-alpha. The current UNIQLO adapter is conservative: it parses supported URLs and records products, but it does not fabricate live prices when a reliable public API is not available.

Features

  • MCP tools for adding, listing, checking, and removing tracked products.
  • SQLite persistence for products, price history, and detected events.
  • Store adapter architecture.
  • UNIQLO Taiwan adapter with search-based current price lookup and safe failure modes.
  • Generic static adapter for tests and local demonstrations.
  • Optional, local OCR-assisted resolution from a price-label image (PaddleOCR extra).
  • Hermes skill package with install/config/cron guidance.
  • Standard open-source project files: CI, issue templates, PR template, contributing guide, security policy, code of conduct.

MCP tools

Tool Purpose
add_product Add a product URL with optional target price, sale notifications, sizes, and display name.
list_products List tracked products.
check_product Check one product and record price history/events when possible.
check_all Check all active products; useful for cron jobs.
price_history Read historical prices for a product.
remove_product Deactivate tracking for a product.
resolve_product Search adapters for candidate products from a name, OCR text, or product code.
resolve_product_from_image Run optional OCR on a local image, then resolve product candidates from the extracted text.

Quick start for development

git clone https://github.com/bolin8017/retail-price-tracker-mcp.git
cd retail-price-tracker-mcp
uv venv
uv pip install -e '.[dev]'
uv run pytest
uv run ruff check .

Run the MCP server over stdio:

PRICE_TRACKER_DB="$PWD/tracker.db" uv run retail-price-tracker-mcp

Use the small CLI helper for smoke tests:

uv run retail-price-tracker add 'https://www.uniqlo.com/tw/zh_TW/products/E123456-000' --name 'Demo shirt' --target-price 390
uv run retail-price-tracker list
uv run retail-price-tracker resolve 'AIRism 棉質寬版圓領T恤' --limit 3

Optional OCR-assisted resolution

OCR is shipped as an optional extra so the core install stays lightweight and no models are downloaded by default. Install it only when you need to resolve a product from a photo of a price label:

uv pip install -e '.[ocr]'   # pulls in PaddleOCR
uv run retail-price-tracker resolve-image /path/to/label.jpg --limit 5

The image is run through OCR locally, price/size-only lines are stripped, and the remaining text becomes a query for resolve_product. The project does not build a custom OCR model; PaddleOCR is the primary engine. Without the extra, the tool raises a clear error explaining how to install it.

Hermes configuration

Add this to ~/.hermes/config.yaml. The package is not published to PyPI yet, so uvx installs and runs it straight from GitHub:

mcp_servers:
  retail_price_tracker:
    command: "uvx"
    args: ["--from", "git+https://github.com/bolin8017/retail-price-tracker-mcp", "retail-price-tracker-mcp"]
    env:
      PRICE_TRACKER_DB: "/home/USER/Documents/Hermes/price-tracker/tracker.db"
    timeout: 120
    connect_timeout: 60

Running from a local clone (development / offline): if you already have the repo checked out, point Hermes at it so edits take effect immediately and no network fetch is needed — replace the command/args above with:

    command: "uv"
    args: ["run", "--directory", "/path/to/retail-price-tracker-mcp", "retail-price-tracker-mcp"]

After restarting Hermes, tools will be available with names like:

mcp_retail_price_tracker_add_product
mcp_retail_price_tracker_check_all
mcp_retail_price_tracker_price_history
mcp_retail_price_tracker_resolve_product

See docs/hermes.md and skills/retail-price-tracker/SKILL.md for a full Hermes workflow.

Example Hermes cron prompt

Use the retail price tracker MCP tools to run check_all. If there are price drops, below-target events, sale labels, restocks, or errors needing attention, summarize them for the user in concise Traditional Chinese. If nothing changed, stay silent.

Design principles

  1. MCP first: the core should work outside Hermes.
  2. Hermes friendly: ship a skill and cron templates for a polished Hermes experience.
  3. No fake prices: adapters must return explicit unsupported/unknown results instead of made-up data.
  4. Local by default: SQLite on the user's machine; no hosted service required.
  5. Adapter-based: stores are plugins around a stable tracking core.

Roadmap

  • Harden UNIQLO Taiwan live price fetching with more URL formats and stock detail support.
  • Size/color stock tracking.
  • Improve OCR resolution accuracy and add an EasyOCR fallback provider.
  • changedetection.io backend integration.
  • More adapters: GU, MUJI, momo, booksellers.
  • HTTP MCP transport and Docker image.

Security and privacy

Tracked URLs, prices, and shopping preferences are stored locally in SQLite by default. See docs/security.md.

Contributing

Please read CONTRIBUTING.md. Bug reports and adapter contributions are welcome.

License

MIT. See LICENSE.

from github.com/bolin8017/retail-price-tracker-mcp

Installing Retail Price Tracker

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/bolin8017/retail-price-tracker-mcp

FAQ

Is Retail Price Tracker MCP free?

Yes, Retail Price Tracker MCP is free — one-click install via Unyly at no cost.

Does Retail Price Tracker need an API key?

No, Retail Price Tracker runs without API keys or environment variables.

Is Retail Price Tracker hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Retail Price Tracker in Claude Desktop, Claude Code or Cursor?

Open Retail Price Tracker on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Retail Price Tracker with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs