[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [mydealz deal search](https://spiral.ai/integrations/opencode/mydealz-deal-search)

# How to Use mydealz deal search in opencode

Returns mydealz deal summaries matching a product keyword or merchant, including voucher codes, community temperature, and expiry. Use it for a specific buying target rather than browsing the general feed.

|  |  |
| --- | --- |
| Model | mydealz deal 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 mydealz deal search in opencode

- Use mydealz deal search for 'Sony WH-1000XM5' and create a comparison view in my project showing the returned merchants, codes, and expiry status.
- Use mydealz deal search for 'PlayStation 5' and update my project's buying shortlist with the returned offer titles and source links.
- Use mydealz deal search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from mydealz deal search and tell me what changed since last week.
- Check mydealz deal search and summarize what you find in three bullet points.

## How to set up mydealz deal 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 mydealz deal 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": "mydealz-de/deals/search_deals",
    "input": {
      "page": 1
    }
  }'
```

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

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

## mydealz deal search tools and prices

- [mydealz · Search deals](https://spiral.ai/tools/alexandria/mydealz-de/deals/search_deals) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page | 1 to 50 | 1 | 1-based page of 30 threads. |
| query |  | — | Search words. |
| merchant_id |  | — | mydealz merchant id (merchant.id in results). Pattern: ^[1-9][0-9]*$. |

## What can you do with mydealz deal search in opencode?

Build a German shopping shortlist that keeps mydealz offers and their conditions together. A coding agent can turn the returned deal or voucher records into a review table in your project.

### Prepare an electronics buying shortlist

Discover electronics offers, search for the exact device, read the shortlisted descriptions, and check the relevant stores' voucher conditions before choosing candidates.

### Review a retailer's promotions

Find a retailer in the deal feed, search its posted offers, inspect individual promotion descriptions, and summarize its store vouchers alongside product-specific codes.

### Draft a German shopping digest

Select offers from the feed, research the featured products, read their full conditions, and add relevant store voucher information to a draft digest with source links.

### Plan office equipment purchases

Browse equipment offers, search for required monitor or accessory models, inspect deal descriptions, and compare the participating retailers' voucher terms.

### Follow a product watchlist

Search repeatedly for products such as AirPods or a PlayStation 5, then inspect matching threads for changed descriptions, required codes, and expiry status.

## Overview

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

## mydealz deal search in other agents

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

## More opencode guides

- [mydealz deal feed](https://spiral.ai/integrations/opencode/mydealz-deal-feed)
- [mydealz store vouchers](https://spiral.ai/integrations/opencode/mydealz-store-vouchers)
- [mydealz deal details](https://spiral.ai/integrations/opencode/mydealz-deal-details)
- [npm daily package downloads](https://spiral.ai/integrations/opencode/npm-daily-package-downloads)
- [eBay search suggestions](https://spiral.ai/integrations/opencode/ebay-search-suggestions)
- [npm downloads by version](https://spiral.ai/integrations/opencode/npm-downloads-by-version)

## Questions about mydealz deal search in opencode

**Can opencode use mydealz deal search?**

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

**How much does mydealz deal 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 mydealz deal search in opencode?**

No. Spiral runs mydealz deal 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 mydealz deal search in opencode?**

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

**Does opencode wait while mydealz deal search runs?**

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

**What market does mydealz cover?**

mydealz serves Germany and carries community submissions for online offers, physical store sales, and vouchers. It is a source of submitted promotions, so it should not be treated as a complete retailer inventory.

**Are all offers available throughout Germany?**

No. mydealz uses a local label for offers found in stores or limited to particular regions or cities.

**Does an offer without an expired label still work?**

The label alone cannot establish that. Users and moderators report expired offers, and mydealz says its team cannot always check every deal's current status.

**What does mydealz temperature measure?**

Temperature expresses community opinion about a deal. mydealz describes it as subjective, so a hotter offer is not necessarily the best choice for your requirements.

**Can published offer information change?**

Yes. mydealz allows repeated edits as long as the original deal does not fundamentally change, so a published description is not a fixed historical record.

