Listed from the MCP registry; nobody on Odel publishes it.
GPU gas dynamics on WebGPU (hydro, MHD, gravity, AMR): load, run, measure and look at simulations
Runs on your machine from its package; the steps are below.

At most: moves money, runs code or commands, deletes data, or sends messages for you.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y shaderous
MCP client config
{
"mcpServers": {
"shaderous": {
"command": "npx",
"args": [
"-y",
"shaderous"
]
}
}
}Compressible gas dynamics, ideal MHD and radiation transport, with shocks, gravity, nearly incompressible liquids and adaptive mesh refinement, running entirely on your GPU inside a web browser. For physics research and teaching.
▶ Open it: https://guillochon.github.io/shaderous/ · Validation suite: validate.html · Requires a browser with WebGPU (current Chrome, Edge, Firefox or Safari).
In the browser (no install). Open the live site.
It starts with a 2D Kelvin-Helmholtz instability. Choose another problem from the left
panel: shock tubes, blasts, instabilities, a supersonic wind tunnel, liquids at low Mach number
(a vortex street behind a cylinder, a lid-driven cavity), detonations, radiation (a clump's
shadow, radiative shocks), magnetized
flows, and astrophysical flows such as stars, white dwarf collisions, tidal disruptions,
accreting binaries, Roche lobe overflow, a common envelope, and planets and the Moon-forming impact. Drag in the
view to rotate it, and use the brushes to stir, heat or add gas, or, in a magnetized run, to strengthen or drag the field. The address bar always describes the current setup, so copying it (or pressing
Share) gives someone else the same run. Record saves the run as an MP4 movie with a
color bar, axes and the simulation time drawn on it, Screenshot (under Movie and
screenshot) saves a slice, a projection or a 2D run as a PNG at the grid's own resolution, one
pixel per cell, Export state saves an .athdf file,
and checkpoints (under Time) save one at regular intervals. Setup… opens every setting of
the simulation in one dialog, where a run can be assembled from parts (point masses, stars,
disks, gas regions, obstacles, a magnetic field) and saved as a file: each preset is such a
file (docs/setups.md). Some examples:
From an AI agent, or the command line. The npm package runs the simulator in headless
Chrome on your GPU (it needs Node 20+ and Chrome). npx -y shaderous mcp is an
MCP server that gives an agent tools to load a setup, run it, read
numbers back and look at it. For Claude Code, install the plugin, which adds the server and a
skill that teaches Claude to build setups from a description in words:
claude plugin marketplace add guillochon/shaderous
claude plugin install shaderous@shaderous
Or add only the server: claude mcp add shaderous -- npx -y shaderous mcp.
Other clients (Claude Desktop, Cursor, VS Code, Codex, Gemini CLI) take the same command:
{ "mcpServers": { "shaderous": { "command": "npx", "args": ["-y", "shaderous", "mcp"] } } }
npx shaderous run --problem sedov --dim 2 --n 512 --png runs a setup to the end and writes
its outputs to a folder (docs/headless.md).
Locally. Running it yourself needs Node 20+.
git clone https://github.com/guillochon/shaderous.git
cd shaderous && npm install
npm run dev
Then open http://localhost:5183 (the validation suite is at
http://localhost:5183/validate.html). npm test runs the unit tests in Node,
npm run test:gpu runs the validation suite and the scripting tests on your GPU through
Playwright, and npm run test:headless checks the command-line runner and the MCP server.
Shaderous is a three-dimensional finite-volume code for compressible gas dynamics, ideal magnetohydrodynamics and radiation hydrodynamics, which also runs nearly incompressible liquids. Every fluid and gravity computation runs in WGSL compute shaders through WebGPU, so it runs on GPUs from any vendor, from a phone to a workstation, with nothing to install. Nothing in the scheme is specific to astrophysics: it solves the compressible Euler equations, or the ideal MHD equations, with optional gravity, diffusion, heating, cooling, radiation transport and nuclear burning, and fits a fluid dynamics course as well as an astrophysics one. The problems that ship with it are mostly astrophysical because they test every part of the code at once: strong shocks, self-gravity, stars that must stay in hydrostatic balance, accreting point masses, cooling, and matter as far from an ideal gas as degenerate electrons. It uses the methods of production simulation codes:
WebGPU is a graphics interface, and fitting a conservative scheme into it shaped the design. No face flux is ever stored: the two cells that share a face compute bit-identical fluxes, so mass, momentum and energy are conserved to round-off even across refinement and time-step boundaries. Ghost cells are computed as they are loaded, never exchanged. The timestep and the scheduling of blocks happen on the GPU, so a step never waits for the CPU. Everything is single precision, as WGSL requires. A well-balanced reconstruction and initial states settled against the grid's own potential still hold stars and atmospheres in hydrostatic balance.
Shaderous is meant for teaching, for exploring a problem before committing to a production run, and for sharing a reproducible setup as a link. It is not a replacement for codes such as Athena++, FLASH or RAMSES: it runs on one GPU, within the memory the browser allows, and its radiation transport is gray (M1), and on the adaptive mesh takes one timestep for all blocks. On a 24 GB card that memory goes a long way: the largest run so far, a magnetized accretion disk at 512^3 with three levels of refinement, held 16.8 GB of GPU memory (about 24 million cells) on an RTX 4090 and ran an orbit in 14 minutes (details). The state can be exported as Athena++-style HDF5 that yt reads directly, and a run can be recorded as an MP4 movie. A suite of 180 validation tests runs on your own GPU, in the browser or from the command line. Scripts and AI agents can drive the simulator too: through a JavaScript API in the page, a command-line runner for single runs and parameter sweeps, or an MCP server.
| Teaching guide | Using Shaderous in the classroom: activities, links and discussion questions for non-major undergraduates, physics and astronomy majors, and graduate students. |
| Numerics | Every part of the solver in detail: equations, discretization, Riemann solvers, reconstruction, gravity, AMR, local timesteps, equations of state, cooling, diffusion, species. With references. |
| Architecture | How the code maps onto WebGPU: constraints, data layout, shader assembly, gathered fluxes, ghost cells on load, the AMR atlas, GPU scheduling, rendering, memory, I/O and testing. |
| Scripting API | Driving the simulator from a script or an AI agent, headless or not: window.shaderous loads setups, steps to exact times, reads the gas back, takes screenshots, records movies, saves and loads .athdf files, uses the editing tools, and logs and replays sessions step for step. |
| Headless runs | The command-line runner (single runs and parameter sweeps, writing diagnostics, images, slices, movies and .athdf files) and the MCP server that gives AI agents the simulator as tools. |
What changed in each release is in the changelog, which is also the notes of the GitHub releases.
The method paper is in progress in paper/. Design plans for proposed work are
in plans/.
The turbulence driving and the driven-turbulence setups, the Alfvén-wave collision, the Elsasser packets, the magnetized Kelvin-Helmholtz setup and the reconnection setups (the tearing mode, island coalescence and X-point collapse, with resistivity) follow the WebGPU reduced-MHD solver of Alfred Mallet and Esrom Abraham (taranis).
MIT; see LICENSE.