How to Use Vivino wine discovery in opencode
Returns wine discovery results matched to criteria such as origin, grape, and community rating. Use it to build a shortlist when you know the kind of wine you want.
Prompts to try with Vivino wine discovery in opencode
Copy an example into opencode, or ask in your own words.
Use Vivino wine discovery to find Italian Nebbiolo wines rated at least 4, then add the returned shortlist to my personal tasting planner.
Use Vivino wine discovery to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Vivino wine discovery and tell me what changed since last week.
Check Vivino wine discovery and summarize what you find in three bullet points.
Pull the newest data from Vivino wine discovery and give me the result as a table.
How to set up Vivino wine discovery in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- 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
- 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
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Vivino wine discovery
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/explore", "input": { "page": 1 } }'
Then paste one of the prompts above: opencode finds Vivino wine discovery on Spiral, shows the price and runs it.
Vivino wine discovery providers and prices
Spiral runs Vivino wine discovery through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Page | 1 to 100 | 1 | 1-based page of 24 vintages. |
| Sort | rating, popularity, price_asc, price_desc, or discount | rating |
|
| Ship to | NL, BE, DE, FR, IT, ES, AT, DK and 6 more | 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. |
| Price max | 0 to 100000 | Maximum bottle price in the ship-to market's currency. | |
| Price min | 0 to 100000 | Minimum bottle price in the ship-to market's currency. | |
| Min rating | 1 to 5 | Minimum average rating, for example 4 or 4.2. |
Every API field of Vivino · Explore is on its tool page: open its card above.
What can you do with Vivino wine discovery 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.
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.
More on Vivino wine discovery and opencode
Overview
Vivino wine discovery in other agents
Questions about Vivino wine discovery in opencode
Can opencode use Vivino wine discovery?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Vivino wine discovery like any built-in tool.
How much does Vivino wine discovery 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 discovery in opencode?
No. Spiral runs Vivino wine discovery 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 discovery in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Vivino wine discovery runs?
Vivino wine discovery 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.
Start using Vivino wine discovery in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


