Open-source powder diffraction

From diffraction pattern to refined structure.

XinProf builds open tools for phase identification, whole-pattern fitting, reference databases and AI-agent integrations — grounded in published algorithms and open crystallographic data.

Powder X-ray diffraction pattern with two sets of reference peak positions
Observed pattern and reference peak positions for two candidate phases.
10
Public repositories
2
Desktop applications
4
MCP integrations
8
Spectrum formats supported
Projects

A complete, open toolchain

Ten public repositories covering the full path from raw diffraction data to a refined crystal structure — plus the reference libraries and agent integrations that connect it all.

Core applications

XinMatch logo

XinMatch

Open-source powder XRD phase-analysis platform: search-match, sequential multi-phase identification and Rietveld quantification, with a PySide6 GUI, CLI and Python library API.

PythonPySide6Search–match.xinDB v3
XinRefinement logo

XinRefinement

Desktop application for whole-pattern fitting — Rietveld structural refinement, Le Bail and profile refinement, with a Qt6 GUI, CLI and Python library API.

PythonQt6RietveldLe Bail

Reference data

DB

XinMatch-DataBase

Build scripts, format specification and release artifacts for .xinDB v3 reference phase libraries — COD / PCOD / TCOD and Materials Project.

.xinDB v3CODMaterials Project
SC

sync-COD

Shared COD / PCOD / TCOD source-data root for the two database builds, with acceptance and sync tooling. The CIF data itself is not included.

CIFData pipelineValidation

Utilities

CV

PolyXRD-Converter

Converts between powder diffraction spectrum formats: xy, txt, dat, csv, mdi, raw, xrdml and json.

8 formatsFile I/O
SP

PolyXRD-SynthPattern

Synthetic XRD pattern generator that simulates diffraction patterns to support phase identification and algorithm validation.

SimulationValidation

MCP integrations

G2

GSAS2-MCP

MCP server for GSAS-II — Rietveld refinement, crystallographic analysis and protocol integration.

MCPGSAS-II
Python View
FP

FullProf-App-MCP

MCP server for FullProf — Rietveld refinement and powder diffraction analysis.

MCPFullProf
Python View
PX

Profex-MCP

MCP server for Profex/BGMN — XRD analysis, search-match, COD database and Rietveld refinement.

MCPBGMN
C++ View
MA

MAUD-MCP

MCP server for MAUD — combined diffraction analysis, texture, stress and structure analysis.

MCPMAUD
Java View
Workflow

How the pieces fit together

Open CIF sources are indexed into reproducible reference libraries, consumed by the applications, and connected to established refinement engines through the MCP layer.

Data flow from open CIF sources through database builds to phase identification and whole-pattern refinement, with an MCP integration layer
From open CIF sources to phase identification and whole-pattern refinement.
Open data inCOD, PCOD and TCOD CIF archives feed a shared, validated data root and reproducible database builds.
One library format.xinDB v3 is the single columnar reference format used across the applications.
Agent-readyFour MCP servers expose established refinement engines to AI agents and automated workflows.
About

Built in the open, on open data

XinProf develops powder X-ray diffraction software using a clean-room approach: behaviour is derived from official documentation, published algorithms and black-box file-format observation for interoperability.

Reference libraries are built from the Crystallography Open Database (CC0) and other open sources. Proprietary reference databases are never redistributed. All ten repositories are public and distributed under a dual Academic + Commercial license.

For commercial licensing or collaboration, get in touch by email.

Python 3.10PySide6 / Qt6NumPy / SciPyspglib .xinDB v3COD CIFMCPpytest
Crystal lattice diagram