Atlas / MCP servers / sdiehl / USolver

USolverBLOCK

mcp/sdiehl/usolver

A model context protocol server for solving combinatorial optimization problems with logical and numerical constraints.

Verdict
BLOCK
Grade
D
Trust score
61 /100
Exposed tools
7 7r · 0w · 0d
Transport
—
License
Apache-2.0
Stars
65
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

This project is no longer maintained.

I've moved on to working at OneChronos, so I'm no longer developing or supporting USolver. The repository has been archived and will remain available read-only for anyone who finds it useful.

If this kind of work interests you (combinatorial optimization, SMT/convex solvers, formal methods, language-model tooling for mathematical problems), OneChronos is hiring. Take a look at the careers page.

Read from source at commit 4c9ba4008193OBSERVED · 2026-10-07
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add usolver_mcp --env ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY} -- uvx usolver_mcp
claude-desktop
{
  "mcpServers": {
    "usolver_mcp": {
      "command": "uvx",
      "args": [
        "usolver_mcp"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "${ANTHROPIC_API_KEY}"
      }
    }
  }
}
03

Exposed tools (7)

7 read · 0 write · 0 destructive.

ToolRiskDescription
simple_cvxpy_solverreadA simpler interface for solving CVXPY optimization problems.
simple_highs_solverreadA simplified interface for solving HiGHs linear programming problems.
solve_cvxpy_problemreadSolve a CVXPY optimization problem.
solve_highs_problemreadSolve a HiGHs linear/mixed-integer programming problem.
solve_ortools_problemreadSolve a constraint programming problem using Google OR-Tools.
solve_z3readSolve a Z3 constraint satisfaction problem.
solve_z3_simplereadSimplified interface for Z3 constraint problems.
04

Trust audit

BLOCKgrade D · trust 61/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (2 observation(s))
Network
declared (2 observation(s))
Shell
declared (4 observation(s))
Dependencies
pinned
Secrets in source
none-found

Findings (9)

HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
usolver_mcp/solvers/cvxpy_solver.py:52
return eval(expr_str, {"__builtins__": {}}, local_dict)
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
usolver_mcp/solvers/ortools_solver.py:176
eval(constraint.expression, {"__builtins__": {}}, local_dict)
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
usolver_mcp/solvers/ortools_solver.py:238
obj_expr = eval(objective.expression, {"__builtins__": {}}, local_dict)
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
usolver_mcp/solvers/z3_solver.py:100
z3_constraint = eval(constraint.expression, {"__builtins__": {}}, local_dict)
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
MEDIUMFilesystem / path · fs.system_paths · CWE-22, CWE-59
Dockerfile:11
ENV PATH="/root/.local/bin/:$PATH"
MEDIUMFilesystem / path · fs.system_paths · CWE-22, CWE-59
install.py:61
"/usr/local/bin/uv",  # Manual install
LOWInventory / provenance · inv.binary · CWE-1104
examples/full/flowsheet_data.xlsx
flowsheet_data.xlsx
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
LOWInventory / provenance · inv.binary · CWE-1104
examples/full/flowsheet_metadata.xlsx
flowsheet_metadata.xlsx
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
INFOInventory / provenance · inv.oversize · CWE-1104
.github/logo.png
.github/logo.png
Why it matters. 1332032 bytes not read

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha 4c9ba4008193full audit observations/trust-audit/mcp-server/sdiehl__usolver.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-074c9ba4008193BLOCKD61first audit
06

Questions

What is the USolver MCP server?

A model context protocol server for solving combinatorial optimization problems with logical and numerical constraints.

What tools does USolver expose?

7 in total: 7 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is USolver safe to connect to an agent?

No — not without reading the findings first. The audit graded it D (61/100) and found 4 critical or high issues in the source. Each one is listed on this page with the file and line it is on.

What credentials does USolver need?

It reads ANTHROPIC_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How current is this page?

The grade is for one exact copy of the source (4c9ba4008193), read on 2026-10-07. The repository is watched and re-audited when it changes.

Advertisement