Blazectl can evaluate CQL queries, if you like to use it, please look into this section.
If you like to use the command line, please look into this section.
If you'd like to use the CQL Evaluation API directly, please read the CQL API Documentation.
You can learn more about CQL queries in the Author's Guide at HL7.