How to Use ClinVar genetic change search in opencode
Find ClinVar records by gene, condition, or clinical classification and compare their aggregate review status. Use it to build a research shortlist before examining individual submissions.
Prompts to try with ClinVar genetic change search in opencode
Copy an example into opencode, or ask in your own words.
Use ClinVar genetic change search to find BRCA1 records with conflicting classifications. Write a research review table in the project with record identifiers, classifications, and review status.
Use ClinVar genetic change search to find CFTR records reviewed by an expert panel. Create a reference table for the project's genetics examples.
Use ClinVar genetic change search to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from ClinVar genetic change search and tell me what changed since last week.
Check ClinVar genetic change search and summarize what you find in three bullet points.
How to set up ClinVar genetic change search in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run ClinVar genetic change search
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "clinvar-ncbi-nlm-nih-gov/variants/search", "input": { "gene": "<gene>" } }'
Then paste one of the prompts above: opencode finds ClinVar genetic change search on Spiral, shows the price and runs it.
ClinVar genetic change search providers and prices
Spiral runs ClinVar genetic change search through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Limit | 1 to 50 | 10 | Results per page. |
| Offset | 0 to 50000 | 0 | Zero-based index of the first result; pass |
| Min stars | 0 to 4 | Only variants whose aggregate review status earns at least this many stars (2 = multiple submitters without conflicts or better). | |
| Variant type | single nucleotide variant, Deletion, Duplication, Insertion, Indel, Microsatellite, Inversion, Tandem duplication and 10 more | ClinVar variant type. | |
| Classification | pathogenic, likely_pathogenic, pathogenic_or_likely_pathogenic, uncertain_significance, likely_benign, benign, benign_or_likely_benign, or conflicting | Aggregate germline classification. | |
| Molecular consequence | missense variant, nonsense, frameshift variant, synonymous variant, splice donor variant, splice acceptor variant, intron variant, 5 prime UTR variant and 10 more | Molecular consequence on any transcript. |
Every API field of ClinVar · Search is on its tool page: open its card above.
What can you do with ClinVar genetic change search in opencode?
Add ClinVar classifications and supporting submissions to a research annotation table in your project. Use the evidence to check public examples, compare interpretations, and identify records that need closer review.
Prepare a BRCA1 evidence review
Find BRCA1 records with conflicting classifications, then examine the submitter interpretations and supporting evidence for selected records. Produce a research review queue with the disagreements spelled out.
Build a CFTR reference set
Find CFTR records reviewed by an expert panel, then inspect their classifications and submissions. Assemble examples for a genetics training session with links to the supporting records.
Monitor an LDLR research shortlist
Repeat the same LDLR search each week and compare the returned classifications with the previous run. Inspect the submissions behind changed records before adding them to a research digest.
Organize condition-specific evidence
Find records reported for hypertrophic cardiomyopathy, then inspect selected genetic changes and their reported conditions. Keep the overall classification separate from evidence tied to a particular condition.
Create an HBB evidence reading list
Find HBB records of interest and inspect the citations supplied with their classifications. Turn those references into a reading list organized by genetic change and submitter interpretation.
Check public examples in genetics documentation
Find the ClinVar records used in BRCA1 and CFTR teaching examples, then inspect their classifications and supporting submissions. Flag documentation that no longer agrees with the retrieved records.
More on ClinVar genetic change search and opencode
Overview
ClinVar genetic change search in other agents
Questions about ClinVar genetic change search in opencode
Can opencode use ClinVar genetic change search?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run ClinVar genetic change search like any built-in tool.
How much does ClinVar genetic change search cost in opencode?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use ClinVar genetic change search in opencode?
No. Spiral runs ClinVar genetic change search on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up ClinVar genetic change search in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while ClinVar genetic change search runs?
ClinVar genetic change search runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
Does ClinVar contain every clinically relevant genetic change?
No. ClinVar depends on voluntary submissions, so its coverage is incomplete even within its scope of human inherited diseases, cancer, and drug responses.
How often does ClinVar update?
ClinVar updates weekly on Mondays. That schedule does not mean every classification is reevaluated weekly: individual updates remain at the submitter's discretion.
Does NIH independently verify each classification?
No. NIH explicitly says it does not independently verify submitted information, so a ClinVar classification represents submitted evidence and interpretation rather than an independent NIH finding.
Why can one genetic change have several condition records?
ClinVar separates the overall genetic change record, identified by VCV, from change-and-condition records, identified by RCV. Different reported conditions can therefore produce several RCV records for one change.
Can I download every past weekly release?
ClinVar's XML downloads update weekly, but only the release on the first Thursday of each month is archived. The historical download archive therefore does not preserve every weekly snapshot.
Start using ClinVar genetic change search in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


