Spiral gives your agent every tool with one account. Browse the tools →

opencode · E-commerce

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.

Prompts to try with Vivino wine details in opencode

Copy an example into opencode, or ask in your own words.

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.

Vivino wine detailsopencode
Try asking
  • 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.

    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.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    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.

    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.

    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.

Vivino wine details providers and prices

Spiral runs Vivino wine details through Alexandria. Open a card for today's price, with every fee included.

AlexandriaE-commerce
Vivino · Wine
vivino-com/products/wine

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Year1800 to 2100

Vintage year, with wine_id or url. Omit for the wine across all vintages.

Ship toNL, BE, DE, FR, IT, ES, AT, DK and 6 moreUS

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 IDa number from 1

Vivino wine id (from search or explore, or the number after /w/ in a wine URL).

Vintage IDa number from 1

Vivino vintage id (from explore rows).

Every API field of Vivino · Wine is on its tool page: open its card above.

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.

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.

Get started

Start using Vivino wine details in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options