BrickLink MCP server for AI agents

Let Claude, ChatGPT or your own agent read BrickLink: 5 typed functions through one MCP server. No BrickLink API key needed.

Functions
5
Sign-in
Not needed
Works with
MCP, HTTP, Node, Python

Connect

Just BrickLink

An MCP server for BrickLink alone, with one tool per function. Paste it into Claude, ChatGPT, Cursor or any MCP client as a remote server.

https://api.bowmark.ai/mcp/site/bricklink
Every site

One MCP server for BrickLink and every other site Bowmark covers. Your agent looks up what it needs and calls it.

https://api.bowmark.ai/mcp
Set it up in your client

Both need a Bowmark API key. The quickstart gets you one and a first result in a few minutes.

Functions

Open a function to see its arguments, what it returns and how to call it.

Read 5
  • categoriesList BrickLink's top-level LEGO catalogue categories (Sets, Parts, Minifigures, MOCs, …) with how many items each holds and its catalogue link.

    Arguments

    None.

    Returns { categories: BricklinkCategory[] }

    interface BricklinkCategory {
      name: string;
      itemCount: number | null;
      url: string | null;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/bricklink/categories

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.bricklink.categories();
  • imagesList the BrickLink catalogue images for one item in one colour: main and large image URLs plus thumbnails.

    Arguments

    NameTypeRequired
    itemIdnumberYes
    colorIdnumberNo

    Returns { itemNo: string | null; name: string | null; images: BricklinkImage[] }

    interface BricklinkImage {
      /** "main" | "large" | other BrickLink codes */
      kind: string | null;
      colorId: number | null;
      url: string | null;
      thumbUrl: string | null;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/bricklink/images

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.bricklink.images({ itemId: 102706, colorId: 12 });
  • itemRead one BrickLink catalogue item (set, part, minifigure…) by its item number: name, category, year released, weight, stud and package dimensions…

    Arguments

    NameTypeRequired
    argsstring | BricklinkItemArgsYes
    interface BricklinkItemArgs {
      /** e.g. "75192-1" (set) or "47543pb05" (part), or a catalogitem.page URL */
      itemNo: string;
      /** default: "set" when itemNo looks like 1234-1, otherwise "part" */
      type?: string;
    }

    Returns BricklinkItem

    interface BricklinkItem {
      itemId: number | null;
      type: string;
      typeName: string | null;
      itemNo: string;
      name: string | null;
      /** breadcrumb, e.g. ["Star Wars", "Ultimate Collector Series"] */
      category: string[];
      yearReleased: string | null;
      weight: string | null;
      studDimensions: string | null;
      packageDimensions: string | null;
      imageUrl: string | null;
      url: string;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/bricklink/item

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.bricklink.item({ itemNo: "75192-1", type: "set" });
  • offersList the BrickLink marketplace stores selling one catalogue item in one colour: price, quantity, new or used, store name, seller feedback and…

    Arguments

    NameTypeRequired
    itemIdnumberYes
    colorIdnumber
    BrickLink colour id; 0 (default) for sets and uncoloured items.
    No
    condition"new" | "used"No
    pagenumberNo
    perPagenumberNo

    Returns { total: number; page: number; offers: BricklinkOffer[] }

    interface BricklinkOffer {
      lotId: number | null;
      condition: "new" | "used" | null;
      completeness: string | null;
      description: string | null;
      quantity: number | null;
      color: string | null;
      /** in the caller's display currency */
      price: string | null;
      /** in the store's own currency */
      storePrice: string | null;
      salePercent: number | null;
      store: string | null;
      seller: string | null;
      sellerFeedback: number | null;
      sellerCountry: string | null;
      minBuy: string | null;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/bricklink/offers

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.bricklink.offers({ itemId: 102706, colorId: 12, perPage: 3 });

Use it from code