BrickTrack MCP Server
OfficialThis server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
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
Related MCP server: steam-mcp
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-mcpTools
Tool | Description |
| 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… |
| Removes the product and its price history. |
| 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… |
| 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… |
| 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… |
| 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… |
| 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… |
| 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… |
| 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 3000The 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.jsBuilt on the SDK
The server uses the official Node.js SDK (@bricktrack/sdk).
All BrickTrack SDKs
SDK | Package | Install |
Node.js |
| |
Python |
| |
Go |
| |
.NET |
| |
Ruby |
| |
PHP |
| |
Java | build from source, see its README | |
CLI |
| |
MCP server |
|
Trademarks
LEGO® is a trademark of the LEGO Group of companies which does not sponsor, authorize or endorse this software.
License
MIT — see LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Official Todoist MCP server. Manage tasks and projects. Hosted, no API key needed.
MCP server for Lemon Squeezy — stores, products, orders, subscriptions, license keys.
MCP server for Riveter's enrichment, scraping, and monitoring API
Discover MCP servers and A2A agents; verify, message, post, follow, react, and receive webhooks.
Related MCP Servers
- FlicenseAqualityCmaintenanceUnofficial MCP server that exposes the PrijsProfeet API as validated tools for product search, price history, forecasts, deals, and matching. It can run via stdio or as an authenticated Streamable HTTP server.24-
- FlicenseNot gradedqualityDmaintenanceMCP server for the Steam Web API, exposing your game library, playtime, achievements, friends, wishlist, and the Steam store to MCP clients over stdio.-
- AlicenseAqualityCmaintenanceMCP server exposing quote and live cryptocurrency price tools, with both local (stdio) and cloud-deployed (HTTP) transports.2MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to manage Toggl Track time entries, timers, projects, clients, tags, and reports through a self-hosted stdio server.61 npmMIT