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

# How to Use Megekko product details in opencode

Fetch one Megekko product’s brand, manufacturer part number, EAN, specifications, listed price, stock, delivery estimate, and review score. Use it to check an exact item before adding it to a hardware shortlist.

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

- Use Megekko product details for article 293095 and create a product record containing its brand, EAN, manufacturer part number, and specifications.
- Use Megekko product details for article 293095 and compare its returned SSD specifications with the storage requirements in this repository.
- Use Megekko product details to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Megekko product details and tell me what changed since last week.
- Check Megekko product details and summarize what you find in three bullet points.

## How to set up Megekko product details 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 details**: 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/product",
    "input": {
      "product_id": "<product_id>"
    }
  }'
```

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

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

## Megekko product details tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| product_id |  | — | Megekko article number, e.g. 293095 (the product_id from search). Pattern: ^[0-9]{1,10}$. |

## What can you do with Megekko product details 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 details in other agents

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

## More opencode guides

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

## Questions about Megekko product details in opencode

**Can opencode use Megekko product details?**

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

**How much does Megekko product details 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 details in opencode?**

No. Spiral runs Megekko product details 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 details in opencode?**

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

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

Megekko product details 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.

