How to Use HGNC gene search in Cursor
Find candidate human genes by name keywords, symbol prefixes, or chromosomal bands. Use it to build a shortlist when you can describe the genes but do not know their exact symbols.
Prompts to try with HGNC gene search in Cursor
Copy an example into Cursor, or ask in your own words.
Use HGNC gene search to find human genes with symbols beginning with ZNF and write the returned symbols and HGNC IDs to a project data file.
Use HGNC gene search to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from HGNC gene search and tell me what changed since last week.
Check HGNC gene search and summarize what you find in three bullet points.
Pull the newest data from HGNC gene search and give me the result as a table.
How to set up HGNC gene search in Cursor
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
Use Add to Cursor on the console's Agents & MCP page, or add this to .cursor/mcp.json (one project) or ~/.cursor/mcp.json (every project):
{ "mcpServers": { "spiral": { "url": "https://api.spiral.ai/mcp" } } } - Sign in
Open Cursor Settings › MCP, click Connect next to spiral, sign in to Spiral and click Authorize. No API key. Spiral then shows as connected, with its tools listed.
Use the Spiral skill
- Send Cursor 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 HGNC gene 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": "genenames-org/genes/search", "input": { "query": "<query>" } }'
Then paste one of the prompts above: Cursor finds HGNC gene search on Spiral, shows the price and runs it.
HGNC gene search providers and prices
Spiral runs HGNC gene search through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Cursor for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Limit | 1 to 50 | 10 | Results per page. |
| Offset | 0 to 100000 | 0 | Zero-based index of the first result. |
| Status | approved, withdrawn, or any | approved |
|
| Locus group | protein-coding gene, non-coding RNA, pseudogene, or other | Only genes in this locus group. |
Every API field of HGNC (HUGO Gene Nomenclature Committee) · Search is on its tool page: open its card above.
What can you do with HGNC gene search in Cursor?
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.
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.
More on HGNC gene search and Cursor
Overview
HGNC gene search in other agents
Questions about HGNC gene search in Cursor
Can Cursor use HGNC gene search?
Yes. Add Spiral to Cursor as an MCP server, and Cursor can find and run HGNC gene search like any built-in tool.
How much does HGNC gene search cost in Cursor?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Cursor plan is separate.
Do I need an Alexandria account to use HGNC gene search in Cursor?
No. Spiral runs HGNC gene 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 HGNC gene search in Cursor?
About two minutes: add the hosted server, then sign in.
Does Cursor wait while HGNC gene search runs?
HGNC gene search runs in the background. Cursor 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.
Start using HGNC gene search in Cursor
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Cursor:
set up https://spiral.ai/SKILL.md


