
Key Takeaways
active_faultsis the fault source in Stratigraphic Amenity, a geology AI tool from Eigenform: an open-source MCP server for scanned geologic maps (maps that show which rocks lie where). It lists active faults, cracks in the Earth’s crust that can still move, inside a map’s area, using a worldwide fault database (GEM Global Active Faults). Italy’s more detailed DISS database comes with it as an example of a regional source, and you can add regional databases for your own countries.- Use it to see which known faults cross or touch an area where a company is looking for minerals, so a geology AI assistant can point to real records instead of guessing. Without it, someone would download a fault database, open it in mapping software and check the area by hand.
- It reads a saved copy of the GEM database on the computer by default; the Italian example source is only used when you ask for it.
- In some parts of the world, such as Canada, the worldwide database has little detail, so the tool warns you there; a regional database can fill that in. No result is never proof that no active fault exists.
TL;DR
Give this geology AI tool an area, and it lists the known active faults that run through it: their name, how they move, how long they are and how steeply they slope into the ground. It warns you when the worldwide database has little detail there, and when nothing turns up it says so plainly instead of calling the area safe.
What Is the active_faults Provider?
active_faults is one of the knowledge providers in Stratigraphic Amenity. It returns fault features that intersect a bounding box, either one you pass directly or the stored area of a registered map. It is enabled by default, so a geology AI agent gets it whenever it looks up earthquakes, faults and minerals for an area.
How Does Geology AI Find Active Faults?
Two sources are configured: the global gem_global_active_faults first and the regional diss_seismogenic_sources second, as an example of a more detailed source for one region. A query uses only GEM unless provider_options.active_faults names a source or sources.
GEM: the global source
The GEM Global Active Faults Database is published under CC BY-SA 4.0. The server reads it from a synced mirror when one exists, or from the copy in the installed geological knowledge base, with the warning “active_faults: using legacy local asset because no source mirror was found.” GEM has no live mode.
The operator builds a mirror with python -m stratigraphic_amenity.knowledge.sources.sync gem_global_active_faults, which writes the data and a provenance manifest under the knowledge sources folder.
DISS: a regional example for Italy
DISS 3.3.1 is a regional database of seismogenic sources for Italy and surrounding areas. The server queries its public WFS service live, and only when a request selects it. Its coverage box runs from 5° to 20° east and 35° to 48.5° north. Outside it, the result warns that the source “does not cover the requested bounds” and skips it.
Adding your own regional fault database
DISS is the example implementation of a regional source, not the only one possible. You can add any fault database that answers bounding-box queries in the same way, for example a national survey’s database for a country where GEM is coarse. It is a change to the code, not a setting:
- Write a source adapter. A class with a
query_bboxmethod that returns the faults in the box as GeoJSON, and optionally anormalize_geojsonmethod that tidies the features.sources/diss_faults.pyis the model. - Register the source. Add a
SourceDefinitionin theactive_faultsfamily to the source registry, with the publisher, licence, attribution and acoverage_boundsbox. - Bind it in the knowledge service. Add a branch for the new ID in
_active_fault_source_binding, the way DISS is bound as a live source. - Switch it on. List the ID in
GEOMAP_ACTIVE_FAULT_SOURCE_IDS, together withgem_global_active_faults, because the variable replaces the default list.
The service drops an ID with no binding without an error, and when it binds nothing, the provider falls back to the local GEM copy. The same pattern adds regional mineral occurrence sources.
Lines or boxes: the geometry engine
GEOMAP_KNOWLEDGE_FAULT_GEOMETRY_ENGINE decides how a fault is matched to the area:
| Setting | Behaviour |
|---|---|
auto (default) | Uses Shapely when installed, otherwise boxes |
shapely | True line-against-box intersection, with a spatial index |
bbox | Compares each fault’s bounding box with the area |
With bbox, a long diagonal fault can match an area it never actually crosses. Shapely comes with the server’s knowledge-local extra.
What comes back
Each record keeps slip_type, name, catalog_name, length_in_kilometers, dip_dir, average_dip, average_rake, lower_seis_depth and upper_seis_depth, plus a geometry_bbox. Records are sorted by name and limited to 50 by default. When GEM and DISS both run, a feature that appears twice is merged on the first identifier it has: id, fid, source_id or name.
Coverage Gaps in the Active Fault Database
GEM documents coarse coverage near Canada, Madagascar and the Malay Archipelago. When an area touches one of these, the result adds: “GEM active-fault coverage has a documented coarse gap near” the region, noting that missing features “may reflect source coverage rather than absence of active faults.”
When nothing intersects at all, the summary reads: “No active fault features intersected the bounds; this is not evidence that no active faults exist.”
FAQs
Which regions does the active fault data cover?
GEM covers most tectonically active regions worldwide, with documented coarse gaps near Canada, Madagascar and the Malay Archipelago. DISS adds detail for Italy and nearby areas on request, as the example regional source; you can add other countries’ databases the same way. A warning appears when the area touches a known gap or lies outside a regional source’s coverage.
Why does a fault appear that does not cross my area?
Either the bounding-box engine is in use, or the fault’s line really does cross a corner. With bbox, faults are matched by their bounding box, so a long diagonal fault can match an area it never touches. Installing Shapely, or setting the engine to shapely, matches the actual line.
Can I use the Italian DISS database instead of GEM?
Yes. Set source to diss_seismogenic_sources in provider_options.active_faults, or list both sources to combine them. DISS is queried live, so the request goes online, and it only returns faults inside its coverage box around Italy. Elsewhere the result warns that the source does not cover the area.
How are faults drawn on the map?
The knowledge overlay draws each fault as its geometry_bbox, the smallest rectangle around it, rather than as a line. A long fault therefore covers more of the picture than the fault itself, so read the records before judging how close a fault passes to a target.
Try It With Geocluster
Stratigraphic Amenity is one of the Geocluster tools, MCP servers that let AI agents work with geology data and maps.
Faults are half of the hazard picture; the other half is the earthquake history of the region.


