∇ProvenDecisions
Ctrl K

Optimization MCP server for Claude and AI assistants

The ProvenDecisions MCP server lets Claude and other AI assistants solve optimization problems with a real solver and quote checked numbers instead of guessing. Send a linear, integer, quadratic or other convex model as typed math or LaTeX; the answer comes back with the solver's status, the objective, the solution, the check of every constraint, a dual or KKT certificate and a proof label such as Exactly proven optimal.

In Claude: ProvenDecisions is in Claude's connector directory (open the listing); choose Connect, and sign in when Claude first calls a tool.

Address: https://proven-decisions.ai/mcp (streamable HTTP). Anyone can connect and see the tool list; calling a tool needs a ProvenDecisions account on the Standard and Pro plans, by sign-in (OAuth) or an API key.

Tools

ToolWhat it doesKind
solveSolve an optimization modelSolves (counts toward your limits)
dualSolve the dual (LP or convex QP)Solves (counts toward your limits)
kktKKT certificate (Lagrange multipliers)Solves (counts toward your limits)
explainSolve and explain step by stepSolves (counts toward your limits)
search_contentSearch tutorials, examples and helpReads content
get_contentRead one tutorial, example or articleReads content
list_contentList tutorials, examples or articlesReads content

Connect

Three worked examples

The answers below were produced by the solver when this page was built, through the same code the tools call (shortened).

1. Solve: the product mix

Make products A and B to earn the most profit ($) within two capacity limits.

{
  "name": "solve",
  "arguments": {
    "model": "maximize 3*a + 2*b\nsubject to\n2*a + 1*b <= 100\n1*a + 2*b <= 80\na, b >= 0"
  }
}
{
  "status": "optimal",
  "objective": 160.0,
  "solution": {
    "a": 40.0,
    "b": 20.0
  },
  "proof_label": "Exactly proven optimal",
  "verification": {
    "feasible": true,
    "max_violation": 0.0,
    "verified": true
  }
}

2. Dual: the shadow prices of the same model

The dual problem prices each capacity limit; strong duality (equal objectives) proves the plan optimal.

{
  "name": "dual",
  "arguments": {
    "model": "maximize 3*a + 2*b\nsubject to\n2*a + 1*b <= 100\n1*a + 2*b <= 80\na, b >= 0"
  }
}
{
  "model_text": "minimize 100*y1 + 80*y2\nsubject to\n  y1 >= 0\n  y2 >= 0\n  2*y1 + y2 >= 3\n  y1 + 2*y2 >= 2",
  "status": "optimal",
  "objective": 160.0,
  "solution": {
    "y1": 1.3333333333333333,
    "y2": 0.3333333333333335
  },
  "duality": {
    "kind": "strong",
    "primal_status": "optimal",
    "dual_status": "optimal",
    "gap": 0.0,
    "holds": true,
    "explanation": "Strong duality: primal and dual optima are equal (160)."
  }
}

3. KKT: a nonlinear model

The closest point to (1, 2) on the half-plane x + y ≤ 1, with its Lagrange multiplier.

{
  "name": "kkt",
  "arguments": {
    "model": "minimize (x - 1)^2 + (y - 2)^2\nsubject to\nx + y <= 1"
  }
}
{
  "applies": true,
  "holds": true,
  "residual": 4.440892098500626e-16,
  "multipliers": {
    "constraint 1": 1.999999999999996
  },
  "global": true,
  "note": "KKT conditions hold and the problem is convex, so the Lagrangian dual has no gap: the answer is globally optimal."
}

Plans and limits

Tool calls share your plan's limits with the website: at most 5 requests a minute and 100 a day, one problem at a time, up to 3,000 characters per model. Typed math and LaTeX only; word, photo and voice problems are solved in the web app. Pricing.

Privacy

Models sent through MCP are solved on our own server by open-source solvers. No language model reads them, and they are not passed to any other service. Listing the tools sends nothing about you.

More: Developers (API keys, REST API) · API reference · API and MCP in Help · Privacy · Terms

Try ProvenDecisions free: type, photograph or say an optimization problem; every answer is checked by a solver.

What do you want to optimize?

Type the math, describe it in words, snap a photo or say it. ProvenDecisions builds the model, solves it, checks it and walks you through it.

One constraint per line, or separated by commas. Add integer: x, y or binary: z for whole-number decisions. LaTeX works too.

Try: