Retail Price Tracker
БесплатноНе проверенEnables tracking retail product prices, checking price history, and managing tracked products via MCP tools, with a focus on UNIQLO Taiwan.
Описание
Enables tracking retail product prices, checking price history, and managing tracked products via MCP tools, with a focus on UNIQLO Taiwan.
README
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
- MCP first: the core should work outside Hermes.
- Hermes friendly: ship a skill and cron templates for a polished Hermes experience.
- No fake prices: adapters must return explicit unsupported/unknown results instead of made-up data.
- Local by default: SQLite on the user's machine; no hosted service required.
- 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.
Установка Retail Price Tracker
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/bolin8017/retail-price-tracker-mcpFAQ
Retail Price Tracker MCP бесплатный?
Да, Retail Price Tracker MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Retail Price Tracker?
Нет, Retail Price Tracker работает без API-ключей и переменных окружения.
Retail Price Tracker — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Retail Price Tracker в Claude Desktop, Claude Code или Cursor?
Открой Retail Price Tracker на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Retail Price Tracker with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
