All plugins

bricktrack

LEGO set prices for Hermes through the BrickTrack API: find a set number in the catalog of official sets, read its price history on four LEGO stores, and keep a watchlist that checks prices on a schedule and emails on drops and restocks. Disclosure — sends the tool arguments to www.bricktrack.dev with your BRICKTRACK_API_KEY. Searching, price history and the watchlist are free; each price check of a tracked product uses 1 BrickTrack credit and each alert email a few (stated in each tool description). bricktrack_track_product, bricktrack_update_tracking, bricktrack_check_now and bricktrack_stop_tracking change your BrickTrack watchlist, and BrickTrack emails the account owner on price alerts; bricktrack_stop_tracking removes a tracked product and its price history from your BrickTrack watchlist without a Hermes approval prompt. Reads the key only through Hermes's secret scope. Registers 9 tools, no hooks or middleware, writes no files, starts no processes, has no telemetry or self-updater, and uses only the Python standard library.

bricktrackdevToolsv1.0.1Updated 1 hour ago

About

LEGO set prices for Hermes through the BrickTrack API: find a set number in the catalog of official sets, read its price history on four LEGO stores, and keep a watchlist that checks prices on a schedule and emails on drops and restocks. Disclosure — sends the tool arguments to www.bricktrack.dev with your BRICKTRACK_API_KEY. Searching, price history and the watchlist are free; each price check of a tracked product uses 1 BrickTrack credit and each alert email a few (stated in each tool description). bricktrack_track_product, bricktrack_update_tracking, bricktrack_check_now and bricktrack_stop_tracking change your BrickTrack watchlist, and BrickTrack emails the account owner on price alerts; bricktrack_stop_tracking removes a tracked product and its price history from your BrickTrack watchlist without a Hermes approval prompt. Reads the key only through Hermes's secret scope. Registers 9 tools, no hooks or middleware, writes no files, starts no processes, has no telemetry or self-updater, and uses only the Python standard library.

BrickTrack for Hermes Agent

LEGO set prices for Hermes Agent, through the BrickTrack API.

  • Find a set by name, theme or set number in the catalog of official LEGO sets.
  • Know if a price is good: the set's price history on the LEGO store with its lowest, highest and average price.
  • Watch prices for you: add sets to a watchlist, set a target price, and BrickTrack checks them on a schedule and emails you when the price drops or the set is back in stock. Hermes can add, adjust, check and remove them in conversation.

LEGO stores: lego.com US (com, default), UK (co.uk), Germany (de) and France (fr).

Contents

Install

hermes plugins install bricktrack

Hermes asks for BRICKTRACK_API_KEY during the install. Create a key in the BrickTrack dashboard.

Answer yes to Enable 'bricktrack' now?, or run hermes plugins enable bricktrack later. The tools join the bricktrack toolset, which is on by default; turn it on or off in hermes tools like any other toolset. They stay hidden from the model until the API key is set.

How it works

Each tool is one HTTPS call to https://www.bricktrack.dev/api/v1, authenticated with your key. BrickTrack reads prices from LEGO on a schedule and keeps every price it reads. Because that history is shared, a set someone else already tracks comes with months of prices the day you look at it.

Hermes  ──tool call──▶  plugin  ──/api/v1/...──▶  bricktrack.dev  ──scheduled checks──▶  LEGO
        ◀──JSON──────          ◀──JSON──────────            ──email alerts──▶  you

Most tools only read what BrickTrack already knows and are free. Each price check of a tracked product (scheduled, or bricktrack_check_now) costs 1 credit.

Tools

ToolWhat it doesInputCredits
bricktrack_search_setsSearch BrickTrack's catalog of official LEGO sets by name, theme or the start of a set number (up to 20, biggest first) to find the set number to track. price is null in the results: a set's price is read once it is tracked. Up to 30 searches per hour.queryfree
bricktrack_price_historyEvery price BrickTrack has read for the set number over the period (90 days by default), with the lowest, highest and average. Up to 600 reads per hour.set_numberfree
bricktrack_track_productAdds a set to the watchlist by set number or LEGO product link, with an optional target price and check interval.product1 per check
bricktrack_list_trackedThe watchlist with current prices and trends. Filters: drops, target, out_of_stock, attention, paused.nonefree
bricktrack_tracked_productOne tracked product: price, stock, target, check interval, last error and full price history.product_idfree
bricktrack_update_trackingChanges the target price, drop and restock alerts, check interval, or pauses and resumes checks.product_idfree
bricktrack_check_nowChecks the price right away, at most once every 5 minutes.product_id1
bricktrack_stop_trackingRemoves the product and its price history from the watchlist.product_idfree
bricktrack_accountPlan, credits left, tracked products and their monthly credit use, alert email cost, readable history, requests left on the free plan.nonefree

Every tool that takes a set number also takes marketplace (com, co.uk, de, fr; com by default).

Is this a good price?

Ask Hermes and it combines two free calls:

  1. bricktrack_search_sets finds the set number if you gave a name.
  2. bricktrack_price_history shows where today's price sits between the lowest, highest and average of the last months.

When the set has no history yet, bricktrack_track_product starts one.

The watchlist

  • Adding: bricktrack_track_product adds a set by set number or LEGO product link. The first check runs within seconds; wait: true returns its result in the same answer.
  • Alerts: with target_price, BrickTrack emails the account owner when the price reaches it. With alert_on_drop, it emails on every drop and when the set is back in stock. Each alert email costs credits (20 on the free plan, 10 with a pack or Starter, 3 on Pro, 1 on Business); on the free plan, only the first 5 products with an alert send emails.
  • Interval: interval_minutes is 1440 (daily) by default. Faster checks need a credit pack or a paid plan: every 60 minutes with a pack or Starter, 30 with Pro, 5 with Business.
  • Cost: each check costs 1 credit, so a product checked daily uses about 30 credits a month. Failed checks are refunded. paused: true stops the checks and the cost without losing the history.
  • Removing: bricktrack_stop_tracking deletes the product and its history; its description tells the model to ask you first.

Example prompts

  • "Find the set number of the LEGO Millennium Falcon UCS."
  • "Is €734.99 a good price for set 75192 on the German LEGO store?"
  • "Show me the price history of 10497 on lego.com over the last 90 days."
  • "Track 42143 and tell me when it drops under $400."
  • "Which sets on my watchlist are out of stock?"
  • "How many BrickTrack credits do I have left?"

Credits and errors

  • Searching, history, the watchlist and the account are free. Price checks cost 1 credit each, alert emails a few. The cost is in each tool's description, so the model knows it before it calls. The free plan includes 200 API requests a month and reads the last 30 days of history; a plan or a credit pack lifts both. Plans and prices: bricktrack.dev/pricing.
  • Errors come back to the model as {"error": "BrickTrack: <message>"} with the API's own message (invalid key, no credits left, rate limit), so it can fix the input instead of stopping. When a scheduled check fails, the reason is in the product's last_error.
  • Calls time out after 60 seconds.

What it does on your machine

  • Network: calls https://www.bricktrack.dev/api/v1 only, with your BRICKTRACK_API_KEY, and refuses a redirect to any other address, so the key never leaves that host. Some calls use credits on your BrickTrack account.
  • Credentials: reads the key only through Hermes's secret scope. It stores nothing.
  • Nothing else: no files written, no processes started, no telemetry, no self-update. Standard library only, no dependencies.

Development

python -m pytest

The tests mock the network and run without Hermes installed.

Contact

License

MIT

LEGO® is a trademark of the LEGO Group of companies which does not sponsor, authorize or endorse this software.

README from the reviewed commit 8f8f4f3; it updates when the author re-pins.

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section