How to Use dbSNP SNP details in Claude Code
Returns a full RefSNP record with sequence placements, gene and protein annotations, study frequencies, ClinVar assertions, and publication references where available. Use it to investigate an rsID beyond its population frequency.
Prompts to try with dbSNP SNP details in Claude Code
Copy an example into Claude Code, or ask in your own words.
Use dbSNP SNP details for rs334 and rs6025, then add their returned alleles, gene annotations, and sequence placements to this project's research fixtures.
Use dbSNP SNP details for rs429358 and rs7412 to check whether our parser preserves separate transcript and protein annotations.
Use dbSNP SNP details for rs1801133 and compare its study frequency annotations with the rows produced by our annotation script.
Use dbSNP SNP details to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from dbSNP SNP details and tell me what changed since last week.
How to set up dbSNP SNP details in Claude Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
This adds Spiral to the current project. Add --scope user to use it in every project.
claude mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.
Use the Spiral skill
- Send Claude Code 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 dbSNP SNP details
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": "snp-ncbi-nlm-nih-gov/variants/get", "input": { "rsid": "<rsid>" } }'
Then paste one of the prompts above: Claude Code finds dbSNP SNP details on Spiral, shows the price and runs it.
dbSNP SNP details providers and prices
Spiral runs dbSNP SNP details through Alexandria. Open a card for today's price, with every fee included.
What can you do with dbSNP SNP details in Claude Code?
Build research tables that join public rsIDs to dbSNP alleles and frequency evidence. A coding agent can add those lookups to an annotation script and check its output against NCBI records.
Add frequency context to a research shortlist
Look up public rsIDs from a paper and add the available study or population frequencies to a comparison table.
Screen a public SNP panel by frequency
Apply a research frequency threshold to a supplied list of rsIDs, keeping each allele tied to its reported study or population.
Prepare a genetics teaching exercise
Use public rsIDs such as rs334 and rs4988235 to build exercises comparing alleles and their reported frequencies.
Check a frequency annotation pipeline
Compare a pipeline's frequency output with NCBI records for a fixed set of public rsIDs, checking allele identity and study or population labels.
Review changes between retrieved records
Refresh a public research panel periodically and report changes in its returned allele frequencies or counts.
Prepare a manuscript frequency table
Create an allele frequency table for specified rsIDs, separating results by study or population so readers can compare the evidence.
Investigate sequence consequences
Inspect an rsID's genomic, transcript, and protein placements alongside available ClinVar assertions and publication references.
More on dbSNP SNP details and Claude Code
Overview
dbSNP SNP details in other agents
Questions about dbSNP SNP details in Claude Code
Can Claude Code use dbSNP SNP details?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run dbSNP SNP details like any built-in tool.
How much does dbSNP SNP details cost in Claude Code?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.
Do I need an Alexandria account to use dbSNP SNP details in Claude Code?
No. Spiral runs dbSNP SNP details on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up dbSNP SNP details in Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while dbSNP SNP details runs?
dbSNP SNP details runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.
Does dbSNP cover species other than humans?
The current dbSNP resource covers human genetic changes, including single nucleotide changes, microsatellites, and small insertions and deletions. Its scope extends beyond single nucleotide SNPs.
How many populations does ALFA cover?
ALFA assigns sample ancestries to 12 population categories, including European, Hispanic, African, and Asian categories. These are study ancestry categories rather than country-by-country coverage.
How often does dbSNP publish updated records?
NCBI describes new and updated RefSNP records as becoming public with dbSNP builds about once per quarter. That is a publication cadence, not a promise that each rsID changes every quarter.
Does ALFA include every submitted genetic site?
ALFA excludes sites and subjects with call rates below 95%. Its frequency data therefore reflects quality-filtered input rather than every submitted observation.
Can I retrieve an individual's genotype from ALFA?
ALFA provides pooled population frequency data. Individual-level genotypes and associated data require authorized access through dbGaP.
Start using dbSNP SNP details in Claude Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Claude Code:
set up https://spiral.ai/SKILL.md


