Sommelierx Wine Pairing Mcp

Created By
3 months ago
Wine pairing intelligence for AI assistants. Connect Claude, Cursor, Windsurf, or any MCP-compatible client to a sommelier-grade algorithm that matches wines to ingredients, dishes, and recipes. Powered by the SommelierX API with 7 tools including wine pairing, reverse pairing (wine to meal), ingredient search, and recipe URL import. Requires a free SommelierX API key.
Overview

@sommelierx/mcp-server
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

@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.

Available Tools

ToolWhat it doesTier
pair_wine_with_ingredientsFind wines for a list of ingredients (e.g. "salmon, lemon, dill")Free
pair_wine_with_mealFind wines for a dish name (e.g. "risotto ai funghi")Free
find_meals_for_wineFind dishes that pair with a wine style (e.g. "Barolo")Free
search_ingredientsSearch the ingredient databaseFree
search_mealsSearch the meal databaseFree
pair_wine_with_recipe_urlExtract ingredients from a recipe URL and pair winesPro
group_pairingFind 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)

ToolPriceTier
pair_wine_with_meal$0.01Free
find_meals_for_wine$0.01Free
search_ingredients$0.005Free
search_meals$0.005Free
pair_wine_with_ingredients$0.02Pro
pair_wine_with_recipe_url$0.02Pro
group_pairing$0.03Pro

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

  1. You ask your AI assistant a wine question
  2. The assistant calls the appropriate SommelierX tool
  3. The MCP server translates your input into structured API calls
  4. SommelierX's pairing algorithm (17 food DNA dimensions x 19 wine DNA dimensions) calculates matches
  5. 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 VariableRequiredDefaultDescription
SOMMELIERX_API_KEYNo--API key for Pro/Enterprise access. Without a key, free tier (50 calls/day).
SOMMELIERX_API_URLNohttps://api.sommelierx.comAPI base URL.
SOMMELIERX_LANGUAGENoenDefault language for results (en, nl, fr, de, es, it).

API Tiers

TierDaily LimitPer-Minute LimitFeatures
Free50 calls2/minBasic pairing, search, ingredient/meal lookup
Pro ($49/mo)500 calls20/min+ Recipe URL extraction, group pairing, score breakdowns
Enterprise10,000 calls100/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 emit

Requirements

  • Node.js >= 18.0.0

License

MIT

Server Config

{
  "mcpServers": {
    "sommelierx": {
      "command": "npx",
      "args": [
        "-y",
        "@sommelierx/mcp-server"
      ],
      "env": {
        "SOMMELIERX_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}
Project Info
Created At
3 months ago
Updated At
2 months ago
Author Name
-
Star
-
Language
-
License
-
Category

Recommend Servers

View All
Mate.tools

A Model Context Protocol server that exposes mate.tools utilities as callable tools inside Claude Desktop, Claude Code, Cursor, Windsurf, or any MCP-compatible agent. Currently exposed tools 27 MCP tools across 6 categories. Each calls the public mate.tools JSON API over HTTPS — no local data, no API keys, no signup. The list grows over time; npx -y always pulls the latest version. Text MCP tool name What it does count_lines Count lines, words, sentences, paragraphs and characters. Returns 16 metrics including duplicate-line detection and line-ending detection (LF/CRLF/CR). case_convert Convert text into 9 case styles in one call: upper, lower, title, sentence, snake, kebab, camel, pascal, constant. slugify Convert any text to a URL-safe slug. Unicode-aware, configurable separator and length, optional transliteration of non-Latin characters. sort_lines Sort lines of text. Asc/desc, case-sensitivity, dedupe, natural-sort (line2 before line10), locale-aware collation. lorem_ipsum Generate placeholder text — paragraphs, sentences or words. regex_test Match / replace / split text with a PCRE regex. Returns capture-group offsets. ReDoS-protected (hard backtrack limit). text_diff Diff two strings by line, word or character. Returns structured changes, unified diff string, and Jaccard similarity score. Encoding MCP tool name What it does base64_encode Base64-encode text. Standard or URL-safe alphabet (RFC 4648 §5). base64_decode Base64-decode. Accepts standard + URL-safe, auto-fixes missing padding, returns hex when output isn't valid UTF-8. url_encode Percent-encode a string. Component / form / path mode. url_decode Decode percent-encoded URL strings. Crypto & auth MCP tool name What it does hash MD5, SHA-1, SHA-256, SHA-384, SHA-512, SHA3-256, SHA3-512, CRC32 (or any subset of PHP's hash algorithms). password Generate cryptographically random passwords (CSPRNG). Configurable length, count, classes, ambiguous-char exclusion. Reports entropy. password_strength Score a password 0–4 (zxcvbn-style), entropy bits, offline-GPU crack-time estimate, concerns and suggestions. credit_card_validate Luhn check + brand detection (Visa / MC / Amex / Discover / JCB / Diners / UnionPay / Maestro / RuPay). PAN never logged. Data & structure MCP tool name What it does json_format Validate, pretty-print, minify or analyse JSON. Returns structural summary (node counts, max depth, top keys). json_to_csv Convert a JSON array of objects to CSV. Configurable delimiter, columns, optional flattening of nested objects (dot keys). xml_validate Validate XML well-formedness + optional XSD schema. Errors with line/column. XXE-safe. sitemap_extract Fetch + parse XML sitemaps. SSRF-protected. Optional recursive expansion of sub-sitemaps. lastmod/changefreq/priority metadata. stats Descriptive statistics for a list of numbers — mean / median / mode / stddev / variance / percentiles / IQR / geometric / harmonic. number_base Convert integers between bases 2..36 + Roman numerals. Big-int safe via GMP. finance_calc Multi-mode financial calculations: loan, compound interest, simple interest, discount, tip, sales tax, ROI, percentage, markup. aspect_ratio Compute reduced aspect ratio (16:9, 4:3, 21:9, ...) from width × height, or scale a dimension to a target ratio. color_convert Convert any color into hex / rgb / rgba / hsl / hsv / cmyk + closest named color + WCAG luminance and contrast (AA / AAA flags). Date & time MCP tool name What it does timestamp Bidirectional epoch ↔ ISO 8601 ↔ RFC 3339 ↔ human. Auto-detects epoch resolution (seconds, ms, µs, ns). Timezone-aware. Accepts natural language ("next monday", "+2 weeks"). date_math Add/subtract a duration from a date, or compute the diff between two dates. Optional business-day count (Mon–Fri). age_calc Calculate age in years/months/days from DOB. Returns next birthday, days until, Western zodiac sign, generation label, total days/seconds. The catalog grows over time. npx -y @mate-tools/mcp-server always fetches the latest published version — your client just needs a restart to pick up new tools.

a day ago
Deepdive

2 days ago
Tavily Mcp
@tavily-ai

JavaScript
a year ago