retail-price-tracker-mcp
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
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.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。