xTB Used by MFsig

The GFN-xTB family of very fast methods for geometries, energies and spectra; a standard for pre-screening.

Tool 022 of 100 in the MolForge directory of open-source tools. Every fact below was read from the repository's host on 2026-11-28.

xTB, open-source tool for fast methods: semi-empirical and tight-binding: The GFN-xTB family of very fast methods for geometries, energies and spectra; a standard for pre-screening.

What xTB is

xtb is the programme of the Grimme group for the GFN-xTB family of tight-binding methods: GFN1-xTB and GFN2-xTB, which are semi-empirical approximations to DFT with self-consistent atomic charges and parameters fitted across the periodic table, and GFN-FF, a force field whose parameters are generated automatically from the molecular structure. Tight binding keeps a quantum-mechanical description of electrons but computes Hamiltonian elements from precomputed functions instead of integrals, giving geometries, energies, frequencies and properties of large molecules in seconds to minutes.

The command line is the interface: a structure file, a method flag and a task flag such as optimisation or Hessian. Structures are read from XYZ, Turbomole coord, SDF/MOL, PDB or POSCAR files, and outputs include optimised geometries, charges, Wiberg bond orders, Hessians, a Gaussian-style frequency file and JSON summaries. Metadynamics, constrained scans, molecular dynamics and implicit solvation (GBSA, ALPB) are built in. xtb drives CREST, is called as an external method by ORCA, and is available through ASE and Python.

It is a screening and pre-optimisation tool; final energies are normally refined with DFT, and open-shell transition-metal cases need care.

Features

What it is for

Verified facts

FamilyFast methods: semi-empirical and tight-binding
Language or basisFortran
Repositoryhttps://github.com/grimme-lab/xtb (GitHub)
LicenceLGPL-3.0 (SPDX identifier as declared in the repository)
Main language on GitHubFortran
Last commit2026-11-25
Latest releasev6.8.0 (2026-11-05)
Stars890 on 2026-11-28
Open issues and pull requests101 on 2026-11-28
Repository created2019-09-30
Verified2026-11-28 by MolForge's checking script, against the host's API

Where xTB fits

For screening many structures or treating very large systems at a fraction of the DFT cost.

xTB appears in this chain of the directory: Machine-learning assisted molecular discovery.

It is the first place to look when you want screening many structures very fast.

How MFsig uses xTB

MFsig uses xTB as the pre-screen before DFT: conformers and a first geometry at a fraction of the cost, so the expensive step runs once per molecule.

Test status

Exercised by the MFsig engine tests; no dedicated test of the xTB step on its own yet.

Questions people ask

How accurate is xTB compared to DFT?
GFN-xTB methods are parametrised against DFT and wavefunction references for geometries, frequencies and non-covalent interactions, and they are typically used where DFT would be too slow, not instead of it. Relative conformer energies and reaction energies should be refined with a higher-level method. The developers document the known weak spots, such as some transition-metal and open-shell cases.
What is the difference between GFN2-xTB and GFN-FF?
GFN2-xTB is a tight-binding method: it solves for the electronic structure self-consistently, so it describes bond formation, charge transfer and polarisation. GFN-FF is a classical force field whose parameters are generated from the input topology, with no electronic structure; it is much cheaper and handles very large systems, but cannot describe reactions or electronic properties.
Can xTB run periodic calculations?
Partially. Periodic boundary conditions at the Gamma point are supported for GFN0-xTB, GFN1-xTB and GFN-FF, but not for GFN2-xTB. Molecular systems remain the primary target, and there is no k-point sampling, so solid-state work is better served by a dedicated tight-binding code such as DFTB+.
Does xTB run on GPUs?
No. xtb is a CPU programme parallelised with OpenMP threads. Its cost per structure is small enough that GPU acceleration has not been a priority; throughput on many structures comes from running independent jobs in parallel. The separate tblite library reimplements the Hamiltonians for embedding in other codes and is also CPU-based.
Is xTB open source?
Yes. The repository declares the LGPL-3.0 licence (SPDX identifier read from the host on 2026-11-28). Read the licence text in the repository before redistributing or embedding it.
Where is the xTB source code?
At https://github.com/grimme-lab/xtb (GitHub). This is the address the host reported on the day of verification; renamed repositories are followed to their new home.
Is xTB still maintained?
The last commit was pushed on 2026-11-25 and the latest tagged release is v6.8.0 from 2026-11-05; the repository had 101 open issues and pull requests on 2026-11-28.
Does MolForge use xTB?
MFsig uses xTB as the pre-screen before DFT: conformers and a first geometry at a fraction of the cost, so the expensive step runs once per molecule.

Guides that explain the methods

Other tools in fast methods: semi-empirical and tight-binding