Skip to content
Tresca

OpenFOAM MCP Server for Foundry & Metallurgical Simulations

MCP serverCommunity

An OpenFOAM server for foundry work: sets up mould-filling and solidification cases and flags likely casting defects. By Monishkumarvr.

1 starsUpdated 3 months agoGitHub data from 5 Nov 2026

At a glance

Type
MCP server
Works with
OpenFOAM
How it connects
Drives a running copy of the tool
Access
Can modify models
Tool versions
OpenFOAM v11 or later (v2306, v2312 named)
Operating systems
Linux
Needs a OpenFOAM licence
No
Transport
Local (stdio)
AI clients documented
Claude Code
Licence
MIT
Language
Python

What it can do

  • Creates casting cases for gravity, low-pressure and high-pressure pours, from STL or parametric geometry.
  • Sets metal and mould material properties from a built-in database, and boundary conditions.
  • Generates the mesh, runs the solver and exports results as VTK, STL or CSV.
  • Predicts porosity, shrinkage, hot spots, cold shuts and misruns, and suggests gate and riser positions.

Limitations

  • Narrow scope; aimed at foundry and metallurgical cases rather than general CFD.
  • The clone command in the README points to a placeholder URL, so clone this repository instead.

Install

python -m venv venv
source venv/bin/activate  # On Windows: venv\\Scripts\\activate
pip install -e .

Source: github.com/Monishkumarvr/openfoam-mcp

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.