OpenGeoRock
OGR Slip2D 0.1.235 · pre-release · AGPL-3.0-or-later

Open-source geotechnical software, starting with slope stability

OpenGeoRock is a suite of programs for slope stability, groundwater and rock mechanics. The first of them, OGR Slip2D, combines nine limit-equilibrium methods with finite-element seepage and probabilistic analysis. It also includes an official MCP server, so an AI agent can work with the program, from building the model to reading the results.

Python 3.11+Desktop · Python · CLI · MCPFree and open source
Sheet 01
Limit-equilibrium analysis computed by OGR Slip2D: 156 of 169 grid centres with a valid circle, critical factor of safety 1.290 (spencer)
Model
Two-layer slope · water table
Search
Grid · 169 centres
Method
Spencer · λ 0.343
Critical FoS
1.290
§ 02 — OGR Slip2D

What OGR Slip2D does

It is a desktop program with a modeller, a results interpreter and an embedded Python terminal. The computation core can be read line by line, and we check it against published reference cases.

Nine limit-equilibrium methods

Ordinary, Bishop, Janbu simplified and corrected, Spencer, Morgenstern–Price/GLE, Lowe–Karafiath and both Corps of Engineers methods.

Seven search algorithms

Grid, slope, auto-refine, block, path, simulated annealing and particle swarm, for circular and non-circular surfaces, with focus objects and optimisation.

Twenty-two strength models

Mohr–Coulomb, undrained profiles, Hoek–Brown, Barton–Bandis, power curve, SHANSEP, anisotropic models and user-defined functions.

Finite-element groundwater

Saturated, unsaturated and transient seepage on a conforming triangular mesh, with seepage faces and a factor of safety per stage.

Probabilistic and sensitivity analysis

Monte Carlo and Latin hypercube sampling over seven distributions, probability of failure, reliability index and sensitivity sweeps.

Loads, supports and design codes

Nine support types, distributed and line loads, pseudo-static seismic and Newmark displacement, tension cracks and Eurocode 7 partial factors.

§ 03 — Built for AI agents

Working with an AI agent

OGR Slip2D comes with an official Model Context Protocol server, which we develop in the same repository as the solver. It works with any MCP client, such as Claude, ChatGPT, the OpenAI Agents SDK or a local model in LM Studio or Ollama. The agent can open the program, build the geometry, run the analysis and read the results slice by slice, and you can follow each step in the program window.

  • One of the first geotechnical programs with an official MCP server and, to our knowledge (October 2026), the first open-source slope-stability program to include one.
  • 74 tools, which cover all the modelling and analysis actions in the program's menus.
  • The agent works on the window you have open, so it shares the model and the undo history with you.
  • The server runs on your own computer: over stdio for desktop clients, over HTTP with a token, or with OAuth 2.1 for remote clients.
§ 04 — Verification

How we verify the program

Each method comes with the published case it was validated against. The test suite compares results only with external references and closed-form solutions.

CaseMethodReferenceOGR Slip2D
ACADS 1(a) · Giam & Donald 1989Bishop0.9910.9885
ACADS 1(c) · three layersBishop1.4061.4083
Yamagami & Ueta 1988Bishop1.3481.3502
ACADS 2(b) · Talbingo damSpencer2.292.2918
Confined seepage · DarcyFE seepageexact0.000 %
Transient step · erfcFE transientexact0.11 %
Get started

Installing from source takes a few minutes