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

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.7.0
File Size Uploaded Provenance Actions
matchminer_ai-0.7.0.tar.gz 86.2 kB With provenance Details for matchminer_ai-0.7.0.tar.gz

Built distribution (wheel)

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

Total release size: 163.0 kB

Release files / matchminer_ai-0.7.0.tar.gz

Download URL matchminer_ai-0.7.0.tar.gz
Size 86.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4729d32c3bb6a4d5b7ed02deaf2dd5bf61596c000f0989de8ce951c865ba0814
BLAKE2b-256 checksum
How to use checksums
eedd30d9da744ba442e38c955c343ac5af75bd0807c71bb18ea26790cfc9a0cf
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 4, 2026.

Transparency log

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

Download URL matchminer_ai-0.7.0-py3-none-any.whl
Size 76.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5a39d45714342fac635a8885fc9c562e43d43052c8a30eeef9f2779342d4afe8
BLAKE2b-256 checksum
How to use checksums
cc546d61d3a413240124d7de682075cc97adba839999e0a43a0a74a512ac0f6b
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 4, 2026.

Transparency log

Security for matchminer-ai 0.7.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.

Select from 2 files

Attestation for matchminer_ai-0.7.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 4, 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