B&H Photo MCP server for AI agents

Let Claude, ChatGPT or your own agent read B&H Photo: 3 typed functions through one MCP server. No B&H Photo API key needed.

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

Connect

Just B&H Photo

An MCP server for B&H Photo 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/bhphoto
Every site

One MCP server for B&H Photo 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 3
  • checkStockAnswers whether a specific item is actually gettable right now, rather than merely listed at a price.

    Arguments

    NameTypeRequired
    urlstringYes

    Returns StoreStock

    // "Can I actually get this right now?", THREE facts, because on a real
    // storefront they disagree: B&H Photo will cart a "Temporarily Out of
    // Stock" item, so `orderable` alone overstates and the wording alone
    // understates. Read the one your decision turns on.
    interface StoreStock {
      url: string;
      title: string;
      sku: string | null;
      availability: string | null;     // "InStock" | "BackOrder" | "OutOfStock" |
                                       // "Discontinued" | "PreOrder" |
                                       // "LimitedAvailability"; null = wording we
                                       // do not classify, read availabilityText
      availabilityText: string | null; // B&H Photo's OWN words, verbatim
      orderable: boolean;              // is the cart control actually on the page
      price: number | null;            // USD
      currency: string;
      checkedAt: string;               // ISO-8601, stock is only true at an instant
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/bhphoto/checkStock

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.bhphoto.checkStock("<url>");
  • getProductReads one product page in full.

    Arguments

    NameTypeRequired
    urlstringYes

    Returns StoreProduct

    // One product page in full. Nulls mean "B&H Photo does not report it for
    // this product", never "we failed to read it".
    interface StoreSpec { group: string; name: string; value: string }
    
    interface StoreProduct {
      url: string;
      title: string;
      brand: string | null;
      sku: string | null;          // B&H Photo's own stock number
      mpn: string | null;          // manufacturer part number, the cross-retailer identity
      price: number | null;        // USD
      currency: string;
      availability: string | null; // "InStock" / "OutOfStock" / …
      rating: number | null;       // mean customer rating; null when unrated
      description: string | null;
      images: string[];
      specs: StoreSpec[];          // the store's own spec sheet, in its own groups
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/bhphoto/getProduct

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.bhphoto.getProduct("<url>");

Use it from code