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.
- Site
- zennioptical.com
- Functions
- 4
- Sign-in
- Not needed
- Works with
- MCP, HTTP, Node, Python
Connect
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/zenniopticalOne 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/mcpSet it up in your clientBoth 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.
checkStockChecks live per-SKU inventory (in stock, quantity, backorder/preorder flags) off the site's own inventory endpoint.Arguments
Name Type Required skuIdstringYes Returns
ZenniStockinterface ZenniStock { skuId: string; inStock: boolean; quantity: number; backOrderable: boolean; preOrderable: boolean; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/zennioptical/checkStockCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.zennioptical.checkStock("2020123");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.zennioptical.checkStock("2020123"))curl -X POST https://api.bowmark.ai/v1/sites/zennioptical/checkStock \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"skuId":"2020123"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.zennioptical.checkStock("2020123");getFrameReads one frame's product-page data.Arguments
Name Type Required skuIdstringYes Returns
ZenniFrameinterface ZenniFrame { sku: string; name: string; price: number; colors: Array<{ sku: string; price: number }>; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/zennioptical/getFrameCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.zennioptical.getFrame("2020123");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.zennioptical.getFrame("2020123"))curl -X POST https://api.bowmark.ai/v1/sites/zennioptical/getFrame \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"skuId":"2020123"}'// The body of a run: the MCP run tool, or POST /v1/run return 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
Name Type Required 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/priceLensConfigCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.zennioptical.priceLensConfig("2020123", { odSph: -3.5, osSph: -3.5, pd: 62, birthYear: 1990 });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.zennioptical.priceLensConfig("2020123", {"odSph": -3.5, "osSph": -3.5, "pd": 62, "birthYear": 1990}))curl -X POST https://api.bowmark.ai/v1/sites/zennioptical/priceLensConfig \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"skuId":"2020123","rx":{"odSph":-3.5,"osSph":-3.5,"pd":62,"birthYear":1990}}'// The body of a run: the MCP run tool, or POST /v1/run return 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
Name Type Required querystringYes limitnumberNo Returns
ZenniFrameSearchinterface 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/searchFramesCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.zennioptical.searchFrames("round tortoise");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.zennioptical.searchFrames("round tortoise"))curl -X POST https://api.bowmark.ai/v1/sites/zennioptical/searchFrames \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"query":"round tortoise"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.zennioptical.searchFrames("round tortoise");
Use it from code
- Node
npm i @bowmark/web - Python
pip install bowmark-web - HTTP
POST /v1/sites/zennioptical/<function> - OpenAPI
/v1/sites/zennioptical/openapi.json