
Price Tracker
io.github.theluckystrike由 GitHub 账号 theluckystrike 发布v0.1.1更新于 Oct 25, 2026
Check a shop page price now, keep a watch list, see history and target alerts. All data stays local.
发布方自己的服务:PriceWin
概览
一个本地 MCP 服务器,可从商品页面读取价格、维护带价格历史的关注列表,并报告降价和目标价命中情况。
- 可以做什么
- 查询商品页面的当前价格、货币、标题和提取置信度,并与该网址上次存储的记录比较变化,无需先添加关注。添加、列出和删除关注项,可附带标签、目标价和货币。刷新单个或全部关注项,追加新记录并返回当前价、上次价、最低价、最高价、变化百分比和目标命中标记。读取某个关注项已存储的价格历史,或为拦截自动请求的商店手动记录你自己看到的价格。列出最新价格达到或低于目标价、或较上次下降 5% 以上的关注项,并查询或激活 Pro 许可证。
- 适用场景
- 适合在对话中跟踪特定商品页面的价格并保留本地历史,无需抓取服务或账号。更适合偶尔手动刷新,而非持续监控,因为没有任何后台任务在运行。
- 运行要求
- 以 stdio 进程在本地运行;从源码构建需要 Node.js 18 或更高版本,Claude Desktop 可使用 .mcpb 安装包。npm 包尚未发布,npx 安装可能失败。需要能访问你所添加的商品页面。Pro 功能可选使用 MCP_LICENSE_KEY,许可证为离线验证。
安装
在 SourceWeft 中
- 打开 控制台中的 Price Tracker,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
mcp-price-tracker
Featured on Awesome MCP Servers - directory listing | live hosted endpoint, free tier, no signup.
Ask your assistant what something costs right now. Point it at any product page and it reads the price off the page, remembers it, and tells you next time whether the price moved, how far, and whether it reached the number you were waiting for. It works on ordinary shop pages by reading the structured data most stores already publish (JSON-LD, Open Graph, microdata) and falling back to the visible price when they do not. When a large retailer blocks automated requests it says so plainly and lets you record the price yourself so the history stays intact. Everything is stored in a JSON file on your own machine.
Built by theluckystrike.
In the official MCP Registry (io.github.theluckystrike/price-tracker-drop-alert-watch).
Watch any product page for price drops from chat, no scraping service, no account, all local.
60-second install
npm publish for @theluckystrike/mcp-price-tracker is pending. Until then, the .mcpb one-click bundle or a clone+build
is the working path, both are verified below.
One-click (.mcpb): download price-tracker.mcpb from the latest release and double-click it in Claude Desktop:
https://github.com/theluckystrike/mcp-servers/releases/latest
(claude_desktop_config.json):
Claude Code:
(.cursor/mcp.json):
The npx form above starts working the moment the package is published. Until then, use the .mcpb bundle above, or
build from source with exactly these three commands:
Then point your client's command at node with one arg: the absolute path to servers/price-tracker/dist/index.js.
To run in Pro mode set MCP_LICENSE_KEY in the same config block, or call license_activate once with your key.
Tools
Resource: prices://watches - JSON of every watch with its latest price.
Prompt: check_prices - refreshes every watch and summarises the drops and target hits in one command.
What you can say
Worked example
A real run against books.toscrape.com, from docs/USER_VALUE_R2.md, with WebFetch/WebSearch
disallowed so the price-tracker's own tools had to answer:
The confidence label is not decoration: books.toscrape.com carries no JSON-LD or microdata, so this is
the one case in testing where the regex fallback was the only path to a number, and the model relayed the
"low" label to the user unprompted rather than stating 51.77 as a fact.
Alerts: nothing runs in the background
There is no scheduler and no daemon. A watch is a stored history, not a subscription: prices are re-read only when watch_refresh runs, and alerts_pending reports on what is already stored. The working pattern is to say "refresh my watches" at the start of a session (or run the check_prices prompt), then ask what dropped.
Free vs Pro
Get Pro - $19 for this server, $39 for every server, lifetime.
How prices are read
In order: JSON-LD Product/Offer (price, priceCurrency, lowPrice), microdata itemprop="price", Open Graph og:price:amount / product:price:amount, meta itemprop, data-price attributes, common price class and id hints (including Amazon's a-offscreen), and finally a regex over the visible text of the first 200 KB. European and US separators are both understood, so 1.299,00 EUR and 1,299.00 USD both become 1299.00.
Prices are stored as decimal strings in the major unit with a . decimal separator and no grouping, for example "1299.00". Timestamps are ISO 8601 UTC.
Every reading carries a confidence: high for JSON-LD, microdata, meta itemprop and Open Graph; medium for data-price attributes and price class or id hints; low for the regex fallback. A low reading on a page with no product title is reported but never stored.
Where a page describes several products in JSON-LD (recommendations, "customers also bought"), the offers of one product are never pooled with another's: the product whose name matches the page title wins, otherwise the first product carrying offers. Crossed-out and previous prices (<s>, <del>, <strike>, and classes such as old-price, was, compare-at-price, list-price, rrp) are skipped, so a struck 199 next to a live 99 reports 99. An ISO code written next to the number ("$10 USD") wins over the currency guessed from the domain, and twitter:data1 - free text such as "Free shipping over $50" - is not read as a price.
Pages are fetched with a desktop browser User-Agent, a 12 second timeout, redirects followed, and a 2 MB body cap. After the fetch the final URL is compared with the one you asked for: if the shop redirected off the product path - a different path depth, a category or home page, or a generic title such as "Products", "Home", the shop name alone, or "not found" - you get the shop redirected to <finalUrl>, which is not a product page instead of the cheapest item on the listing it landed on. A redirect that only inserts a canonical slug in front of the same product id or path (Newegg, Amazon /dp/, Zalando-style URLs) is accepted, not refused.
How it stores data
Watches and their price history live in one JSON file:
${XDG_DATA_HOME:-~/.local/share}/mcp-servers/price-tracker/watches.json. Every mutation (watch_add,
watch_remove, watch_refresh, price_add_manual) happens under an advisory lock file,
.../price-tracker/.lock, held across the load-mutate-save cycle so two refreshes running at once cannot
interleave. price_check and read-only tools do not need the lock. Saves write to a temporary file and
rename it into place, so an interrupted write cannot leave a half-written file. To back up your watch
history, copy watches.json.
Only a missing file counts as "no watches yet". If watches.json exists but cannot be read or parsed, the
server never treats it as empty: the unreadable bytes are moved to watches.json.corrupt-<timestamp>, the
fault is written to stderr, and every tool answers with an error naming that file until the server is
restarted. A damaged database can therefore never be silently overwritten by the next price you record.
Limits and honest caveats
- Real-world extraction success is roughly 5 of 12 on a mixed sample of major retailers: five sites
returned an outright bot-wall 403 (H&M, Allegro, MediaMarkt, Home Depot, Etsy), one timed out (Best
Buy), and the rest split between correct prices and one intentionally refused reading (a redirect off
the product page). This is a property of the open web, not a bug the server can fix, there is no
headless browser or CAPTCHA solver here, by design (no native deps, no paid API).
price_add_manualis the working answer for a blocked shop. - There is no background job. Nothing checks prices unless you (or your client, via a scheduled
script you run yourself) call
watch_refresh. This is not a missing feature; a local stdio server has no business running a daemon on your machine. - Free tier caps watches at 3 and history at the last 30 observations per watch;
price_checkandalerts_pendingare unlimited on free. - A
low-confidence regex reading is still reported, but never silently treated as certain, pass it on to the user as an estimate, not a fact.
Troubleshooting
npxhangs or fails to find the package: npm publish for this package is pending. Use the.mcpbbundle or the clone-and-build path above until it lands.- Using the
.mcpbbundle: it installs into Claude Desktop directly; there is no separate config step. - Using the clone path: the server binary is
servers/price-tracker/dist/index.jsafternpm run build. Point your client'scommandatnodewith that absolute path as the only argument. - Node version: requires Node >= 18. Check with
node -v. - A watch always errors "not a product page": the shop redirected you off the URL you gave it (a
category page, home page, or a generic title). Fetch the exact product URL again from the shop and
re-add the watch, or use
price_add_manualif the shop keeps redirecting. - A shop returns 403 every time: it is blocking automated requests. This is expected for a subset of
large retailers (see Limits above); use
price_add_manual. - Nothing shows up / silent failures: logs go to stderr only, never stdout. In Claude Desktop check
Settings -> Developer -> the server's log file; in Claude Code check the terminal or
--mcp-debug.
Privacy
All data stays local, in ${XDG_DATA_HOME:-~/.local/share}/mcp-servers/price-tracker/watches.json. The only network requests are to the product pages you name. License keys verify offline; nothing is sent anywhere.
Pairs with
- mcp-invoice, bill a client for something you bought after tracking its price.
- mcp-spreadsheet, export
price_historyand analyze it as a sheet. - mcp-time-tracker, track the hours you spend shopping around, if that is somehow billable.
- office-suite, every sibling server behind one install, one config entry.
- Guide: Watch a product price with Claude and get told when it drops
FAQ
There is no scheduler in this server. Prices are only re-read when watch_refresh runs, which happens
when you ask for it (or when a cron/launchd job you set up yourself calls it).
Either the shop returned a bot-wall response (403) or the request redirected off the product page onto a
listing, category or home page. Both are reported honestly instead of returning a wrong number; use
price_add_manual to keep the history going by hand.
The price came from a text-pattern fallback rather than the page's own structured data (JSON-LD, microdata, Open Graph). It is usually right but has not been verified against a machine-readable field.
watch_add and price_add_manual accept an explicit currency, but the number you store should match
what you actually read, the server does not convert currencies.
No. The only outbound requests are to the product URLs you add, to fetch their pages. There is no telemetry and no account.
MIT licensed.
Use these docs as an MCP server
Any MCP client (Claude, Cursor, Windsurf, VS Code) can read this repository's documentation directly via GitMCP - no install:
- Docs MCP URL: https://gitmcp.io/theluckystrike/mcp-price-tracker
来源:servers/price-tracker/README.md,提交 1bd9d69
工具
0版本历史
1- v0.1.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Price 集成
PriceWin
win.price官方发布者
远程 MCP 服务器,可实时比较 Booking.com、Agoda、Trip.com、Traveloka 等平台的酒店与机票价格,并向合作酒店提交预订请求。

Mcp Amazon Product Price Stock Tracker
com.mambabuilt
通过 Apify actor 按 ASIN 或商品链接读取亚马逊价格、库存、卖家与评分,并在多次运行之间给出变动行。

Postage Stamp Price MCP
由 GitHub 账号 theluckystrike 发布
远程 MCP 服务器,让助手在调用时从 USPS Notice 123 读取当前美国邮政零售邮资价格,并计算信件邮资。

Silver Price Per Gram MCP
由 GitHub 账号 theluckystrike 发布
按纯度和货币查看每克白银实时价格、旧银币价值以及金银比。AI 翻译

Emalls Price Comparison
由 GitHub 账号 sepehr071 发布
非官方、只读的 Emalls(emalls.ir)比价 MCP 服务器,可搜索伊朗商家商品、报价、价格历史与店铺资料。