# Storag > Storag (storag.ai, by SAIMON) is a product search API and MCP server for ecommerce catalogues, built for AI shopping agents and chatbots. You give it a product feed; your agent searches it in plain shopper language over REST or MCP and gets structured products back (id, title, price, sale price, availability, link, image). This is the long version of https://storag.ai/llms.txt: what Storag does today, how to call the REST API and the MCP server, and the plans. The live OpenAPI spec at https://storag.ai/api/v1/storag/openapi.json is the reference (https://storag.ai/api/openapi.json is the same API with the docs guides added); if this file and the spec disagree, the spec wins. Facts as of 2026-11. This file is kept in sync with the live API. If a page and this file disagree, the live OpenAPI spec at https://storag.ai/api/v1/storag/openapi.json wins (https://storag.ai/api/openapi.json is the same API with the docs guides added). - Search: `/search` takes full-text candidates from your catalogue, adds products that match by meaning, and an LLM judge keeps the ones that fit, best match first (`meta.judged: true`). Shopper phrases for price limits, stock and sort are understood and applied as filters, for example "waterproof hiking boots under 150 EUR in stock" or "the cheapest ...". Query understanding covers English and Czech. `/search/text` is plain full-text, never judged. - Judged answers: `total` is at most 100 and a judged answer holds at most 100 products; when the judge is skipped (busy, slow, over a ceiling, `judge=false`) the answer is unjudged and `meta.fallback` says why. Details: https://storag.ai/docs/api#description/how-search-answers. Live status: https://storag.ai/api/v1/storag/health (`checks.judge`). - Interfaces: REST (JSON, GET, API key as `Authorization: Bearer ` or `X-API-Key`) and an MCP server (Streamable HTTP) with 4 read-only tools: `search_products`, `text_search_products`, `list_products`, `get_product`. - Tenancy: each API key reads only its own project's catalogue. Each key has a per-minute rate limit; over it the API answers 429. - Catalogue input: a product feed URL (Google Merchant / Google Shopping feed, XML, CSV or TSV) set in the dashboard. Sign-up, API keys and the feed are dashboard-only (no API); an agent hands those steps to its user: https://storag.ai/docs/agents. - Sample catalogue: a new project can start on a 2,000-product sample catalogue of fictional products until its own import is live. Keyed answers then carry `"catalogue": "sample"` (header `X-Storag-Catalogue: sample`): never show those products as the shop's stock. `"catalogue": "none"` with a `notice` means the project has no catalogue yet and nothing was searched, not that nothing matched. No `catalogue` field: the project's own products answered. - Hosted API only; no self-hosted version. - Try without signing up: a keyless demo over a fictional catalogue, REST and MCP, 30 requests a minute and 500 a day per IP. ## Quick start An agent setting this up for its user: https://storag.ai/docs/agents.md has these steps with the words to say to the user. 1. Try the demo with no key: `curl "https://storag.ai/api/v1/storag/demo/search?q=waterproof+hiking+boots+under+150+in+stock"` 2. Create a free account at https://storag.ai/signup and a project. The dashboard shows the project's API key (`pk_...`). 3. In the dashboard, set the project's product feed URL (Google Merchant / Google Shopping feed, XML, CSV or TSV). Storag imports and indexes it and keeps it in sync. 4. Search your own catalogue with the key, over REST or MCP. Until the import is live, a project that chose sample products answers from the 2,000-product sample catalogue with `"catalogue": "sample"`; check that field before you trust a result. ## REST API Base URL: `https://storag.ai/api/v1/storag`. JSON over HTTPS, GET requests. Authentication: send the project API key as `Authorization: Bearer ` or as `X-API-Key: `. A missing or wrong key answers 401; a key without access answers 403. ### Endpoints - `GET /search`: search your catalogue, best match first: full-text candidates judged for fit by an LLM; reports `meta` (see below). - `GET /search/text`: plain full-text search, never judged, the same parameters. It carries `meta` only when it relaxed the query (`fallback` "relaxed" or "partial", `complete: false`) or stopped at its time cap (`timedOut: true`, header `X-Storag-Timed-Out`). - `GET /products`: list products, `page`, `page_size`, optional `search` (title, ID or brand). A project with no catalogue yet answers 200 with an empty page, `"catalogue": "none"`, a `notice` and the header `X-Storag-Catalogue: none`; an empty page without them means nothing matched. - `GET /products/{product_id}`: one product; 404 if it is not in your catalogue (with `"catalogue": "none"` and the `notice` when the project has no catalogue yet). - `GET /usage`: your key's usage counters. - `GET /health`: which parts of search are on right now (no key). - Demo, no key, fictional catalogue: `GET /demo/search`, `GET /demo/search/text`, `GET /demo/products`, `GET /demo/products/{product_id}`. ### Search parameters - `q` (required, 1 to 200 characters): the query in shopper language. Phrases such as "under 150", "in stock" and "cheapest" become filters and sort. - `page` (from 1, default 1) and `page_size` (1 to 100, default 20). Aliases: `pageSize`, `limit`. A number above the cap (100 for both with a key, page 10 and page size 20 on the demo) is capped, never rejected: the answer's `page` and `pageSize` say what was used. Below 1 or not a whole number is 400. - `min_price`, `max_price` (numbers). Aliases: `minPrice`, `maxPrice`. - `availability`: `in stock` returns only products in stock; `any` applies no stock filter, even when `q` says "in stock". Leave it out to let `q` decide. Any other value (for example `out of stock`) is 400. - `sort`: `relevance` (default), `price_asc` (cheapest first), `price_desc` (dearest first). ### Example On the keyless demo catalogue (with your key, use `/search` and the `Authorization` header instead; the response has the same shape): ```bash curl "https://storag.ai/api/v1/storag/demo/search?q=waterproof+hiking+boots+under+150+in+stock&page_size=5" ``` Response (shortened): ```json { "query": "waterproof hiking boots under 150 in stock", "results": [ { "rank": 1, "product": { "id": "DEMO-1937", "title": "Larchline Waterproof Men's Hiking Boots, Black", "brand": "Larchline", "category": "Outdoor > Footwear > Hiking Boots", "price": { "amount": 108.49, "currency": "EUR" }, "sale_price": null, "availability": "in stock", "link": "https://...", "image_link": "https://..." } } ], "total": 15, "page": 1, "pageSize": 5, "processingTime": 266, "meta": { "judged": true, "complete": false, "alternatives": false, "fallback": null } } ``` Product fields: `id`, `title`, `description`, `brand`, `category`, `link`, `image_link`, `price` and `sale_price` (`{ amount, currency }` or null), `availability` (`in stock` or `out of stock`), `group_id`, and `color`, `size`, `material` when the feed has them. ### How /search answers `/search`, `/demo/search` and the MCP tool `search_products` answer in two steps. A full-text search finds up to 120 candidates inside the query's price, stock and word limits; the search route adds products that match by meaning, and an LLM judge keeps the ones that fit the query, best match first. `meta.judged: true` says the judge ranked the answer. If the judge is down, slow or over a limit, the search still answers and `meta.fallback` says why. `/search/text` is never judged. ### What the judge reads Price, stock and sort phrases in `q` ("under 50 EUR", "in stock", "cheapest") are taken out of the text the judge reads and applied as filters instead: the product facts the judge sees carry no price or stock, so it cannot check them. Every price, stock and size limit of the query holds on judged and unjudged answers alike. A size ("size 42") stays in the judge's text, as product facts name it. A query that names one product exactly (its ID or EAN) is answered from full-text at once, never judged. ### What `total` means The judge answers at most page × page_size products (at least 20 when `q` names a size, or a price in a currency), and never more than 100. | Answer | `total` | |---|---| | Judged, and the judge kept fewer products than it was asked for | Exactly the products kept, inside every limit of the query. A `total` under `page_size` is exactly the results shown. | | Judged, and the judge kept as many as it was asked for | The full-text match count (more may fit), at most 100. | | Not judged (`meta.judged: false`) | The full-text match count; a lower bound when `meta.timedOut` is true. | ### Paging judged results A judged answer holds at most 100 products: a `/search` page past the 100th product comes back empty. Each page is judged again for the larger window, so `total` can change from page to page, for example from the full-text count on page 1 to the exact kept count on page 3. Page until a page returns fewer results than `page_size`, not by `total` alone. To walk every keyword match, use `/search/text`. ### Price sorts `sort=price_asc` or `price_desc` (or "cheapest" / "most expensive" in `q`) is judged like any search, so a loose match does not lead a cheapest-first list. The judge keeps the products that fit, and those come back in price order: cheapest or dearest first, in stock or not (filter stock with `availability`), products without a price last. A judged price sort covers at most the 100 products the judge kept, and `total` is as in the table above. When the judge is skipped (`judge=false`, a ceiling, or the judge could not answer), you get every full-text match in price order with `meta.judged: false`, and `meta.fallback` says why (`null` for `judge=false`). ### `meta.fallback`: why an answer is not judged | `fallback` | Why | What you get | |---|---|---| | `null` | Judged, or you sent `judge=false` or a query naming one product | The judged results, or unjudged ones when `meta.judged` is false | | `text` | The search route was unreachable, failed or took over 2 s | Full-text results | | `busy` | The search route was at its capacity | Full-text results | | `timeout` | The judge's 1.5 s deadline passed | What it had not judged comes back unjudged, `complete: false` | | `budget` | A judge spend ceiling was reached | Unjudged candidates (full-text results on the demo) | | `quota` | A Free project at or over its monthly quota, or a Starter or Scale project past 2 times it | Unjudged candidates until the 1st (UTC) | | `no-language` | The search had no language, so nothing was judged | Unjudged candidates | | `error` | The judge could not run | Unjudged candidates | | `relaxed`, `partial` | Few or no products matched every word: most of the words, or only the most specific one | Full-text's relaxed match, `complete: false` | `meta.complete: false` also means not every candidate was judged in time. `meta.alternatives: true` means nothing fitted and these are the closest products. ### Time and cost - Judging adds time; past the 1.5 s deadline you get what was judged so far (`fallback: "timeout"`), not a slower answer. - Each project has a daily number of judged searches set by its plan; past it, searches answer unjudged with `fallback: "budget"` until the next UTC day. Unpaid projects also share a free daily ceiling. - A judged price sort judges the whole first batch of candidates, not only the first page, so it takes longer and uses more judge work than a relevance page of 20 results or fewer. - `judge=false` skips the judge: no judge time, and the search does not count towards the judge ceilings. - Every search counts as one query on your plan, judged or not. ### Errors and limits - 400 bad parameter, 401 no or wrong key, 403 no access, 404 not found, 429 over the key's per-minute rate limit (or the demo's 30 a minute / 500 a day per IP), 502 search backend unavailable. Error bodies are JSON. ## MCP server - Your catalogue: `https://mcp.storag.ai/mcp` (Streamable HTTP), header `Authorization: Bearer `. - Demo, no key: `https://mcp.storag.ai/demo/mcp`. - Read-only tools: - `search_products(q, page, page_size, min_price, max_price, availability, sort)`: search, best match first, judged as `/search` is (same `total`, paging and `meta`); price and stock phrases in `q` are applied as filters. - `text_search_products(q, page, page_size, min_price, max_price, availability, sort)`: plain full-text search. - `list_products(page, page_size, search)`: browse the catalogue. - `get_product(product_id)`: one product. - Client config (Claude Code, Cursor and other clients with a JSON MCP config): Your catalogue (Claude Code `.mcp.json` and other clients with a JSON MCP config; `"type": "http"` is required by Claude Code; Claude Desktop and claude.ai use a custom connector instead, see below): ```json { "mcpServers": { "storag": { "type": "http", "url": "https://mcp.storag.ai/mcp", "headers": { "Authorization": "Bearer " } } } } ``` Demo catalogue, no key: ```json { "mcpServers": { "storag-demo": { "type": "http", "url": "https://mcp.storag.ai/demo/mcp" } } } ``` - Claude Code: `claude mcp add --transport http storag https://mcp.storag.ai/mcp --header "Authorization: Bearer "` - n8n: add an "MCP Client Tool" node with the server URL and the Bearer header. - Claude Desktop and claude.ai, demo: In Claude Desktop or on claude.ai, open Connectors (Claude Desktop: Settings > Connectors; claude.ai: https://claude.ai/customize/connectors), then Add, then Add custom connector. Name it `Storag demo`, set the URL to `https://mcp.storag.ai/demo/mcp`, click **Continue** and choose **No sign-in**. On the Free plan, Claude allows one custom connector. Claude connects from Anthropic's cloud, so this works from any network. - claude.ai, Claude Desktop and ChatGPT, your catalogue: Connectors on claude.ai, in Claude Desktop and in ChatGPT sign in with OAuth, which the Storag MCP server does not offer yet, so they cannot use the key. There, add the keyless demo `https://mcp.storag.ai/demo/mcp` as a custom connector with no sign-in; for the user's own catalogue, use Claude Code, Cursor, Windsurf, VS Code or n8n. Claude Desktop can still reach the keyed server as a local command through the `mcp-remote` bridge (needs Node.js 18 or newer): put this in `claude_desktop_config.json` (Settings > Developer > Edit Config) and restart Claude Desktop. ```json { "mcpServers": { "storag": { "command": "npx", "args": [ "-y", "mcp-remote", "https://mcp.storag.ai/mcp", "--header", "Authorization:${AUTH_HEADER}" ], "env": { "AUTH_HEADER": "Bearer " } } } } ``` A wrong key does not stop the connection: Claude connects and lists the four tools, and the first tool call fails with `Invalid Storag API key: storag-api refused the key sent as 'Authorization: Bearer '`. Copy the key again. ### Demo in Claude Code, one command (no key) ```bash claude mcp add --transport http storag-demo https://mcp.storag.ai/demo/mcp ``` Copy-paste snippets for Claude Code `.mcp.json` and Cursor `.cursor/mcp.json`: https://storag.ai/demo ## Pricing (USD per month; yearly billing price, monthly billing price in brackets) - Free: $0, 5,000 queries a month, up to 5,000 products, no credit card - Starter: $39 ($49), 10,000 queries a month, up to 10,000 products - Grow: $99 ($149), 20,000 queries a month, up to 20,000 products - Pro: $219 ($299), 50,000 queries a month, up to 30,000 products - Scale: $359 ($499), 100,000 queries a month, up to 50,000 products - Enterprise: custom price, unlimited queries and products, dedicated support & SLA; contact us - Prices exclude VAT. CZ: +21 % VAT. EU businesses: reverse charge with a valid VAT ID. Outside the EU: no VAT. - One search is one query. If a feed has more products than the plan allows, the first ones in feed order are indexed. - Paid plans are bought in the dashboard after sign-up (Stripe checkout). Full table: https://storag.ai/pricing ## Compare [Storag vs Algolia, Typesense and Meilisearch](https://storag.ai/compare/algolia-typesense-meilisearch): feed import, plain-language filters, MCP, free tiers and pricing side by side, plus Elastic Serverless and Vertex AI Search on price; every cell links its source. Other engines on price only (list prices read 28 November 2026 on each provider's pricing page): - Elastic Serverless (Search), list prices in USD (source: https://www.elastic.co/pricing/serverless-search, read 28 November 2026): - Free to start: Free trial; no lasting free tier on the pricing page - Per 1,000 searches: No per-search price: search compute from $0.09 per VCU-hour, ingest from $0.14 per VCU-hour - Data stored: From $0.047 per GB a month retained, egress from $0.05 per GB - AI / semantic: Machine learning compute from $0.07 per VCU-hour; Elastic Inference Service from $0.08 per million tokens - Google Vertex AI Search (now Agent Search), list prices in USD (source: https://cloud.google.com/generative-ai-app-builder/pricing, read 28 November 2026): - Free to start: 10,000 queries a month per account and 10 GiB of index storage a month free - Per 1,000 searches: $1.50 on Standard (semantic retrieval), $4.00 on Enterprise (with core generative answers) - Data stored: $0.006849 per GiB-hour above the free 10 GiB, about $5 per GiB a month - AI / semantic: Semantic retrieval included from Standard; Advanced Generative Answers add $4.00 per 1,000 queries ## Links - Agent setup, zero to first search: https://storag.ai/docs/agents.md - The /docs guides as Markdown: https://storag.ai/docs.md - Sign up: https://storag.ai/signup - Pricing: https://storag.ai/pricing - Docs: https://storag.ai/docs (quickstart https://storag.ai/docs/quickstart, API reference https://storag.ai/docs/api, MCP server setup https://storag.ai/docs/mcp, a web page, not the server URL) - MCP server guide: https://storag.ai/mcp (a web page, not the server URL) - Google Merchant feed as a search API (guide): https://storag.ai/guides/google-merchant-feed-search-api - Product catalog API for AI agents (guide): https://storag.ai/guides/product-catalog-api-for-ai-agents - Product search over MCP, call by call (guide): https://storag.ai/guides/product-search-mcp - Compared with Algolia, Typesense and Meilisearch (and Elastic Serverless and Vertex AI Search on price): https://storag.ai/compare/algolia-typesense-meilisearch - An Algolia alternative for AI shopping agents (when to switch, when to stay): https://storag.ai/alternatives/algolia - OpenAPI spec: https://storag.ai/api/v1/storag/openapi.json - Terms: https://storag.ai/terms - Privacy: https://storag.ai/privacy - SAIMON, the team behind Storag: https://www.saimon.cz/