
TL;DR The best geology GitHub repos in 2026 are six free, open-source programs that use AI to help with geology work, such as analysing mineral deposit data, searching research papers and reading geologic maps. An AI agent is a program that uses an AI model to carry out a task step by step. We chose these six for the job they do, their licence (the rules for reusing the code), how clearly they are documented and whether they have been updated recently, not for their star counts (GitHub’s like button). Eigenform’s Geocluster Research Harness is our pick for exploration data, the lab and field results collected when searching for minerals: you run it on your own computer, give it your files and ask questions in plain language. A table near the end shows which repo to start with for each job.
Sorting geology repos by stars is an older way to choose the best GitHub repository. With innovation happening every day, valuable repositories are often the ones refreshed regularly. According to GitHub’s documentation, a star shows appreciation to a maintainer, and many of the platform’s rankings depend on star counts, so an abandoned project can outrank one committed to last week.
This guide covers the best geology GitHub repos for AI agents, from mineral deposit analysis to geologic maps. We held all six to the same four checks. As of 6 November 2026, five had a commit in the previous 30 days and the sixth, GeoAssist, had one in August. One repo’s optional runtime also adds licence conditions for anyone building a product on it.
The 6 repos at a glance
The table lists all 6 repos with their category, main use, licence and the date of the newest commit on the default branch when we checked, so you can compare job fit and maintenance before opening any repository.
| S. NO. | Repository | Category | Primary use | Licence | Last commit |
|---|---|---|---|---|---|
| 1 | EigenformAI/geocluster-research-harness | AI agents | Agent over project files | Apache-2.0 | 2 Nov 2026 |
| 2 | zyfmessi/GeoChemReasoner | AI agents | Mineral deposit analysis | MIT | 2 Nov 2026 |
| 3 | PCleverleyGeol/GeoAssist | AI agents | Geoscience literature and data research | MIT | 12 Aug 2026 |
| 4 | EigenformAI/geocluster-mcp | AI agents | Exploration-data tools for agents | Apache-2.0 | 21 Oct 2026 |
| 5 | microsoft/PEACE | AI agents | Geologic-map understanding | MIT | 20 Oct 2026 |
| 6 | EigenformAI/stratigraphic-amenity | AI agents | Geologic-map tools for agents | MIT | 13 Oct 2026 |
How we chose the best GitHub repositories for geology
We judged every repo on the same four checks, so a project earns its place on evidence rather than reputation. Each check comes from the repository’s own files, namely its README, its licence file and its commit history.
- Job fit: The project does one named geoscience task, stated in its own README.
- Licence: A licence file exists, and we read it.
- Maintenance: The default branch had a commit within six months of our check.
- Documentation: The README explains how to install it and what it does not do.
Popular GitHub repos are not the same as useful ones
Popular GitHub repos tend to be the ones that serve the most developers, and lists of GitHub top repositories are usually dominated by general-purpose software. A geoscience tool has a much smaller audience, so it rarely appears on those lists, however well it does its job. That is why the six here were chosen by job and maintenance, using the four checks above, not by popularity.
Top GitHub repos for AI agents in geology
Three of the six repos in this guide were built by the team behind it: the Research Harness, Geocluster MCP and Stratigraphic Amenity. The Research Harness bundles Geocluster MCP, while Stratigraphic Amenity is a separate server for working with map images.
All six rely on a model that you connect, so model choice matters.
Insight: At our check, the four leading models on the Groundtruth benchmark, which grades answers about real geological reports, were statistically tied at 8.4 to 8.8 out of 10, while one trailed at 6.8. The useful gap is between tiers, not neighbouring models. The scores are self-reported, and the benchmark grades answers about source documents, so treat it as one input rather than a full test of an agent.
1. Geocluster Research Harness: an AI agent for exploration data
GitHub: github.com/EigenformAI/geocluster-research-harness
What it is: A geology research agent that runs in your terminal, built on OpenCode, with a bundled geological MCP server (Geocluster MCP, 45 tools), all in one Docker image. It cleans assay tables, clusters geochemical data, ranks anomalies and answers questions grounded in your documents, including NI 43-101 reports. It can also turn findings into a PDF, Word, PowerPoint and Excel pack.
Why it matters: The agent hands work to layers of specialists (DataOps, Transform, Analytics, Geoviz, Voxel and Extended) and runs the bundled tools instead of writing one-off scripts. You can open each specialist’s session to read the tool calls and scripts behind a number. A synthetic sample project, Wattle Creek, ships with the repo for testing, and the project is part of the Geocluster workspace.
Get started: You need Docker with Buildx, Git, Python 3 and an interactive terminal on Linux x64. Clone with Git, not a ZIP download, because the build needs the geocluster-mcp submodule. Also clone the geocluster-data-preprocessing-service repo at the tag the README names, because the build requires it even if you skip document processing. Then run git submodule update --init --recursive, build with bash scripts/build-docker.sh and start with ./scripts/run-runtime-tui.sh. In the terminal, run /connect to add your model provider and /models to pick a model. Copy your data folder, or the Wattle Creek sample, into the project folder before you ask questions.
Limits: The build needs a second repository (the document processor) and targets Linux x64. The agent can read only the project folder you give it, but running in Docker does not make it offline: prompts, file content and tool results go to the model provider you connect, and agent tools can make network requests. The README says its prompts guide the agent and do not guarantee correct results, so review the cited evidence.
Good to know: The agent, the MCP tools and your files run on your own Docker host, and the agent can read only the project folder you give it. Model requests still go to the provider you connect to, and they can include prompts, file content and tool results, so choose a provider that suits your data.
2. GeoChemReasoner: an AI agent for mineral deposit analysis
GitHub: github.com/zyfmessi/GeoChemReasoner
What it is: An LLM agent for mineral deposit work. You give it exploration files (Excel or CSV geochemistry, text reports, images) and a task, such as where ore might be or how a deposit formed. It plans the analysis, runs its tools and writes a report.
Why it matters: Every claim in the report has to cite a numbered evidence ledger, and inputs are checked before use, so you can trace a conclusion back to the data. The result is also saved as machine-readable JSON.
Key figure: More than 100 registered tools, from REE normalisation to isotope and fluid-inclusion calculators. The model plans and writes up the result, but it can only call tools from that registry, so it can’t invent a calculation.
Get started: It needs Python 3.10 or newer. Clone the repo, install with pip install -r requirements.txt, then copy .env.example to .env and set LLM_API_BASE, LLM_API_KEY and LLM_MODEL_NAME. Run python scripts/start_agent.py --quick as a self-test that needs no model. The README’s clone step still shows a placeholder address, so use the repository link above.
Limits: It needs a language model, either a local one through Ollama (about 16 GB of VRAM for 8B to 14B models) or any OpenAI-compatible API. It refuses to run without one unless you pass --no-llm, which switches to a rule-based planner meant for baselines and offline testing. The repo was created on 2 November 2026 and had no stars at our check, and the citation for its paper has not been added yet.
3. GeoAssist: a research agent for geoscience literature and data
GitHub: github.com/PCleverleyGeol/GeoAssist
What it is: A research agent for geoscience literature and data. Ask it to discuss copper porphyry in Indonesia, and it searches the web for PDF reports, reads them for new search terms, builds a knowledge graph and writes a summary with up to 600 references.
Why it matters: The knowledge graph links entities across hundreds of papers, so it can show connections that no single document does. It also pulls plate reconstructions from GPlates and data from Macrostrat and Mindat, and it runs locally or in Docker.
Good to know: Run it with OLMo2 through Ollama, and the whole stack (model and app code) is open source. With Llama or Gemma, the model is open-weight, not open source. The README also asks anyone who modifies the code and keeps it closed not to promote the result as open source.
Get started: Install with pip install gradio huggingface_hub duckduckgo_search pillow pdfminer.six PyPDF2. Add a free Hugging Face token, or point it at a local model with Ollama, and set the download folder, which defaults to the author’s own.
Limits: It can’t read scanned PDFs yet, because it does not run OCR, so scans add nothing to the knowledge graph. The Mindat option needs an API key from a Mindat account, and a full run can take over an hour. The author describes it as a demonstration of what is possible, so treat it as a proof of concept.
4. Geocluster MCP: 45 geology tools for any MCP client
GitHub: github.com/EigenformAI/geocluster-mcp
What it is: A server for the Model Context Protocol (MCP), an open standard for connecting AI agents to tools. It offers 45 tools for exploration data, from inspection and clustering to geology-aware cleaning, and reads CSV, Excel, LAS and GeoTIFF files.
Why it matters: The tool parse_detection_limits turns strings such as <0.01 into numbers, and verify_claims checks reported numbers against the source data. Inputs are never modified, because every result goes to a results/ folder. It calls no external services, so only what the agent reads back reaches its model.
A tool server like this is one layer of the agentic infrastructure an agent needs to act.
Get started: Clone the repo and run uv sync, then start the server with MCP_WORKSPACE_ROOT=/path/to/your/project uv run python main.py. Any path that resolves outside that workspace is rejected.
Limits: It needs Python 3.12, and its cleaning tools assume drillhole and assay conventions. It serves over SSE by default; Streamable HTTP and stdio are also supported through the startup commands in its README.
5. PEACE: an AI agent that reads geologic maps
GitHub: github.com/microsoft/PEACE
What it is: The code and benchmark data behind GeoMap-Agent, a research agent that answers questions about geologic maps. One module extracts features from high-resolution maps, one adds geologic knowledge, and one tunes prompts for spatial questions, while a group of AI experts works through a pool of tools.
Why it matters: It adds geologic layers on top of an existing multimodal model instead of retraining it, so the model underneath can be swapped. Stratigraphic Amenity, covered below, builds on the same workflow.
Key figure: The GeoMap-Bench test holds 124 maps and 3,864 questions across 25 tasks. In the paper’s tests, GeoMap-Agent scored 0.811 on it against 0.369 for GPT-4o (arXiv:2501.06184), more than double.
Get started: Use a Python 3.11 environment. Clone the repo, then clone the GeoMap-Bench dataset from Hugging Face with Git LFS into a data folder. Download the layout detection models (a zip file from a Google Drive link in the README) and unzip them into the dependencies. Install the pinned requirements, then enter your LLM API endpoint and key in utils/api.py. Run python eval.py --copilot_mode HIE, DKI, PEQA --dataset_source usgs to evaluate.
Limits: It is a research codebase tied to a CVPR 2025 paper, not a packaged product, and it needs a multimodal model that you supply through an API. The README warns that hallucinations can occur, and that its layout detectors load full PyTorch checkpoints, so only use model files from trusted sources. The code is MIT-licensed, but the Ultralytics library it uses is AGPL-3.0. The benchmark maps are English USGS maps and Chinese-language maps, and most of its questions come from the Chinese ones, so test it on maps from your own region.
6. Stratigraphic Amenity: geologic-map tools for AI agents
GitHub: github.com/EigenformAI/stratigraphic-amenity
What it is: A Python SDK and local MCP server for geologic-map operations. Its 10 tools register a map image, fit pixel-to-world coordinates from ground control points (GCPs), look up earthquakes, active faults, rock types and ages, and mineral occurrences for the area, and draw the results onto the map.
Why it matters: A vision model can’t reliably do some map jobs on its own, like turning GCPs into real-world coordinates. This server does those steps, and the agent does the reading. A worked example of georeferencing maps shows ground control points placing a real set of hand-drawn geology sheets.
It builds on the workflow of Microsoft’s PEACE project but is independent and not affiliated with Microsoft.
Key figure: Use at least 4 ground control points. With two or three, the fit is exact, so the error figure tells you nothing. With four or more, you get a hold-out error that shows how well the map sits on the ground. Every result also comes with warnings, record counts and provenance, so an empty result is never mistaken for “nothing there.”
Get started: You need Git and uv, and the project supports Python 3.11 only (uv installs it if missing). The light profile (georeferencing and area lookups) installs with uv sync --group dev --extra mcp --extra geo. The full profile adds --extra assets --extra detectors for map region detection, needs about 1.5 GB of disk, and downloads about 200 MiB of detector weights once you approve it. Register the server with your MCP host using uv --directory /path/to/stratigraphic-amenity run --no-sync stratigraphic-amenity-mcp, and set GEOMAP_MCP_ALLOWED_ROOTS to the folder that holds your maps.
Limits: It is not an OCR or vision model, so the agent reads labels and GCPs itself. It is version 0.1.0, tested on Linux, and works with Python 3.11 only. The detector runtime that the full profile downloads (Ultralytics) is licensed under AGPL-3.0, and live mineral-occurrence lookups send the query area to third-party services. Turning map linework into vector data is a separate job, covered under map vectorisation.
Which geology GitHub repo should you start with?
Among the top GitHub repos for geoscience work, the right starting point depends on the question you are asking. Match your task to the table below, then check that entry’s licence and limits before you install anything.
| Question | Start with | Why |
|---|---|---|
| How do I get an agent to analyse mineral deposit data? | GeoChemReasoner | Evidence-cited reports from over 100 tools |
| How do I point an agent at assay and report files? | Geocluster Research Harness | A terminal agent with specialist agents and bundled tools |
| How do I research geoscience literature? | GeoAssist | Web search, a knowledge graph and referenced summaries |
| How do I give my own agent geology tools? | Geocluster MCP | 45 tools over MCP |
| How do I ask questions about a geologic map? | PEACE | A research agent built for geologic maps |
| How do I work with map images in an agent? | Stratigraphic Amenity | Registration, georeferencing and overlays |
What these repos do not do
These repos handle repetitive work like cleaning assay tables, searching the literature and georeferencing map sheets. They don’t decide what the results mean. Here is where they stop:
- No interpretation on their own: None of the six produces a geological interpretation by itself, and a geologist should review every output.
- No model included: Each one needs a model or an agent that you supply.
- No retraining: None retrains a model as shipped, and training your own model is a separate project.
- No ranking: This is a selection, not a ranking, and the six have not been benchmarked against each other. To choose the model behind them, Eigenform’s Groundtruth benchmark grades models on questions about real geological reports.
Final Thoughts
The best geology GitHub repos are the ones that match a specific job and are still being maintained. The six here put an AI agent in front of geoscience work: GeoChemReasoner for mineral deposits, Geocluster Research Harness and Geocluster MCP for exploration data, GeoAssist for literature, and PEACE and Stratigraphic Amenity for maps.
Most need some Python or Docker skills, and LLM-powered autonomous agents add review work rather than removing it. A model can quote a grade that is not in the file, so check every result.
Treat any list of the best GitHub repositories, this one included, as a starting point. Pick one repo, check its licence and last commit date, and run its own example on data you already know. That way you learn what the tool can and cannot do before it touches real project data.
FAQs
What are the best geology GitHub repos?
It depends on the job you need done. If you want an AI agent to work with geology data, Eigenform has three open-source repos. Geocluster Research Harness is an agent that works through your project files. Geocluster MCP gives any MCP client 45 geology tools. Stratigraphic Amenity handles geologic maps with 10 tools.
What AI agents can analyse and interpret geological data?
Among these repos, Geocluster Research Harness analyses tabular and report data through specialist agents, Geocluster MCP supplies the 45 tools such agents can call, and Stratigraphic Amenity handles geologic-map images. All three need a model provider you choose, and a geologist should review their output before it is used.
Which AI agents can learn and improve from geological data?
None of the repos in this guide retrains a model as shipped. Geocluster Research Harness works with geological data, from cleaning assay tables to ranking anomalies, and its tools save every result with metadata, giving each run a traceable record. That record is one building block of self-improving AI agents, not a learning loop on its own.
What is the best open-source AI software for geological data analysis?
The best open-source AI software for geological data analysis depends on the data. Geocluster Research Harness, an AI agent with 45 built-in tools, handles assay, drillhole and report data. Stratigraphic Amenity and PEACE work with geologic maps, GeoChemReasoner suits mineral deposit analysis, and GeoAssist searches geoscience literature.
What are the best AI benchmarking tools for geological models?
Groundtruth, Eigenform’s open-source benchmark, tests AI models and agent harnesses on geological reasoning. Its questions come from real exploration reports through dynamic benchmarking, and an independent judge grades each answer from 0 to 10. The code is MIT-licensed, and a public leaderboard shows the results.
Which geology GitHub repos can I use commercially?
Eigenform’s Geocluster Research Harness, Geocluster MCP and Stratigraphic Amenity can all be used commercially. The first two are Apache-2.0, and the third is MIT, both permissive licences. Stratigraphic Amenity’s optional detector runtime (AGPL-3.0) and data assets keep their own terms.
What are the best AI agents for geologists in the USA?
US geologists can run Geocluster Research Harness, an AI agent from Eigenform, on their own machines in Docker, from a terminal. It cleans assay tables, clusters geochemical data and ranks anomalies. Project files stay in your Docker workspace, but prompts, file content and tool results go to the model provider you connect.
Which AI tools use USGS geological data?
Two open-source tools from Eigenform use USGS data. Groundtruth, its geology benchmark, includes a 50-question site built from USGS ore studies, and Stratigraphic Amenity lists USGS records, which are public domain, among its data assets.
What are the best AI agents for geology in 2026?
In 2026, the best AI agents for geology pair an agent with a tool server that does the calculations. Geocluster Research Harness, from Eigenform, runs 45 geology tools through a bundled MCP server, and Stratigraphic Amenity gives any MCP client 10 tools for geologic maps.
How do I choose a geology GitHub repo that will still be maintained in 2027?
Look for a recent commit history, a clear licence file and a README that explains setup. Eigenform’s Geocluster Research Harness, Geocluster MCP and Stratigraphic Amenity all have a licence file, setup steps in their READMEs and commits made in 2026.


