BrickTrack MCP Server
Track LEGO set prices with a scheduled watchlist, price history and alerts.
BrickTrack scores 66 (Good), licensed MIT and written in TypeScript. It can be reached as a remote MCP endpoint. It declares 9 tools. Filed under Uncategorized. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "bricktrackdev-bricktrack-mcp": { "command": "npx", "args": [ "-y", "@bricktrack/mcp@0.1.0" ], "env": { "BRICKTRACK_API_KEY": "YOUR_BRICKTRACK_API_KEY" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
BRICKTRACK_API_KEYSecret | Required | BrickTrack API key. |
Tools9Tool docs quality grade D
All capabilitiescheck_producttoolAsks for a check right away (1 credit), at most once per 5 minutes; earlier calls return the product unchanged. A paused product has to be resumed first. The check runs in the background; with wait=t…
get_accounttoolYour plan, the credits left (monthly allowance and packs), how many products you track and the credits they use per month, the credits each alert email costs, the days of history you can read and, on…
The product's latest state and every price read of the period, oldest first. The history covers every read of this set number on this marketplace, including those made before you added it, so a produ…
get_set_historytoolEvery price BrickTrack read for a set number on a marketplace over the period, whoever tracks it, oldest first, with the lowest, highest and average of those prices. A history of more than 5000 point…
list_productstoolYour watchlist, newest first, with each product's latest state and its recent prices (trend). Filter with setnumber (and marketplace) to know if a product is tracked, or with filter to get the same…
search_setstoolLEGO sets matching a name, a theme or the start of a set number (up to 20, the biggest first), from BrickTrack's catalog of official sets, to find the set number to track. price is null: a set's pric…
track_producttoolAdds a set number or a LEGO link to your watchlist. The first check runs in the background within seconds (checking is true until then): poll GET /products/{id}, or send wait: true to get the answer…
untrack_producttoolRemoves the product and its price history.
update_producttoolTarget price, drop alerts, check interval, or pause. Send only what changes. On the free plan, alerts (price drop, back in stock, target price) email for the first 5 products added among the active o…
About
BrickTrack MCP Server
Official Model Context Protocol server for the BrickTrack LEGO price tracking API.
Track LEGO set prices with a scheduled watchlist, price history and alerts.
It lets Claude, Cursor, VS Code, Windsurf and any MCP client call the API as tools. Runs over stdio (local) or Streamable HTTP (self-hosted).
Requirements
Hosted server (recommended)
BrickTrack runs this server for you at https://www.bricktrack.dev/api/mcp (Streamable HTTP). Send your API key as a Bearer token in the Authorization header; nothing to install.
{
"mcpServers": {
"bricktrack": {
"url": "https://www.bricktrack.dev/api/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
The hosted server and this package expose the same tools; run the package locally when you want stdio, your own network egress, or to self-host it.
Run it locally
Claude Desktop, Cursor, Windsurf and other clients
Add the server to the client's MCP configuration (claude_desktop_config.json, .cursor/mcp.json…):
{
"mcpServers": {
"bricktrack": {
"command": "npx",
"args": ["-y", "@bricktrack/mcp"],
"env": {
"BRICKTRACK_API_KEY": "YOUR_API_KEY"
}
}
}
}
VS Code
{
"servers": {
"bricktrack": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@bricktrack/mcp"],
"env": {
"BRICKTRACK_API_KEY": "${input:bricktrack-api-key}"
}
}
},
"inputs": [
{
"type": "promptString",
"id": "bricktrack-api-key",
"description": "BrickTrack API key",
"password": true
}
]
}
Claude Desktop extension
Download the .mcpb bundle from the releases page and open it; Claude Desktop asks for your API key.
Docker
docker build -t bricktrack-mcp .
docker run -i --rm -e BRICKTRACK_API_KEY=YOUR_API_KEY bricktrack-mcp
Tools
| Tool | Description |
|---|---|
check_product | Asks for a check right away (1 credit), at most once per 5 minutes; earlier calls return the product unchanged. A paused product has to be resumed first. The check runs in the background; with wait=t… |
untrack_product | Removes the product and its price history. |
get_account | Your plan, the credits left (monthly allowance and packs), how many products you track and the credits they use per month, the credits each alert email costs, the days of history you can read and, on… |
get_price_history | The product's latest state and every price read of the period, oldest first. The history covers every read of this set number on this marketplace, including those made before you added it, so a produ… |
get_set_history | Every price BrickTrack read for a set number on a marketplace over the period, whoever tracks it, oldest first, with the lowest, highest and average of those prices. A history of more than 5000 point… |
list_products | Your watchlist, newest first, with each product's latest state and its recent prices (trend). Filter with set_number (and marketplace) to know if a product is tracked, or with filter to get the same… |
search_sets | LEGO sets matching a name, a theme or the start of a set number (up to 20, the biggest first), from BrickTrack's catalog of official sets, to find the set number to track. price is null: a set's pric… |
track_product | Adds a set number or a LEGO link to your watchlist. The first check runs in the background within seconds (checking is true until then): poll GET /products/{id}, or send wait: true to get the answer… |
update_product | Target price, drop alerts, check interval, or pause. Send only what changes. On the free plan, alerts (price drop, back in stock, target price) email for the first 5 products added among the active o… |
Every tool that calls the API consumes credits. JSON results are returned as text; images are returned inline and other files (PDF…) as embedded resources, up to 4 MB.
Streamable HTTP
npx @bricktrack/mcp --http --port 3000
The endpoint is POST /mcp (stateless, JSON responses). Each client sends its own key in the x-api-key header (or Authorization: Bearer <key>); the server never uses a key of its own. It binds to 127.0.0.1 by default and rejects browser origins unless you allow them — put it behind TLS before exposing it.
createHttpHandler() is exported for Fetch-compatible runtimes (Cloudflare Workers, Deno, Bun):
import { createHttpHandler } from "@bricktrack/mcp";
export default { fetch: createHttpHandler({ allowedOrigins: [] }) };
Security
- The API key is read from
BRICKTRACK_API_KEY(stdio) or the request headers (HTTP) and removed from error messages. - Content fetched from websites is untrusted: the server instructions tell the model to treat it as data, not instructions.
- See SECURITY.md to report a vulnerability.
Development
npm install
npm test
npm run build
npx @modelcontextprotocol/inspector node dist/stdio.js
Built on the SDK
The server uses the official Node.js SDK (@bricktrack/sdk).
All BrickTrack SDKs
| SDK | Package | Install |
|---|---|---|
| Node.js | @bricktrack/sdk | npm install @bricktrack/sdk |
| Python | bricktrack | pip install bricktrack |
| Go | bricktrack-go | go get github.com/bricktrackdev/bricktrack-go |
| .NET | BrickTrack | dotnet add package BrickTrack |
| Ruby | bricktrack | gem install bricktrack |
| PHP | bricktrack/sdk | composer require bricktrack/sdk |
| Java | bricktrack-java | build from source, see its README |
| CLI | @bricktrack/cli | npm install -g @bricktrack/cli |
| MCP server | @bricktrack/mcp | npx -y @bricktrack/mcp |
Trademarks
LEGO® is a trademark of the LEGO Group of companies which does not sponsor, authorize or endorse this software.
License
MIT — see LICENSE.
Frequently asked questions
What is BrickTrack MCP Server?
Track LEGO set prices with a scheduled watchlist, price history and alerts.
How do I install BrickTrack MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. BrickTrack MCP Server runs locally from the npm package @bricktrack/mcp with the command npx -y @bricktrack/mcp@0.1.0.
Is BrickTrack MCP Server free and open source?
Yes. BrickTrack MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does BrickTrack MCP Server support remote (HTTP) connections?
Yes. BrickTrack MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does BrickTrack MCP Server provide?
BrickTrack MCP Server provides 9 tools, including check_product, get_account, get_price_history, and get_set_history. See the full tool list for descriptions and parameters.
How is BrickTrack MCP Server's trust score calculated?
BrickTrack MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.