Primor API and MCP server for AI agents
Let Claude, ChatGPT or your own agent read Primor. No Primor API key needed.
Add to your agent
Paste this into Claude Code, Cursor, Codex or any agent. It adds the server itself.
Read https://bowmark.ai/sites/primor.md and add Bowmark's Primor MCP server to my agent.Run this in a terminal, then sign in when the browser opens. Claude Code keeps its own sign-in (a claude.ai sign-in does not carry over), so add only this one server. Adding the Bowmark plugin as well lists every tool twice.
claude mcp add --transport http bowmark-primor https://api.bowmark.ai/mcp/site/primorPress the button, or add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"bowmark-primor": {
"url": "https://api.bowmark.ai/mcp/site/primor"
}
}
}Press the button, or run this in a terminal.
code --add-mcp '{"name":"bowmark-primor","type":"http","url":"https://api.bowmark.ai/mcp/site/primor"}'Run this in a terminal.
codex mcp add bowmark-primor --url https://api.bowmark.ai/mcp/site/primorIn Claude, open Plugins → Add → Add custom connector, paste this URL, and pick Sign in now.
https://api.bowmark.ai/mcp/site/primorIn ChatGPT, open Plugins, press +, choose Add custom MCP server and paste this URL.
https://api.bowmark.ai/mcp/site/primorAny MCP client that takes a remote (streamable HTTP) server: give it this URL.
https://api.bowmark.ai/mcp/site/primorFunctions
Open a function to see its parameters and run it with your own API key.
getProductReads one primor.eu product page by url: name, brand, description, and every size with its price, regular price, discount, stock and GTIN.POST /v1/sites/primor/getProduct
Parameters
string /* a www.primor.eu/<locale>/<slug>-<id>.html product page */
curl -X POST https://api.bowmark.ai/v1/sites/primor/getProduct \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.primor.getProduct({});import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.primor.getProduct({}))Responsereturns PrimorProductinterface PrimorVariant { sku: string | null; // Primor's SKU for this size; null in search rows size: string | null; // e.g. "30 ML" price: number | null; // current price, EUR regularPrice: number | null; // crossed-out price, when shown discount: string | null; // e.g. "-39%" inStock: boolean | null; gtin: string | null; // EAN barcode; getProduct only unitPrice: string | null; // e.g. "159,83 € / 100 ML"; getProduct only url: string | null; image: string | null; } interface PrimorProduct { url: string; // the canonical page url (old ids redirect to it) name: string; brand: string | null; category: string | null; sku: string | null; description: string | null; currency: string; minPrice: number | null; maxPrice: number | null; inStock: boolean; // true when any size is in stock image: string | null; variants: PrimorVariant[]; // every size, smallest first }searchProductsSearches primor.eu's perfume and cosmetics catalog by product, brand or fragrance name; returns price, discount, sizes, rating and the product page…POST /v1/sites/primor/searchProducts
Parameters
{query: string, page?: number /* 1 up; default 1. 24 products a page */}curl -X POST https://api.bowmark.ai/v1/sites/primor/searchProducts \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"query":"good girl"}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.primor.searchProducts({ query: "good girl" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.primor.searchProducts({"query": "good girl"}))Responsereturns PrimorSearchPageinterface PrimorVariant { sku: string | null; // Primor's SKU for this size; null in search rows size: string | null; // e.g. "30 ML" price: number | null; // current price, EUR regularPrice: number | null; // crossed-out price, when shown discount: string | null; // e.g. "-39%" inStock: boolean | null; gtin: string | null; // EAN barcode; getProduct only unitPrice: string | null; // e.g. "159,83 € / 100 ML"; getProduct only url: string | null; image: string | null; } interface PrimorSearchHit { productId: string; title: string; brand: string | null; url: string; // pass to getProduct({ url }) price: number | null; // the cheapest size's sale price, EUR discount: string | null; size: string | null; // size the price belongs to variantCount: number | null; rating: number | null; // out of 5 reviewCount: number | null; inStock: boolean | null; categories: string[]; image: string | null; variants: PrimorVariant[]; } interface PrimorSearchPage { results: PrimorSearchHit[]; total: number | null; page: number; pageCount: number | null; returned: number; warnings: string[]; // says the page is partial and names the next page }