[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [Shopify product lookup](https://spiral.ai/integrations/gemini-cli/shopify-product-lookup)

# How to Use Shopify product lookup in Gemini CLI

Returns catalog products matched to known product IDs or product URLs. Use it to revisit a shopper’s saved links without repeating a descriptive search.

|  |  |
| --- | --- |
| Model | Shopify product lookup |
| Available through | Alexandria |
| Category | E-commerce |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Shopify product lookup in Gemini CLI

- Use Shopify product lookup for https://www.tog24.com/products/craven-mens-milatex-5-5-jacket-dark-orange and render the returned product details in the project’s product preview.
- Use Shopify product lookup to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Shopify product lookup and tell me what changed since last week.
- Check Shopify product lookup and summarize what you find in three bullet points.
- Pull the newest data from Shopify product lookup and give me the result as a table.

## How to set up Shopify product lookup in Gemini CLI

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the server**: Or add it to `~/.gemini/settings.json` yourself:

```bash
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `gemini` and run:

```text
/mcp auth spiral
```

3. **Check it**: In Gemini CLI, run `/mcp`. From your shell:

```bash
gemini mcp list
```

### Use the Spiral skill

1. **Send Gemini CLI this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Shopify product lookup**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "shopify/catalog/lookup_catalog",
    "input": {
      "product_ids": [
        "<product_ids>"
      ]
    }
  }'
```

Then paste one of the prompts above: Gemini CLI finds Shopify product lookup on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/gemini-cli

## Shopify product lookup tools and prices

- [Shopify · Look up products](https://spiral.ai/tools/alexandria/shopify/catalog/lookup_catalog) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| view |  | — | Advanced Shopify output view. Leave empty for the default representation. |
| intent |  | — | Optional shopping preferences or intended use. |
| region |  | — | Buyer's state, province or region, such as CA. |
| country |  | — | Buyer's two-letter country code, such as US, CA or GB, for localized results. |
| filters |  | — | Advanced filters, such as {"available":true,"price":{"max":15000}}. Price amounts use minor currency units: 15000 means USD 150. |
| currency |  | — | Three-letter currency code, such as USD, CAD or GBP. |

## What can you do with Shopify product lookup in Gemini CLI?

Build a product chooser that shows Shopify descriptions, images, and available options beside a shopper’s shortlist. Check the returned selection before the interface labels a size and color as a match.

### Choose rainwear for a trip

Find rain jackets for a Seattle trip, revisit any product links the shopper already has, and inspect the final size and color choices.

### Build a gift shortlist

Find ceramic mugs for a gift, compare them with the buyer’s saved product links, and inspect the available options before presenting a shortlist.

### Check clothing choices

Discover crewneck sweaters, resolve a shopper’s existing links, and check whether the returned size and color match what they want.

### Replace an unavailable choice

Revisit a saved jacket, inspect its availability, and find alternatives when the shopper’s preferred combination cannot be matched.

### Resume a shopping decision

Resolve a shopper’s saved product URL and inspect its current options so they can continue choosing without starting another descriptive search.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Gemini CLI guides](https://spiral.ai/integrations/gemini-cli)

## Shopify product lookup in other agents

- [Amp](https://spiral.ai/integrations/amp/shopify-product-lookup)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/shopify-product-lookup)
- [Claude](https://spiral.ai/integrations/claude-desktop/shopify-product-lookup)
- [Claude Code](https://spiral.ai/integrations/claude-code/shopify-product-lookup)
- [Cline](https://spiral.ai/integrations/cline/shopify-product-lookup)
- [Codex](https://spiral.ai/integrations/codex/shopify-product-lookup)
- [Cursor](https://spiral.ai/integrations/cursor/shopify-product-lookup)
- [Devin](https://spiral.ai/integrations/devin/shopify-product-lookup)
- [dots](https://spiral.ai/integrations/dots/shopify-product-lookup)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/shopify-product-lookup)
- [Gemini](https://spiral.ai/integrations/gemini/shopify-product-lookup)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/shopify-product-lookup)
- [goose](https://spiral.ai/integrations/goose/shopify-product-lookup)
- [Grok](https://spiral.ai/integrations/grok/shopify-product-lookup)
- [Grok Build](https://spiral.ai/integrations/grok-build/shopify-product-lookup)
- [Hermes](https://spiral.ai/integrations/hermes/shopify-product-lookup)
- [Instinct](https://spiral.ai/integrations/instinct/shopify-product-lookup)
- [Manus](https://spiral.ai/integrations/manus/shopify-product-lookup)
- [Muse](https://spiral.ai/integrations/muse/shopify-product-lookup)
- [Muse Code](https://spiral.ai/integrations/muse-code/shopify-product-lookup)
- [n8n](https://spiral.ai/integrations/n8n/shopify-product-lookup)
- [Notion](https://spiral.ai/integrations/notion/shopify-product-lookup)
- [OpenClaw](https://spiral.ai/integrations/openclaw/shopify-product-lookup)
- [opencode](https://spiral.ai/integrations/opencode/shopify-product-lookup)
- [Perplexity](https://spiral.ai/integrations/perplexity/shopify-product-lookup)
- [Raycast](https://spiral.ai/integrations/raycast/shopify-product-lookup)
- [VS Code](https://spiral.ai/integrations/vscode/shopify-product-lookup)
- [Windsurf](https://spiral.ai/integrations/windsurf/shopify-product-lookup)
- [Zapier](https://spiral.ai/integrations/zapier/shopify-product-lookup)

## More Gemini CLI guides

- [Shopify product details](https://spiral.ai/integrations/gemini-cli/shopify-product-details)
- [Shopify product search](https://spiral.ai/integrations/gemini-cli/shopify-product-search)
- [Shopify product availability](https://spiral.ai/integrations/gemini-cli/shopify-product-availability)
- [Slickdeals Frontpage deals](https://spiral.ai/integrations/gemini-cli/slickdeals-frontpage-deals)
- [Search products](https://spiral.ai/integrations/gemini-cli/search-products)
- [Slickdeals category deals](https://spiral.ai/integrations/gemini-cli/slickdeals-category-deals)

## Questions about Shopify product lookup in Gemini CLI

**Can Gemini CLI use Shopify product lookup?**

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Shopify product lookup like any built-in tool.

**How much does Shopify product lookup cost in Gemini CLI?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.

**Do I need an Alexandria account to use Shopify product lookup in Gemini CLI?**

No. Spiral runs Shopify product lookup on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Shopify product lookup in Gemini CLI?**

About two minutes: add the server, then sign in, then check it.

**Does Gemini CLI wait while Shopify product lookup runs?**

Shopify product lookup runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.

**Does Shopify Catalog include every Shopify product?**

No. Products with Unlisted status or hidden from search engines are excluded from Shopify Catalog.

**How fresh are the product details?**

Shopify says its merchants’ products carry current pricing and inventory from the store. Its display guidelines require pricing and availability retrieved within 10 minutes, and titles, descriptions, and options retrieved within 24 hours.

**Is every returned field written by the merchant?**

No. All three Catalog tools can include fields inferred or enriched by Shopify.

**Does a returned product guarantee my requested size and color?**

No. When the full selection has no match, Shopify can drop part of it, so the returned combination can differ from the shopper’s request.

