[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Megekko product search](https://spiral.ai/integrations/opencode/megekko-product-search)

# How to Use Megekko product search in opencode

Find matching products in Megekko’s public storefront by keyword. Use it to discover hardware candidates before checking an exact item with Megekko product details.

|  |  |
| --- | --- |
| Model | Megekko product search |
| 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 Megekko product search in opencode

- Use Megekko product search to find Samsung 990 PRO listings and add the returned matches to a comparison table in this project.
- Use Megekko product search for Ryzen 7 9800X3D and show the returned candidates in our hardware selection screen.
- Use Megekko product search for RTX 5070 and build a reviewable shortlist from the returned listings.
- Use Megekko product search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Megekko product search and tell me what changed since last week.

## How to set up Megekko product search in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 Megekko product search**: 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": "megekko-nl/products/search",
    "input": {
      "query": "<query>"
    }
  }'
```

Then paste one of the prompts above: opencode finds Megekko product search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## Megekko product search tools and prices

- [Megekko · Search](https://spiral.ai/tools/alexandria/megekko-nl/products/search) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page | 1 to 10 | — | Result page (default 1); pass the previous next_page. Each further page costs one more upstream request, so pages stop at 10. |

## What can you do with Megekko product search in opencode?

Build a component comparison in your project using Megekko’s public product data. Use storefront matches to choose candidates and exact product details to check identifiers and specifications.

### Prepare a PC parts shortlist

Find candidates for a planned build, then check each selected item’s specifications and delivery estimate before choosing parts.

### Match an exact replacement part

Find the requested hardware, then compare its manufacturer part number and EAN with the replacement requirement.

### Compare SSD choices

Find Samsung 990 PRO listings and inspect the selected products’ specifications to compare capacity, interface, and heatsink requirements.

### Check procurement availability

Find a requested component and inspect its stock and delivery information before preparing an internal purchasing recommendation.

### Review replacement candidates

Find alternatives to an unavailable component, then compare their exact specifications and identifiers before recommending a substitution.

### Maintain a hardware comparison

Find listings for the models being compared and refresh selected product details on a schedule that respects Megekko’s monitoring policy.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## Megekko product search in other agents

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

## More opencode guides

- [Megekko product details](https://spiral.ai/integrations/opencode/megekko-product-details)
- [Micro Center SKU lookup](https://spiral.ai/integrations/opencode/micro-center-sku-lookup)
- [MediaMarkt Netherlands product search](https://spiral.ai/integrations/opencode/mediamarkt-netherlands-product-search)
- [Micro Center product details](https://spiral.ai/integrations/opencode/micro-center-product-details)
- [MediaMarkt Netherlands product details](https://spiral.ai/integrations/opencode/mediamarkt-netherlands-product-details)
- [Micro Center product reviews](https://spiral.ai/integrations/opencode/micro-center-product-reviews)

## Questions about Megekko product search in opencode

**Can opencode use Megekko product search?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Megekko product search like any built-in tool.

**How much does Megekko product search cost in opencode?**

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

**Do I need an Alexandria account to use Megekko product search in opencode?**

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

**How long does it take to set up Megekko product search in opencode?**

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

**Does opencode wait while Megekko product search runs?**

Megekko product search runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**What does the Megekko data cover?**

It covers Megekko’s public storefront. The documented scope includes keyword product search and individual product details, including stock, delivery, specifications, and customer review scores.

**How quickly can Megekko’s listed prices change?**

Megekko says its prices can change every 20 minutes. A previously retrieved listing can therefore differ from a later lookup.

**Where do Megekko’s delivery estimates come from?**

Megekko says the delivery times on its website come from a direct connection to its back-office system. That describes the storefront’s data source, not a guaranteed API refresh interval.

**What limit does Megekko set for automated monitoring?**

Its crawler policy asks monitors to make no more than one automated request per hour to avoid automatic blocking. Apply that restriction when planning recurring storefront checks.

**Are Megekko’s product descriptions guaranteed to be accurate?**

Megekko explicitly acknowledges that product descriptions can contain errors. Its terms also say obvious mistakes in an offer are not binding.

