Zenni Optical MCP server for AI agents

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

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

Connect

Just Zenni Optical

An MCP server for Zenni Optical 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/zennioptical
Every site

One MCP server for Zenni Optical 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 4
  • checkStockChecks live per-SKU inventory (in stock, quantity, backorder/preorder flags) off the site's own inventory endpoint.

    Arguments

    NameTypeRequired
    skuIdstringYes

    Returns ZenniStock

    interface ZenniStock {
      skuId: string;
      inStock: boolean;
      quantity: number;
      backOrderable: boolean;
      preOrderable: boolean;
    }

    HTTP endpoint

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

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.zennioptical.checkStock("2020123");
  • getFrameReads one frame's product-page data.

    Arguments

    NameTypeRequired
    skuIdstringYes

    Returns ZenniFrame

    interface ZenniFrame {
      sku: string;
      name: string;
      price: number;
      colors: Array<{ sku: string; price: number }>;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/zennioptical/getFrame

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.zennioptical.getFrame("2020123");
  • priceLensConfigSends a real prescription + usage type straight to the site's own lens-pricing endpoint and returns the priced lens-type matrix it computes for that…

    Arguments

    NameTypeRequired
    skuIdstringYes
    rx.odSphnumberYes
    rx.osSphnumberYes
    rx.pdnumberYes
    rx.birthYearnumberYes

    Returns ZenniLensPriceRow[]

    interface ZenniLensPriceRow {
      type: string;
      minPrice: number;
      maxPrice: number;
      subTypes: Array<{ type: string; usage: string; minPrice: number; maxPrice: number; tints: boolean }>;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/zennioptical/priceLensConfig

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.zennioptical.priceLensConfig("2020123", { odSph: -3.5, osSph: -3.5, pd: 62, birthYear: 1990 });
  • searchFramesSearches Zenni's own storefront catalog for what a shopper would type.

    Arguments

    NameTypeRequired
    querystringYes
    limitnumberNo

    Returns ZenniFrameSearch

    interface ZenniFrameSummary {
      sku: string;
      name: string;
      color: string;
      price: number;
      salePrice: number;
      inStock: boolean;
      shape: string | null;
      material: string | null;
      url: string;
    }
    
    interface ZenniFrameSearch {
      frames: ZenniFrameSummary[];
      total: number;
    }

    HTTP endpoint

    POST https://api.bowmark.ai/v1/sites/zennioptical/searchFrames

    Call it

    import { bowmark } from "@bowmark/web";
    
    const result = await bowmark.providers.zennioptical.searchFrames("round tortoise");

Use it from code