Grids
MCP server for hand edits to 2-D model grids (bathymetry, land masks, topography): an interactive editor, an ordered edit list located by longitude and latitude, and replay onto a regenerated grid with content hashes
claude mcp add --scope project clio-grids -- clio-kit mcp-server grids
Install the launcher first. Restart your client after setup. Configuration locations →
Check the connection
clio-kit doctor --server grids --connect
Checks prerequisites and tool discovery. Test on known input to verify results. Native backends may require additional setup.
Tools
grid_openOpen a 2-D gridded field (model bathymetry, land mask, topography) in an editor the person can draw on. Returns its shape, extent, value range and content hash, and the default output path for edits.
grid_editApply an ordered list of edits to a base grid and write the result beside it with an edit log (<output>.edits.json) recording the base hash, each edit with the cells it changed, and the result hash. The base file is never changed. The grid editor calls this for every change; undo is the same list without its last edit.
grid_replayApply a saved edit log to a grid, usually one regenerated after the edits were made. Edits are located by longitude and latitude, so they land on the same places; the result says whether the base grid is the logged one and, edit by edit, whether it changed the same number of cells.
grid_windowValues of a grid strided for display. Called by the grid editor.
Examples
Replace example paths with your own files and check the returned results.
Usage
Available tools: grid_open, grid_edit, grid_replay, grid_window.
Inspect the tool input schema in your MCP client before calling it. Use a small known input, check the result and any reported errors, then expand to the intended workload.