How to Use Look up products in Muse Code
Retrieve catalog records for up to 10 known product or option IDs from one Shopify store. Use it to refresh a shopping shortlist without repeating a keyword search.
Prompts to try with Look up products in Muse Code
Copy an example into Muse Code, or ask in your own words.
Find three coffee products at deathwishcoffee.com, then use Shopify product lookup with their returned IDs to populate the project's shortlist comparison.
Use Look up products to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Look up products and tell me what changed since last week.
Check Look up products and summarize what you find in three bullet points.
Pull the newest data from Look up products and give me the result as a table.
How to set up Look up products in Muse Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Install Muse Code
curl -fsSL https://dev.meta.ai/install.sh | bash
- Ask Muse to add the server
Start muse and ask:
Add the Spiral MCP server at https://api.spiral.ai/mcp
- Sign in
In your terminal, run:
muse mcp login spiral
Use the Spiral skill
- Send Muse Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Look up products
One request; the result comes back by polling or a webhook.
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/storefront/lookup_catalog", "input": { "product_ids": [ "<product_ids>" ], "store_domain": "<store_domain>" } }'
Then paste one of the prompts above: Muse Code finds Look up products on Spiral, shows the price and runs it.
Look up products providers and prices
Spiral runs Look up products through Alexandria. Open a card for today's price, with every fee included.
What can you do with Look up products in Muse Code?
Build a shopping comparison that shows one Shopify store's product descriptions, images, and buying options. Use returned catalog records to populate the interface and product details to narrow the buyer's selection.
Choose the right clothing option
Find a shirt, refresh a shortlist, and inspect the chosen product's size and color availability before recommending a buying option.
Compare products within one store
Build a buyer-facing comparison from product descriptions, media, and available options. Use search for discovery, lookup for known choices, and details for the final selection.
Refresh a shopping shortlist
Revisit products a buyer is considering, retrieve their catalog records, and inspect the preferred item. Search for alternatives if the buyer wants more choices.
Find an alternative to an unavailable item
Check the original product and its buying options, then search the same store for replacements. Compare the replacements against the buyer's requested features.
Make a gift shortlist
Find gifts matching a stated interest, compare a few returned products, and inspect the options for the buyer's favorite.
Check product claims before recommending
Use returned descriptions to check whether shortlisted products mention a requested material or feature. Show the supporting product text alongside the recommendation.
More on Look up products and Muse Code
Overview
Look up products in other agents
Questions about Look up products in Muse Code
Can Muse Code use Look up products?
Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Look up products like any built-in tool.
How much does Look up products cost in Muse Code?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.
Do I need an Alexandria account to use Look up products in Muse Code?
No. Spiral runs Look up products on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Look up products in Muse Code?
About two minutes: install Muse Code, then ask Muse to add the server, then sign in.
Does Muse Code wait while Look up products runs?
Look up products runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.
Does Shopify Storefront Catalog search every Shopify store?
No. Storefront Catalog is scoped to one merchant's storefront, so a result from one store does not establish what another store sells.
Does a search page represent the complete matching catalog?
Not necessarily. Search uses cursor pagination, and Shopify's catalog protocol allows fewer results than the requested page size.
How many known products can a lookup resolve?
Storefront Catalog accepts up to 10 product or purchasable-option identifiers in one lookup. A missing identifier can reduce the number of products returned.
Can unavailable products appear in the data?
Yes. Shopify's Storefront Catalog extension lets search and lookup include unavailable items, so presence in the catalog does not by itself mean an item is available to buy.
Does product detail return every size and color combination?
The details response includes product options, but the returned buying combinations can be a subset matching the effective selections. Use its option availability signals when narrowing a purchase choice.
Start using Look up products in Muse Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Muse Code:
set up https://spiral.ai/SKILL.md


