Skip to content
Tresca

pyNastran MCP Server

MCP serverCommunity

Reads Nastran BDF decks and OP2 results through pyNastran, checks mesh quality and writes a report; it never runs the solver. By Shaoqigit.

3 starsUpdated 8 months agoGitHub data from 5 Nov 2026

At a glance

Type
MCP server
How it connects
Reads and writes files; the tool isn't needed
Access
Can modify models
Tool versions
unknown (works on BDF and OP2 files that pyNastran 1.4 or later can read)
Operating systems
Not stated in its documentation
Needs a Nastran (MSC and Simcenter) licence
No
Transport
Local (stdio), Remote (HTTP)
AI clients documented
Claude Desktop, Cursor, Cherry Studio
Licence
MIT
Language
Python

What it can do

  • Summarises a BDF model and lists nodes, elements, materials and properties.
  • Lists OP2 result cases and extracts stress and displacement results.
  • Checks mesh quality, returns the model bounding box and generates an analysis report.
  • Can write the loaded model back out to a new BDF file.

Limitations

  • Works on files only; it doesn't start Nastran, Patran or Femap.
  • The README's pip install name wasn't found on PyPI at this check; install from source.
  • No commits since March 2026.

Install

git clone https://github.com/Shaoqigit/pynastran-mcp.git
cd pynastran-mcp
pip install -e .

Source: github.com/Shaoqigit/pynastran-mcp#installation

MCP servers and skills run code on your computer. Review the source before installing.

AI-generated models, drawings and results must be checked by a qualified engineer before use.