# Commonlands Optics: M12 Lens and C-Mount Lens Finder + Field-of-View Calculator

Finds M12 and C-mount lenses for a sensor and calculates field of view. Useful when comparing lens options or checking product details before purchase.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: CommonlandsAbbe
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/CommonlandsAbbe/commonlands-mcp
- Updated: 2026-10-20
- HTML: https://affpapa.org/en/nevibecode/mcp/commonlands-optics-m12-lens-and-c-mount-lens-finder-field-of-view-calculator

## What it does

The server matches M12 and C-mount lenses to a sensor and target field of view, then calculates horizontal, vertical, and diagonal angles. A general catalog search does not replace a calculation for a specific sensor; use the dedicated tool for that lens-and-sensor pair.

Request `tools/list` to see the available tools. Use `match_lens_to_sensor` for sensor-based selection, `calculate_field_of_view` for the calculation, and `search_lens_catalog` for broad catalog searches. `get_lens_distortion_profile` returns distortion status and model information. Before giving a price or availability, check Shopify with `read_shopify_products`. Cart creation or changes require the buyer to confirm exact variants and quantities. FoV calculations rely on a configured live backend; without it, those tools fail. The server connects over HTTP.

## Requirements
- Remote server: `https://mcp.commonlands.com/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http optics-mcp https://mcp.commonlands.com/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add commonlands-optics-m12-lens-and-c-mount-lens-finder-field-of-view-calculator --url https://mcp.commonlands.com/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "commonlands-optics-m12-lens-and-c-mount-lens-finder-field-of-view-calculator": {
            "url": "https://mcp.commonlands.com/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "commonlands-optics-m12-lens-and-c-mount-lens-finder-field-of-view-calculator": {
            "type": "http",
            "url": "https://mcp.commonlands.com/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http commonlands-optics-m12-lens-and-c-mount-lens-finder-field-of-view-calculator https://mcp.commonlands.com/mcp
```

## When to use it
- match an M12 or C-mount lens to a sensor
- calculate field of view for a lens and sensor
- search lenses by mount, type, or title
- check a lens's distortion status
- verify product price and availability before preparing a cart

## Example prompts
- Use `match_lens_to_sensor` to find a lens for this sensor and target field of view, then run `calculate_field_of_view` for the candidate.
- Search the catalog for C-mount lenses and compare their optical specifications.
- Check the current price and availability for this SKU with `read_shopify_products`.

## Similar
- [m12-lifecycle](https://affpapa.org/en/nevibecode/skills/m12-lifecycle.md) — skill · 3300 installs
- [blender-optics-simulator](https://affpapa.org/en/nevibecode/mcp/blender-optics-simulator.md) — MCP server · ★ 24
- [optics-mcp](https://affpapa.org/en/nevibecode/mcp/optics-mcp.md) — MCP server
- [platform-custom-field-generate](https://affpapa.org/en/nevibecode/skills/platform-custom-field-generate.md) — skill · 6600 installs
- [vercel-react-view-transitions](https://affpapa.org/en/nevibecode/skills/vercel-react-view-transitions.md) — skill · 168100 installs
- [field-notes-editorial-template](https://affpapa.org/en/nevibecode/skills/field-notes-editorial-template.md) — skill · 2800 installs

---
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
