Skip to content

Mercury

A CQL evaluation engine for FHIR quality measures, built in Rust. It speaks the same FHIR CQF API as the reference stack, so it drops into the pipeline you already run — only far faster. Community runs free self-hosted Core under closed-source terms; AWS Marketplace will offer paid Core by container and AMI.

Fast

Rebuilt in Rust on Actix. In early side-by-side benchmarks, one to two orders of magnitude faster than CQF Ruler, workload depending. preliminary

Drop-in

The same FHIR CQF API and CLI contract as the reference stack. Point your existing tools at a new URL — no rewrites.

Simple to operate

One binary, one container, one AMI path, no JVM. Fewer services to deploy, monitor, and keep alive. Durable local persistence.

The Community Edition runs Mercury Core for free in your own infrastructure under closed-source terms. Interoperability, observability, and other add-on packs are future add-ons and are not included.

  • The full Mercury CQL evaluation engine.
  • FHIR CQF REST API: /metadata, Library and Measure CRUD, and $evaluate — plus $data-requirements and $package stubs for harness compatibility.
  • A broader REST surface under /api and /fhir: /health and /ready checks, /execute, /translate, /query, library and value-set management, and an /openapi spec.
  • Direct CQL compilation, with ELM XML accepted as an alternative input.
  • Durable local persistence — loaded libraries, measures, and ingested data survive restarts.
  • CLI tools: serve, run, edition, and lang-tests for conformance.
  • Structured logging (pretty or JSON) with configurable levels.
  • Single binary and Docker image; composes with existing MCT and facility FHIR servers.
  • No built-in authentication or RBAC. Run Mercury on a private network behind your own gateway, service mesh, load balancer, or API gateway.
  • No HIPAA attestation, BAA, or SOC 2 report. Mercury is software you run in your own infrastructure, under your own compliance program and controls.
  • Not a managed service. You deploy, operate, monitor, patch, and back it up.
  • Core only. Integration, observability, HA, security, and data-quality packs are future add-ons, not included in Community or the AWS Marketplace Core listing.
  • Closed source. Community Edition is free to run under closed-source terms.
  • x86_64 only today.

Mercury Core covers evaluation end to end. Optional add-on packs will layer extra capability on top of the same engine — they’re additive and independent, not tiers: Connect (integration & bulk data), Insight (observability), HA (reliability), Security (identity & governance), and Trust / Quality (data-quality scoring). They are future add-ons and are not included in the Community or Path A AWS Marketplace Core offering.

Community Edition support is self-service: this documentation site, docs repo issue forms where available, and getcql.com for access or private follow-up. Guaranteed response times and hands-on support are planned as a paid offering.

Already evaluating? Send evaluation feedback — it goes straight to the Mercury team and shapes what ships next.