MCP‐enabled LLM for meta‐optics inverse design: leveraging differentiable solver without LLM expertise

Automatic differentiation (AD) enables powerful metasurface inverse design but requires extensive theoretical and programming expertise. We present a Model Context Protocol (MCP) assisted framework that allows researchers to conduct inverse design with differentiable solvers through large language models (LLMs). Since LLMs inherently lack knowledge of specialized solvers, our proposed solution provides dynamic access to verified code templates and comprehensive documentation through dedicated servers. The LLM autonomously accesses these resources to generate complete inverse design codes without prescribed coordination rules. Evaluation on the Huygens meta-atom design task with the differentiable TorchRDIT solver shows that while both natural language and structured prompting strategies achieve high success rates, structured prompting significantly outperforms in design quality, workflow efficiency, computational cost, and error reduction. The minimalist server design, using only 5 APIs, demonstrates how MCP makes sophisticated computational tools accessible to researchers without programming expertise, offering a generalizable integration solution for other scientific tasks.

Authors

Institutions

Publication Details

Journal
Nanophotonics
Published
2025-12-01
DOI
https://doi.org/10.1515/nanoph-2025-0507
Citations
1
Primary Topic
Metamaterials and Metasurfaces Applications
Type
article
Field-Weighted Citation Impact
0.43

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

MCP‐enabled LLM for meta‐optics inverse design: leveraging differentiable solver without LLM expertise

Huan Zhao, Bowen Zheng, Sensong An, Hong Tang et al.
1 citations
Nanophotonics
Metamaterials and Metasurfaces Applications
0.43
article

MCP‐enabled LLM for meta‐optics inverse design: leveraging differentiable solver without LLM expertise

Huan Zhao, Bowen Zheng, Sensong An, Hong Tang, Yunxi Dong, Yi Huang, Hualiang Zhang, Rakibul Hasan Shawon
article en
1 citations

Abstract

Automatic differentiation (AD) enables powerful metasurface inverse design but requires extensive theoretical and programming expertise. We present a Model Context Protocol (MCP) assisted framework that allows researchers to conduct inverse design with differentiable solvers through large language models (LLMs). Since LLMs inherently lack knowledge of specialized solvers, our proposed solution provides dynamic access to verified code templates and comprehensive documentation through dedicated servers. The LLM autonomously accesses these resources to generate complete inverse design codes without prescribed coordination rules. Evaluation on the Huygens meta-atom design task with the differentiable TorchRDIT solver shows that while both natural language and structured prompting strategies achieve high success rates, structured prompting significantly outperforms in design quality, workflow efficiency, computational cost, and error reduction. The minimalist server design, using only 5 APIs, demonstrates how MCP makes sophisticated computational tools accessible to researchers without programming expertise, offering a generalizable integration solution for other scientific tasks.

NanophotonicsVol. 14(27)
University of North Texas (US), University of Massachusetts Lowell (US)
National Science Foundation
Openalex Percentile: Top 33%
Metamaterials and Metasurfaces Applications
0.43
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

MCP‐enabled LLM for meta‐optics inverse design: leveraging differentiable solver without LLM expertise — Huan Zhao, Bowen Zheng, et al. · Nanophotonics (2025) | TGRS Research Map | TGRS