SommelierX Wine Pairing MCP
Supports pay-per-call authentication via the x402 protocol on the Base network, enabling AI agents to pay for API requests with USDC without a subscription key.
@sommelierx/mcp-server
Wine pairing intelligence for AI assistants. Connect Claude, Cursor, Windsurf, or any MCP-compatible client to a sommelier-grade pairing algorithm that matches wines to your ingredients, dishes, and recipes.
Quick Start
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"sommelierx": {
"command": "npx",
"args": ["@sommelierx/mcp-server"]
}
}
}That is it. Ask Claude "What wine goes with grilled salmon?" and it will use SommelierX to answer.
With a Pro API key
For recipe extraction, group pairing, and score breakdowns:
{
"mcpServers": {
"sommelierx": {
"command": "npx",
"args": ["@sommelierx/mcp-server"],
"env": {
"SOMMELIERX_API_KEY": "sk_live_your_key_here"
}
}
}
}Cursor / Windsurf / Other MCP Clients
The same configuration works. Add the command and args to your client's MCP settings.
Related MCP server: aipaygen-mcp
Available Tools
Tool | What it does | Tier |
| Find wines for a list of ingredients (e.g. "salmon, lemon, dill") | Free |
| Find wines for a dish name (e.g. "risotto ai funghi") | Free |
| Find dishes that pair with a wine style (e.g. "Barolo") | Free |
| Search the ingredient database | Free |
| Search the meal database | Free |
| Extract ingredients from a recipe URL and pair wines | Pro |
| Find the best wine across multiple dishes (e.g. 3-course dinner) | Pro |
Authentication
SommelierX supports two authentication methods. You can use either one -- no need to configure both.
Option 1: API Key (subscription)
Set the SOMMELIERX_API_KEY environment variable in your MCP client config. The key format is sk_live_.... You get a monthly call allowance based on your tier (Free / Pro / Enterprise).
{
"mcpServers": {
"sommelierx": {
"command": "npx",
"args": ["@sommelierx/mcp-server"],
"env": {
"SOMMELIERX_API_KEY": "sk_live_your_key_here"
}
}
}
}Get your API key at api.sommelierx.com.
Option 2: x402 Payment (pay per call)
No API key needed. Your AI agent pays per call using USDC on the Base network via the Coinbase x402 protocol. When a request lacks an API key, the server returns a 402 Payment Required response with a payment payload. x402-compatible agents handle this automatically.
This is ideal for:
AI agents that manage their own wallet
Pay-as-you-go usage without a subscription
Agent-to-agent commerce (no human in the loop)
Pricing (per call)
Tool | Price | Tier |
| $0.01 | Free |
| $0.01 | Free |
| $0.005 | Free |
| $0.005 | Free |
| $0.02 | Pro |
| $0.02 | Pro |
| $0.03 | Pro |
With an API key, calls are deducted from your tier allowance. With x402, each call is charged at the listed price.
Example Conversations
Basic pairing:
"What wine pairs well with salmon, asparagus, and hollandaise sauce?"
Reverse pairing:
"I have a bottle of Barolo. What should I cook?"
Recipe URL:
"What wine goes with this recipe? https://www.allrecipes.com/recipe/..."
Dinner party:
"I'm planning a 3-course dinner: Caesar salad, rack of lamb, and chocolate mousse. What single wine works for all courses?"
How It Works
You ask your AI assistant a wine question
The assistant calls the appropriate SommelierX tool
The MCP server translates your input into structured API calls
SommelierX's pairing algorithm (17 food DNA dimensions x 19 wine DNA dimensions) calculates matches
You get scored wine recommendations based on real sommelier expertise
Ingredient Resolution
When you use pair_wine_with_ingredients, the server automatically resolves natural language ingredient names to database entries. The AI assistant does not need to know database IDs -- it passes ingredient names directly.
Configuration
Environment Variable | Required | Default | Description |
| No | -- | API key for Pro/Enterprise access. Without a key, free tier (50 calls/day). |
| No |
| API base URL. |
| No |
| Default language for results ( |
API Tiers
Tier | Daily Limit | Per-Minute Limit | Features |
Free | 50 calls | 2/min | Basic pairing, search, ingredient/meal lookup |
Pro ($49/mo) | 500 calls | 20/min | + Recipe URL extraction, group pairing, score breakdowns |
Enterprise | 10,000 calls | 100/min | + Custom limits, SLA |
Get your API key at api.sommelierx.com
API Documentation
Full API documentation is available at docs.sommelierx.com.
The OpenAPI specification is served at https://api.sommelierx.com/api/v1/openapi.json.
Development
npm install
npm run build
npm run dev # development mode with hot reload
npm run typecheck # type checking without emitRequirements
Node.js >= 18.0.0
License
MIT
Available Tools
7 toolsfind_meals_for_wineA
Find dishes that pair well with a specific wine type or style. Provide a wine name (e.g. "Barolo", "Chardonnay", "Rioja") and get the top 10 matching dishes with scores. Best for: "I have a Barolo, what should I cook?" | Auth: API key (Bearer sk_live_...) or x402 payment (USDC on Base) | Price: $0.01/call
Inputs: wine_type (required), language.
group_pairingA
Find the best wine that pairs well with multiple dishes at once. Provide 2-10 meal names and get wines that score well across all of them. Requires Pro tier. Best for: "What single wine works for a 3-course dinner?" | Auth: API key (Bearer sk_live_...) or x402 payment (USDC on Base) | Price: $0.03/call (PRO)
Inputs: meal_names (required), language.
pair_wine_with_ingredientsA
Find the best wine pairings for a list of ingredients. Provide ingredient names in natural language (e.g. "salmon", "lemon", "dill") and get the top 5 wine matches with scores. The server automatically resolves ingredient names to the database. Best for: "What wine goes with these ingredients?" | Auth: API key (Bearer sk_live_...) or x402 payment (USDC on Base) | Price: $0.02/call (PRO)
Inputs: ingredients (required), language.
pair_wine_with_mealA
Find the best wine pairings for a specific dish or meal. Provide the meal name (e.g. "risotto ai funghi", "grilled salmon") and get the top 5 wine matches. The server searches for the meal in the database. Best for: "What wine goes with this dish?" | Auth: API key (Bearer sk_live_...) or x402 payment (USDC on Base) | Price: $0.01/call
Inputs: meal_name (required), language.
pair_wine_with_recipe_urlA
Extract ingredients from a recipe URL and find wine pairings. Provide a URL to a recipe page and get the recipe name, extracted ingredients, and top 5 wine matches. Requires Pro tier. Best for: "What wine goes with this recipe?" | Auth: API key (Bearer sk_live_...) or x402 payment (USDC on Base) | Price: $0.02/call (PRO)
Inputs: url (required), language.
search_ingredientsA
Search for ingredients in the SommelierX database. Returns ingredient names, IDs, and groups. Use this to discover available ingredients before using pair_wine_with_ingredients. Best for: "What mushroom ingredients are available?" | Auth: API key (Bearer sk_live_...) or x402 payment (USDC on Base) | Price: $0.005/call
Inputs: query (required), language.
search_mealsA
Search for meals and dishes in the SommelierX database. Returns meal names, IDs, and descriptions. Use this to discover available meals before using pair_wine_with_meal or group_pairing. Best for: "What pasta dishes are in the database?" | Auth: API key (Bearer sk_live_...) or x402 payment (USDC on Base) | Price: $0.005/call
Inputs: query (required), language.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool has a clear and distinct purpose: three pair wine with different inputs (meal, ingredients, recipe URL), one finds meals for a wine, one does group pairing, and two are search tools for discovering meals and ingredients. There is no confusing overlap.
Most tools follow a consistent verb_noun pattern (e.g., pair_wine_with_meal, search_ingredients). However, there is some inconsistency: 'find_meals_for_wine' and 'group_pairing' use different verbs, though they remain descriptive. Overall, the naming is clear.
With 7 tools, the server covers all core wine pairing use cases without being bloated. The count is well-scoped for its domain, earning each tool its place.
The tool set covers the full range of pairing needs: wine-to-dish, dish-to-wine, ingredients-to-wine, recipe-to-wine, and multi-dish group pairing, plus discovery. No obvious gaps for its intended purpose.
Maintenance
Related MCP Connectors
Pay-per-use MCP tools for AI agents. USDC on Base via x402. No API keys.
17 pay-per-call web, finance, legal and onchain tools for AI agents. USDC on Base via x402/MPP.
Pay-per-use tool marketplace for AI agents. Search, price-check, and call APIs via MCP.
Pay-per-call MCP tools for agents via x402 USDC: Korean data, onchain, crypto, web and AI tools.
Related MCP Servers
- AlicenseAqualityDmaintenance22 MCP tools for AI agents: crypto prices and trading signals (53 coins), stock prices and company financials, forex rates and conversion, and web scraping with AI summaries. All powered by x402 USDC micropayments on Base. $0.01-$0.25 per request.2219 npmMIT
- AlicenseNot gradedqualityCmaintenance250+ AI-powered MCP tools: research, write, code, translate, scrape, sentiment, vision, RAG, agent memory, marketplace, trading signals, and more. 15 models across 7 providers. Pay-per-use via API key or x402 USDC micropayments.MIT
- AlicenseBqualityDmaintenanceExposes 25 paid API endpoints as MCP tools for AI agents, with payments in USDC on Base mainnet via the x402 protocol, enabling tasks like web search, company intelligence, and crypto research.25126 npmMIT
- AlicenseNot gradedqualityDmaintenanceMCP server exposing 10 curated tools for AI agents, providing crypto trading signals, on-chain analysis, and web utilities via pay-per-call x402 endpoints on the Base network.MIT