Photonic design tools
klayout-mcp
Read-only layout inspection and batch design-rule checks through the Model Context Protocol.
A closer look at chip layouts
klayout-mcp connects KLayout to Model Context Protocol (MCP) clients. It opens GDS and OAS layouts, inspects geometry and cell hierarchy, and renders layout regions as PNG images.
The server also runs batch design-rule checks (DRC) and returns structured JSON output. This puts layout inspection and rule-checking results within reach of an MCP-based workflow.
Working with the project
The repository documents installation, client configuration, and the available tools. Layout inspection is read-only; batch DRC requires a KLayout executable. See the repository for requirements and usage examples.