Model Context Protocol

Sematryx as an MCP Server

Add Sematryx to Claude Desktop, Cline, or any MCP-compatible agent in two minutes. Your agent gains expert optimization capability — call one tool, get an optimal answer with full explanation.

How It Works

Sematryx runs as an MCP server. Your agent connects to it like any other MCP tool provider. No optimization library to install. No scipy to debug. Just a tool call.

1

Add to your agent

Add the Sematryx MCP server to claude_desktop_config.json or your Cline settings. Takes 2 minutes — see the quickstart.

2

Agent calls a tool

When your agent encounters an optimization problem, it calls sematryx_optimize with the objective and bounds in natural language or JSON.

3

Get optimal + explanation

Sematryx returns the optimal parameters, the solver used, and a natural language explanation your agent can reason about and present to users.

Claude / Cline
Your AI agent
MCP tool call
mcp.sematryx.com
Sematryx MCP server
optimal + rationale
SematryxOptimizer
CMA-ES, DE, SHGO...

MCP Tools

sematryx_optimize

Solve any continuous or mixed-integer optimization problem. Describe the objective and bounds in natural language or structured JSON — Sematryx selects the best solver automatically.

Returns: Optimal parameters, objective value, solver used, explanation
sematryx_explain

Get a deeper post-solve explanation: sensitivity analysis per variable, basin confidence, why this solution was preferred over alternatives.

Returns: Sensitivity chart, confidence assessment, narrative rationale
sematryx_compare

Compare an agent-generated answer against the mathematically optimal solution. Surfaces how far off the agent was and where improvement is possible.

Returns: Gap analysis, optimal vs agent solution, suboptimality %

What Agents Solve

Any problem where the agent needs to find the best configuration within constraints.

Hyperparameter Tuning

Agent tunes ML models — calls Sematryx with loss landscape bounds, gets optimal lr/dropout/batch size back with explanation of the trade-offs.

Resource Allocation

Agent distributes budget, compute, or staff across competing objectives with hard constraints — no manual gradient coding required.

Scheduling & Routing

Agent builds conflict-free schedules or minimizes routing cost across multi-variable systems with real-world constraints.

Config & Infrastructure Tuning

Agent finds optimal replica counts, batch sizes, cache settings — Sematryx handles the math so the agent can reason about the result.

Pay per solve, not per month

100 solves/month free. After that, $0.01–$0.05 per solve based on complexity. No subscriptions. Credits never expire.