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.

Functions

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":{}}'
    Sign in to run
    Responsereturns PrimorProduct
    interface 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"}}'
    Sign in to run
    Responsereturns PrimorSearchPage
    interface 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
    }