[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Vivino wine details](https://spiral.ai/integrations/opencode/vivino-wine-details)

# How to Use Vivino wine details in opencode

Returns wine or vintage details, including grapes, style, taste profile, and food pairings. Use it to investigate a specific bottle after finding a match.

|  |  |
| --- | --- |
| Model | Vivino wine 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 Vivino wine details in opencode

- Use Vivino wine details for Château Margaux 2015 and add its grapes, style, taste profile, and food pairings to my personal bottle comparison page.
- Use Vivino wine details for Thorn-Clarke Ron Thorn Shiraz 2019 and render its available profile information in my personal tasting notebook.
- Use Vivino wine details to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Vivino wine details and tell me what changed since last week.
- Check Vivino wine details and summarize what you find in three bullet points.

## How to set up Vivino wine 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 Vivino wine 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": "vivino-com/products/wine",
    "input": {
      "url": "<url>"
    }
  }'
```

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

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

## Vivino wine details tools and prices

- [Vivino · Wine](https://spiral.ai/tools/alexandria/vivino-com/products/wine) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | A vivino.com wine page URL such as https://www.vivino.com/en/chateau-margaux-premier-grand-cru-classe/w/1127795?year=2015. |
| year | 1800 to 2100 | — | Vintage year, with `wine_id` or `url`. Omit for the wine across all vintages. |
| ship_to | NL, BE, DE, FR, IT, ES, AT, DK, SE, CH, GB, US, CA, AU | US | Ship-to market whose offers and prices are shown, as Vivino's market switch supports it. Default US (prices in USD). Currencies: USD for US; EUR for NL, BE, DE, FR, IT, ES and AT; DKK, SEK, CHF, GBP, CAD and AUD for DK, SE, CH, GB, CA and AU. |
| wine_id | 1 to … | — | Vivino wine id (from `search` or `explore`, or the number after `/w/` in a wine URL). |
| vintage_id | 1 to … | — | Vivino vintage id (from `explore` rows). |

## What can you do with Vivino wine details in opencode?

Build a personal wine comparison view that combines Vivino catalog matches, wine profiles, and community assessments. A coding agent can organize the returned data in project files while keeping different vintages separate.

### Plan a regional tasting

Discover Italian Nebbiolo candidates, identify named bottles, inspect their styles, and compare community reviews before choosing a tasting lineup.

### Research a gift bottle

Find wines in a preferred category, resolve a suggested producer, and read wine details and reviews to explain the final choice.

### Prepare a dinner shortlist

Browse candidate wines, locate bottles suggested by guests, and use food pairings and community reviews to narrow the options.

### Explore an unfamiliar grape

Discover Riesling wines, locate named examples, and compare wine profiles with drinkers’ assessments to prepare a personal learning guide.

### Check a specific vintage

Locate a named wine and inspect the selected year’s details and reviews before comparing it with another vintage.

### Find alternatives to a familiar style

Browse wines made from a familiar grape, then inspect their styles, taste profiles, and food pairings to choose something different.

## Overview

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

## Vivino wine details in other agents

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

## More opencode guides

- [Uswitch broadband provider reviews](https://spiral.ai/integrations/opencode/uswitch-broadband-provider-reviews)
- [Vivino wine discovery](https://spiral.ai/integrations/opencode/vivino-wine-discovery)
- [Uswitch broadband provider directory](https://spiral.ai/integrations/opencode/uswitch-broadband-provider-directory)
- [Vivino wine reviews](https://spiral.ai/integrations/opencode/vivino-wine-reviews)
- [Uswitch broadband deal search](https://spiral.ai/integrations/opencode/uswitch-broadband-deal-search)
- [Vivino wine search](https://spiral.ai/integrations/opencode/vivino-wine-search)

## Questions about Vivino wine details in opencode

**Can opencode use Vivino wine details?**

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

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

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

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

**Does opencode wait while Vivino wine details runs?**

Vivino wine details runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**What scale does Vivino use for wine ratings?**

Vivino users rate wines from 1 to 5 stars. These are community ratings, so use that scale when interpreting scores alongside reviews.

**How often does Vivino add wines?**

Vivino says new wines are added every day. That describes catalog growth; it does not establish a refresh interval for every wine record.

**Does the vintage matter when comparing wines?**

Yes. Vivino distinguishes years of the same wine and compares their ratings, so a score for one vintage should not stand in for another year.

**Does Vivino show all discovery results on one page?**

Vivino’s public Explore page displays 24 results per page and provides pagination. The first page is a portion of the matching wines.

**Can public Vivino data be freely scraped or reused commercially?**

Vivino’s terms require express authorization for automated access and a separate written agreement governing commercial use. Public visibility does not itself grant those permissions.

