Final release. ClinVar, MyVariant.info and ClinPGx lookups, now covered by BioMCP (BioMCPAgent), which replaces this extension. It keeps working until you switch, and gets no further updates.
Current version: 0.2.0
Sunset. ClinicalVariantAgent is now part of BioMCP (BAAM id biomcpagent). This extension gets no further updates. Why: Variant, gene and clinical evidence lookups now live in BioMCP, which covers ClinVar, MyVariant, MyGene, ClinicalTrials.gov and more. Use instead: Install BioMCP (BioMCPAgent) from BAAM. For raw NCBI or Ensembl identifier lookups, Public Bio Databases also works.
This is a Biorouter extension (a .brxt bundle) built on the BRXT adapter kit
1.0.0. Install it from BAAM in Biorouter, or from a file:
biorouter extension install dist/clinicalvariantagent.brxtclinicalvariant_status: shows which targets are configured, their routes and which settings are present. It never shows a value and makes no network call.clinicalvariant_get: reads from a target. It sendsGET, orPOSTon routes declared as reads, and is marked read only, so Biorouter's Smart approval runs it without asking.
| Target | Base URL | Credential | Reads | Writes |
|---|---|---|---|---|
clinvar_eutils |
https://eutils.ncbi.nlm.nih.gov/entrez/eutils |
none | GET /*.fcgi |
none |
myvariant |
https://myvariant.info/v1 |
none | GET /** |
none |
clinpgx |
https://api.clinpgx.org/v1 |
none | GET /** |
none |
| Variable | Required | Secret | Purpose |
|---|---|---|---|
CLINICAL_VARIANT_CONTACT_EMAIL |
no | no | Contact email sent to NCBI, which asks callers to identify themselves |
CLINICAL_VARIANT_LOG_LEVEL |
no | no | Logging level |
- Each credential is attached only to requests for its own target's host. A full URL
that names another host, a path starting with
//, plainhttpand a redirect to another host are all refused, so a prompt that names a URL cannot move a key off the service it belongs to. - Reads use
GET, orPOSTon the routes declared as reads. Writes go through a separate tool that Biorouter asks you to approve every time, and only to declared routes. - The extension never runs a local command. Use Biorouter's Developer shell for that.
- Credential values never appear in tool results, error messages or logs.
uv sync
uv run python -m unittest discover -s tests -v # contract tests and leak suite
uv run python scripts/build_brxt.py # writes dist/clinicalvariantagent.brxt and SHA256SUMS
uv run python scripts/version.py X.Y.Z # moves every version string togetherPush a tag vX.Y.Z equal to the manifest version to publish a release. The release
workflow refuses any other tag. Do not edit src/clinicalvariantagent/_kit/ or tests/kit_testing/:
they are vendored from the kit in the Biorouter repository
(scripts/brxt-adapter-kit/, documented in docs/extensions/brxt-adapter-kit.md).
Apache-2.0. See LICENSE and NOTICE.