matchminer-ai
Overview
matchminer-ai is a Python package for running the clinical trial matching inference workflow described in Altreuter et al., MatchMiner-AI: An Open-Source Solution for Cancer Clinical Trial Matching. The package provides modular functions for the core MatchMiner-AI workflow: summarizing trials and patient histories, generating embeddings of each, retrieving candidate matches, scoring match quality, and assessing exclusion criteria.
For detailed instructions, please see the documentation website.
Compute requirements
A GPU is recommended for the clinical trial matching inference workflow. Please see the requirements documentation for more information on compute expectations and GPU recommendations.
Installation
This package requires Python 3.12+.
The package has been tested in Linux environments.
We recommend using uv to create the Python
environment and install the package:
uv venv --python 3.12
source .venv/bin/activate
uv pip install matchminer-ai
Models
MatchMiner-AI is open source and uses open-weight models. The default configuration combines a large language model for summarization with models we train and release on Hugging Face. Our trained models are released in collections paired with compatible package releases. The current configuration uses collection 0526, supported since package version 0.2.0. See Model Collections for more information.
Quickstart
See the example notebook for a full walkthrough using sample input data: example notebook
Citation
If you use matchminer-ai, please cite:
Altreuter J, Trukhanov P, Paul MA, Hassett MJ, Riaz IB, Afzal MU, Mohammed AA, Sammons S, Lindsay J, Mallaber E, Klein HR, Gungor G, Galvin M, Deletto M, Van Nostrand SC, Provencher J, Yu J, Tahir N, Wischhusen J, Kozyreva O, Ortiz T, Tuncer H, Masri JE, Malcolm A, Mazor T, Cerami E, Kehl KL. MatchMiner-AI: An Open-Source Solution for Cancer Clinical Trial Matching. arXiv. 2026. doi: 10.48550/arXiv.2412.17228
Contributing
Contributions are welcome! Please follow our contribution instructions if you are interested in contributing to this project.
Metadata
Release files for matchminer-ai 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| matchminer_ai-0.9.0.tar.gz | 89.8 kB | With provenance | Details for matchminer_ai-0.9.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| matchminer_ai-0.9.0-py3-none-any.whl | Python 3 | none | any | Details for matchminer_ai-0.9.0-py3-none-any.whl |
Total release size: 168.4 kB
Release files / matchminer_ai-0.9.0.tar.gz
| Download URL | matchminer_ai-0.9.0.tar.gz |
|---|---|
| Size | 89.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7c258c7fe238d68e868a42b55602a494aa82615d1a31d4a625892debe4418fc9
|
|
BLAKE2b-256 checksum How to use checksums |
c534aef49843518e5cb747c2780b544845e74f662cfc21901608d6abf6908559
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logRelease files / matchminer_ai-0.9.0-py3-none-any.whl
| Download URL | matchminer_ai-0.9.0-py3-none-any.whl |
|---|---|
| Size | 78.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f9a8a55004dbeaafa859678ed27e36e84a0f9e7cbfee275edaf80817678b5be
|
|
BLAKE2b-256 checksum How to use checksums |
34475130882cd9ed64726e37cede344906bfffaf5fb160482b245eb46421a5e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logSecurity for matchminer-ai 0.9.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for matchminer_ai-0.9.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.