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. 657 installs a week from pypi. Last commit 9 Oct 2026.

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

Installs per day peak 511 · avg 21
a month agotoday
657
Installs / week
pypi · optlens
0
Stars
0 open issues
9 Oct 2026
Last commit
from GitHub
Apache-2.0
License
Python

What the code does

We read the source, 2 d ago · rules ccca72095570

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

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": {
      "args": [
        "optlens"
      ],
      "command": "uvx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.optlens]
command = "uvx"
args = ["optlens"]
.cursor/mcp.json
{
  "mcpServers": {
    "optlens": {
      "args": [
        "optlens"
      ],
      "command": "uvx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "optlens": {
      "args": [
        "optlens"
      ],
      "command": "uvx"
    }
  }
}

Alternatives to optlens

same job, measured the same way
Stylespeak
by patrizzos

MCP server and CLI that makes CSS legible to AI agents — explains what applies and why.

209 installs/wk local only
Git Why
by alliecatowo

Finds the Git commits that explain why code is the way it is: semantic and full-text history search.

453 installs/wk local only
slop-chop
by dcadolph

Find and remove the writing patterns a profile lists. Deterministic rules, model rewrite opt-in.

local only
Kconfig MCP
by 0xmortuex

Why can't I enable CONFIG_X? Explains Kconfig dependencies and finds a verified fix.

299 installs/wk local only
Mint — Safe Mac Storage Actions
by dzgapp

Inspect Mac and AI-tool storage, explain file activity, and clean safely with Trash and Undo.

26 installs/wk local only
Xplainable MCP Server
by xplainable

Train, explain, optimise and deploy transparent glass-box ML models via workflow tools.

answering
Gdbstub MCP
by 0xmortuex

Debug kernels through QEMU's gdbstub with no gdb binary - and explain triple faults.

311 installs/wk local only
Deep Blue Alpha — Ethereum Whale Data
by deepbluealpha

Live Ethereum whale flows: token activity, top tokens, latest moves, Whale Sentiment Index.

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 657 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 with the file path 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 657 times in the last week. 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.