Spiral gives your agent every tool with one account. Browse the tools →

Gemini CLI · Health

How to Use HGNC gene details in Gemini CLI

Fetch a human gene's approved symbol, name, aliases, chromosomal location, and linked database IDs. Use it to identify a gene from a paper or inspect one record in detail.

Prompts to try with HGNC gene details in Gemini CLI

Copy an example into Gemini CLI, or ask in your own words.

Use HGNC gene details for TP53 and add its approved name, HGNC ID, and available Ensembl and UniProt IDs to the project's gene annotation table.

HGNC gene detailsGemini CLI
Try asking
  • Use HGNC gene details for BRAF and generate a small reference table showing its approved symbol, aliases, previous symbols, and available database IDs.

  • Use HGNC gene details to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from HGNC gene details and tell me what changed since last week.

  • Check HGNC gene details and summarize what you find in three bullet points.

How to set up HGNC gene details in Gemini CLI

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Or add it to ~/.gemini/settings.json yourself:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    gemini mcp list

Use the Spiral skill

  1. Send Gemini CLI this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. 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

  1. Create an API key

    In the console, under API keys.

  2. Run HGNC gene 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": "genenames-org/genes/get",
        "input": {
          "gene": "<gene>"
        }
      }'

Then paste one of the prompts above: Gemini CLI finds HGNC gene details on Spiral, shows the price and runs it.

HGNC gene details providers and prices

Spiral runs HGNC gene details through Alexandria. Open a card for today's price, with every fee included.

AlexandriaHealth

What can you do with HGNC gene details in Gemini CLI?

Build a human gene annotation table with approved symbols and stable HGNC IDs. A coding agent can apply HGNC nomenclature to project data before joining research tables.

Reconcile gene names across papers

Find genes mentioned by descriptive names, inspect their nomenclature, and normalize extracted symbol lists before comparing studies.

Prepare gene annotations for a research portal

Find relevant human genes, standardize imported labels, and attach approved names and stable HGNC IDs to portal entries.

Review a public assay gene list

Discover genes by a shared name or symbol prefix, compare them with a published assay list, and inspect individual records before revising the list.

Build a gene reference for a literature review

Collect candidate genes by keyword, reconcile symbols copied from publications, and assemble a reference table of approved names and IDs.

Join research tables across databases

Normalize gene labels and retrieve available NCBI Gene, Ensembl, or UniProt cross-references before joining public annotation tables.

Check manuscript gene nomenclature

Compare a manuscript's gene list with current approved symbols and inspect records whose aliases or previous names need explanation.

Explore genes in a chromosomal band

Find genes assigned to a cytogenetic band and inspect their locus types and nomenclature. Account for HGNC records that lack band-level locations.

Create a gene nomenclature teaching table

Find examples by a symbol prefix and show how approved symbols, aliases, previous symbols, and stable HGNC IDs relate.

Questions about HGNC gene details in Gemini CLI

Can Gemini CLI use HGNC gene details?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run HGNC gene details like any built-in tool.

How much does HGNC gene details cost in Gemini CLI?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.

Do I need an Alexandria account to use HGNC gene details in Gemini CLI?

No. Spiral runs HGNC gene 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 HGNC gene details in Gemini CLI?

About two minutes: add the server, then sign in, then check it.

Does Gemini CLI wait while HGNC gene details runs?

HGNC gene details runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.

Does HGNC cover genes from every species?

HGNC assigns nomenclature to human genes, including protein-coding genes, noncoding RNA genes, and pseudogenes. Its human records can link to other species, but those links do not make it a complete gene catalog for those species.

Does HGNC provide exact genomic coordinates?

HGNC provides cytogenetic locations, such as chromosomal bands, rather than genomic start and stop coordinates. Some records identify only the chromosome, so band-based searches can miss genes without a recorded band.

What information does an HGNC search return?

HGNC's source REST search returns HGNC IDs, symbols, and relevance scores. Fetching a gene record provides the fuller nomenclature and database cross-references.

Can older gene names still be matched?

HGNC records previous symbols and aliases alongside approved nomenclature. Its own multi-symbol checker searches approved, previous, withdrawn, and alias symbols.

Can HGNC data be reused in research tools?

HGNC imposes no restrictions on access to or use of its data. It requests acknowledgment of HGNC and a link to its website where possible.

Get started

Start using HGNC gene details in Gemini CLI

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Gemini CLI:

Set up Gemini CLI

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options