[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [HGNC gene details](https://spiral.ai/integrations/muse-code/hgnc-gene-details)

# How to Use HGNC gene details in Muse Code

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.

|  |  |
| --- | --- |
| Model | HGNC gene details |
| Available through | Alexandria |
| Category | Health |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with HGNC gene details in Muse Code

- 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.
- 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 Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code 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.

```bash
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.

```bash
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: Muse Code finds HGNC gene details on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## HGNC gene details tools and prices

- [HGNC (HUGO Gene Nomenclature Committee) · Get](https://spiral.ai/tools/alexandria/genenames-org/genes/get) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | A genenames.org symbol report URL, e.g. `https://www.genenames.org/data/gene-symbol-report/#!/hgnc_id/HGNC:11998`. Exactly one of `gene` and `url`. |
| gene |  | — | A human gene symbol, alias or previous symbol (`TP53`, `p53`, `HER2`, `SEPT7`; case-insensitive), an HGNC ID (`HGNC:11998`), NCBI Gene ID (`7157`), Ensembl gene ID (`ENSG00000141510`), UniProt accession (`P04637`), RefSeq transcript (`NM_000546.6`), or the MGI or RGD ID of a mouse or rat ortholog. |

## What can you do with HGNC gene details in Muse Code?

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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## HGNC gene details in other agents

- [Amp](https://spiral.ai/integrations/amp/hgnc-gene-details)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/hgnc-gene-details)
- [Claude](https://spiral.ai/integrations/claude-desktop/hgnc-gene-details)
- [Claude Code](https://spiral.ai/integrations/claude-code/hgnc-gene-details)
- [Cline](https://spiral.ai/integrations/cline/hgnc-gene-details)
- [Codex](https://spiral.ai/integrations/codex/hgnc-gene-details)
- [Cursor](https://spiral.ai/integrations/cursor/hgnc-gene-details)
- [Devin](https://spiral.ai/integrations/devin/hgnc-gene-details)
- [dots](https://spiral.ai/integrations/dots/hgnc-gene-details)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/hgnc-gene-details)
- [Gemini](https://spiral.ai/integrations/gemini/hgnc-gene-details)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/hgnc-gene-details)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/hgnc-gene-details)
- [goose](https://spiral.ai/integrations/goose/hgnc-gene-details)
- [Grok](https://spiral.ai/integrations/grok/hgnc-gene-details)
- [Grok Build](https://spiral.ai/integrations/grok-build/hgnc-gene-details)
- [Hermes](https://spiral.ai/integrations/hermes/hgnc-gene-details)
- [Instinct](https://spiral.ai/integrations/instinct/hgnc-gene-details)
- [Manus](https://spiral.ai/integrations/manus/hgnc-gene-details)
- [Muse](https://spiral.ai/integrations/muse/hgnc-gene-details)
- [n8n](https://spiral.ai/integrations/n8n/hgnc-gene-details)
- [Notion](https://spiral.ai/integrations/notion/hgnc-gene-details)
- [OpenClaw](https://spiral.ai/integrations/openclaw/hgnc-gene-details)
- [opencode](https://spiral.ai/integrations/opencode/hgnc-gene-details)
- [Perplexity](https://spiral.ai/integrations/perplexity/hgnc-gene-details)
- [Raycast](https://spiral.ai/integrations/raycast/hgnc-gene-details)
- [VS Code](https://spiral.ai/integrations/vscode/hgnc-gene-details)
- [Windsurf](https://spiral.ai/integrations/windsurf/hgnc-gene-details)
- [Zapier](https://spiral.ai/integrations/zapier/hgnc-gene-details)

## More Muse Code guides

- [GTEx gene expression by tissue](https://spiral.ai/integrations/muse-code/gtex-gene-expression-by-tissue)
- [HGNC gene list normalization](https://spiral.ai/integrations/muse-code/hgnc-gene-list-normalization)
- [GTEx gene and SNP eQTLs](https://spiral.ai/integrations/muse-code/gtex-gene-and-snp-eqtls)
- [HGNC gene search](https://spiral.ai/integrations/muse-code/hgnc-gene-search)
- [G-BA benefit assessment search](https://spiral.ai/integrations/muse-code/g-ba-benefit-assessment-search)
- [Health Canada drug product details](https://spiral.ai/integrations/muse-code/health-canada-drug-product-details)

## Questions about HGNC gene details in Muse Code

**Can Muse Code use HGNC gene details?**

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

**How much does HGNC gene details cost in Muse 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 Muse Code plan is separate.

**Do I need an Alexandria account to use HGNC gene details in Muse Code?**

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 Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while HGNC gene details runs?**

HGNC gene details runs in the background. Muse Code 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.

