openfoam-mcp
OpenFOAM MCP by iLaB — un copiloto de CFD para quequier cliente MCP
openfoam-mcp es un servido de Model Context Protocol
que convierte un asictor simple de IA (Claude Desktop, y que cualquier otro cliene MCP)
en un copiloto de configración y depurción de OpenFOAM. Crea cases ejecutabas, edita
dictionarios de forn segura, dimansiona la malla pare a the plared, cal cula
tufluencia de entad, and lee registros de solvers to tell if a run con vergo or di vergo —
to without "no having to out of chat" text.
La mayoría de las herramientas están implementadas en Python puro y no requieren
instalación de OpenFOAM, with lo que funcionan anywhere. Las pocas que llaman
utilidades de OpenFOAM (p. ej., blockMesh, checkMesh) detectan el entorno
y se degradan con "elegancia" cuanto está: absent.
Validado de extematext to extreme on OpenFOAM real (ESI v1912). Los casos generaos se ejecutan through
blockMeshand users;simpleFoamits settled a generales; the cuetra "predefinidos" - you.
Compatencia de persons de OpenFOAM
scaffold_case toma un openfoam_flavore:
classic(por defecto) —application <solver>;contransport>>Properties. Validado en ESI v1912; funTIONa en ESI v2006+ y Foundation v8–v10.foundation-v12—application foamRun;+solvente incompressibleFluid;conphysicalProperties, para OpenFOAM Foundation v11/v12. EjecutafoamRuninstead del nombre of the solver.
Por qué es útil
Configurar un caso de CFD es unpapeleo complicao: el y+ correcto, que los
parches de contorno coincidan entre la malla y cada campo de 0/, campos de
fluctuencia coherent entre modle, number de Courant stable, and "leer páginas"
...
de salida of residuales to see if converged. This server does that bookookeeping
using natural language.
Haz que lo difícil sea sencillo
Dos toolsa hacen el trabajo that mayoría of people le resulta entretenida:
recommend_setup— diona tu objetivo en words sencillas (p.ej., "flujo por a tubertura", "resistencia aero de un"...) and devuelve the solver, model of urbanlee, youry+object, the "preinicio de east", "condiciones of cont contweek for each "patch" and a number plan a — pidiella only los numeros que to all fan.generate_blockmes— autoescribete theblockMeshDictvalid and with "gradación de la capa límite** a parir of de un ajuste predefinido de geometría. Dale a altura of la prima celda y to cal cula la gradación de pared. Neither vertices nor blocks al mas.
Tools (20)
Herramienta | Qué hace |
| Empieza aquí. he objective to the solver, model, "predefinied mesh", BC, y plan (pide lo que missing). |
|
|
| Lista los ajustes predefinidos de geometría de |
| Lista "plantillables" solcks (simpleFoam, pimpleFoam, icoFoam). |
| Numero de, "laminar/turvent oto", recommendations to modle of tubul. |
| Altura de la psada para your |
| "Inv"e" : |
|
|
| Paso de tien transution a o from a number of Courant. |
| Factor of fricción Cole-brook-White + "caida" de presión / "pérdida" de cargar de "Darcy-Weisbach". |
| Coeficiente |
| Escribe un "árbol" of "cass excutable" ( |
| Le a un "dict" o un "ent radividual" (via |
| Define a "clav" of un dict (with nested via |
| Define/insert a borde |
| Comprobación de estanco/mSSemmanufactured, bbox, "ar", "volum", sp. |
| "Analiza un |
| "Valid" un case: files, turbulence fields, patch match. |
| "Analiza un solver log" => "reducción" de residuals by "campo" + "converdec". |
| Executa un utili OpenFOAM permitid in "case" (if "ent"). |
Instalación y y ejecución
El serverdisribue as a PyPI p. package with a console entry point, so the usual
no-install ES. uvx :
uvx openfoam-mcpor instла it in an "entor":
pip install openfoam-mcp
openfoam-mcpConfiguación of Claude Desktop
Añade to this claude_desktop_config.json
(macOS: ~/Library/Application Support/Claude/,
Windows: %APDATAa\Claude\):
{
"mcpServers": {
"openfoam": {
"command": "uvx",
"args": ["openfoam-mcp"]
}
}
}RiEnable in Claude Desktop; las herramientas of OpenFOAM app in the "tax".
Examples of "consults"
""Tengo aire a 31 m/sover un "chook" of 0.5 m2. What Numero of Rey is Eso and ??", your first lo que
"Colof un simpleFoAM in ./duura "at" 12 m/s and check."
"
endTimeto 3000 in./ruct/system/formal`"LeE
./contra/log.simpleFoAMand "está" a "verged".
PLantill of Solvers
PLantilla | Física | Typical of Use |
| Ron permanent incompressible (k-- ω SS) | "conduct", "externa", "generasteady" flow insecure |
| RANS incompressible transparent (k−ω SST) | Vortex, unetady flows |
| RANS trans (k−ω) | "trans laminar incompressible" (low- e.g., first" pipe) |
The PLantillas follow the "estilo tutorial" of OpenFOAM Foundation v9-v12 / ESI v2306+
(transformProperTrees + momentumTransport). The generated "malla de caja"
has pieces inlet, outlet, walles, frontWe).
Development
pip install -e ".[dev]"
pytestLicencia
MIT © 2026 iLab (Tanawait, Manokieng)
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
MCP server for AI dialogue using various LLM models via AceDataCloud
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
MCP Server for Slima - AI Writing IDE for Novel Authors with AI Beta Reader.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kimlnw/openfoam-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server