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
| Tool | What it does | Kind |
|---|---|---|
solve | Solve an optimization model | Solves (counts toward your limits) |
dual | Solve the dual (LP or convex QP) | Solves (counts toward your limits) |
kkt | KKT certificate (Lagrange multipliers) | Solves (counts toward your limits) |
explain | Solve and explain step by step | Solves (counts toward your limits) |
search_content | Search tutorials, examples and help | Reads content |
get_content | Read one tutorial, example or article | Reads content |
list_content | List tutorials, examples or articles | Reads content |
Connect
- claude.ai and the Claude apps: Settings, Connectors, Add custom connector, address
https://proven-decisions.ai/mcp; you sign in when Claude first calls a tool (step by step). - Claude Code: add the server, then type
/mcp, choose it and choose Authenticate:claude mcp add --transport http --scope user proven-decisions https://proven-decisions.ai/mcp - Other MCP clients that speak streamable HTTP: sign in through the OAuth discovery document (
/.well-known/oauth-protected-resource), or sendAuthorization: Bearer <your key>with a key from Settings, API keys.
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.