# Sunex-lens-mcp

Sunex-lens-mcp connects Sunex optical catalogs to your assistant, letting you match lenses with CMOS sensors, check geometry, and calculate field of view directly in chat.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 312 installs
- Author: sunex
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/sunex/Sunex-lens-mcp
- Updated: 2026-05-17
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/sunex-lens-mcp

## What it does

The server gives your coding assistant access to a dataset of over 350 lenses alongside CMOS sensor specifications. With `recommend_lens_for_imager`, passing a sensor part number like `IMX577` immediately retrieves sensor dimensions and returns matching optics scored by field of view and angular resolution. When manual boundaries are needed, `find_compatible_lenses` filters candidates by aperture range or view angles.

Tool `get_imager_detail` calculates effective width, height, and diagonal in millimeters, while `search_products` retrieves sample pricing and spec sheet links. Because the service runs remotely over HTTP via `https://sunex-lens-mcp--sunex.run.tools`, it requires zero local runtime or dependencies.

## Requirements
- Remote server: `https://sunex-lens-mcp--sunex.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http sunex-lens-mcp https://sunex-lens-mcp--sunex.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add sunex-lens-mcp --url https://sunex-lens-mcp--sunex.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "sunex-lens-mcp": {
            "url": "https://sunex-lens-mcp--sunex.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "sunex-lens-mcp": {
            "type": "http",
            "url": "https://sunex-lens-mcp--sunex.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http sunex-lens-mcp https://sunex-lens-mcp--sunex.run.tools
```

## When to use it
- match compatible lenses to a specific CMOS imager model
- calculate sensor geometry alongside optical angular resolution
- filter optical candidates by aperture range and field of view
- look up sample prices and direct links to datasheets

## Example prompts
- Suggest a Sunex lens compatible with the `IMX577` sensor
- Calculate physical sensor geometry and inspect optics with `get_imager_detail`
- Find optics matching my pixel pitch and aperture limits

## Similar
- [optics-mcp](https://affpapa.org/en/nevibecode/mcp/optics-mcp.md) — MCP server
- [DAQiFi](https://affpapa.org/en/nevibecode/mcp/daqifi.md) — MCP server · ★ 5 repo stars
- [mcp](https://affpapa.org/en/nevibecode/mcp/jettydiot-mcp.md) — MCP server
- [Atlas Scientific EZO Sensors](https://affpapa.org/en/nevibecode/mcp/atlas-scientific-ezo-sensors.md) — MCP server · ★ 32 repo stars
- [blender-optics-simulator](https://affpapa.org/en/nevibecode/mcp/blender-optics-simulator.md) — MCP server · ★ 38 repo stars
- [OptiVibe](https://affpapa.org/en/nevibecode/mcp/optivibe.md) — MCP server · ★ 19 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
