mcpbeat Sign in

optlens MCP Server

local only

optlens runs on your own machine — the client starts it, so there is no endpoint to ping. 125 installs a week from pypi. Last commit 29 Oct 2026.

Debug and explain LP/MILP models: why infeasible, the smallest fix, what-if and sensitivity.

Installs per day peak 41 · avg 21 · +2% w/w
a month agotoday
125
Installs / week
pypi · optlens
0
Stars
0 open issues
29 Oct 2026
Last commit
from GitHub
Apache-2.0
License
Python

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add optlens -- uvx optlens
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "optlens": {
      "command": "uvx",
      "args": [
        "optlens"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.optlens]
command = "uvx"
args = ["optlens"]
.cursor/mcp.json
{
  "mcpServers": {
    "optlens": {
      "command": "uvx",
      "args": [
        "optlens"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "optlens": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "optlens"
      ]
    }
  }
}

What the code does

We read the source, 9 h ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

        return fn(md.write_mps(os.path.join(tmp, f"{md.name or 'model'}.mps")))
            self.proc = subprocess.Popen([sys.executable, "-m", "optlens.workspace"], cwd=self.workdir, env=env,

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Alternatives to optlens

same job, measured the same way
Ventsim
by agenticeram

Read, check and what-if Ventsim mine ventilation models (.vsm files)

4 329 installs/wk local only
cleaninstall-node
by ahusan

Diagnose and fix broken Node.js/Deno installs instead of rm -rf node_modules and the lockfile

1 521 installs/wk local only
OPA MCP
by orygnscode

Author, validate, debug, and explain OPA Rego policies through any MCP-compatible client.

837 installs/wk local only
SensorForge Optimizer
by sidupreti

Shrink trained models to fit edge devices with the hosted SensorForge Optimizer.

482 installs/wk local only
Codex Subagent
by parisbs

Delegate coding tasks to the OpenAI Codex CLI, installed separately, with explicit model and effort.

326 installs/wk local only
Godot MCP
by shin2344234

Edit Godot 4 scenes, nodes and scripts; run, test and debug games live in the editor or headless.

322 installs/wk local only
Acpi MCP
by 0xmortuex

Read ACPI tables from a live QEMU guest or files and explain them for OS developers.

203 installs/wk local only
CodexGuild
by codexguild

What changed in your stack since the model's cutoff, error fixes, and security-scanned skills/MCPs

155 installs/wk answering

optlens — questions

Answers built from our own checks of this server.

Why is there no uptime for optlens?
optlens runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package optlens was installed 125 times last week.
How do I connect optlens?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls optlens straight from pypi; nothing to host, nothing to sign up for.
How many people use optlens?
The pypi package optlens was installed 125 times in the last week. Week over week that is +2%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is optlens open source?
Yes — it is published under the Apache-2.0 licence, written in Python and 0 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.