Skip to main content

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.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for matchminer-ai 0.9.1
File Size Uploaded Provenance Actions
matchminer_ai-0.9.1.tar.gz 89.9 kB With provenance Details for matchminer_ai-0.9.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for matchminer-ai 0.9.1
File Interpreter ABI Platform Actions
matchminer_ai-0.9.1-py3-none-any.whl Python 3 none any Details for matchminer_ai-0.9.1-py3-none-any.whl

Total release size: 168.4 kB

Release files / matchminer_ai-0.9.1.tar.gz

Download URL matchminer_ai-0.9.1.tar.gz
Size 89.9 kB
Tags Source
SHA-256 checksum
How to use checksums
bf32425ac1431302cea3c2ba972ec9460c163b63903e82c86ad75b647902a6b9
BLAKE2b-256 checksum
How to use checksums
392f218c3ba34ff9d26e4890f51f0a52a72326490e8521f92e1352104bf6be25
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 20, 2026.

Transparency log

Release files / matchminer_ai-0.9.1-py3-none-any.whl

Download URL matchminer_ai-0.9.1-py3-none-any.whl
Size 78.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
66570a43ed8b20670b4a9f357f83f9a2db99c67e6b0abf2d117cd3769aa69777
BLAKE2b-256 checksum
How to use checksums
1eb3ebe23527bc253755a84ec52a7cc8dbca05fb847c0a21e6227572dc32e4bb
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 20, 2026.

Transparency log

Security for matchminer-ai 0.9.1

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.

Select from 2 files

Attestation for matchminer_ai-0.9.1.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 20, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page