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

OpenClaw · Health

How to Use NCBI Gene search results in OpenClaw

Returns matching NCBI Gene records for discovery, including searches restricted by organism and gene type. Use it to assemble a candidate list before inspecting individual genes or finding counterparts in other species.

Prompts to try with NCBI Gene search results in OpenClaw

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

Every month, use NCBI Gene search results to retrieve current mouse protein-coding genes and report GeneIDs newly appearing in the results.

NCBI Gene search resultsOpenClaw
Try asking
  • Every month, use NCBI Gene search results to retrieve current zebrafish pseudogenes and compare the returned identities with the previous month's results.

  • Every Monday at 9am: use NCBI Gene search results to look this up and give me the result as a table.

  • Pull the latest numbers from NCBI Gene search results and tell me what changed since last week.

  • Check NCBI Gene search results and summarize what you find in three bullet points.

How to set up NCBI Gene search results in OpenClaw

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

Use the Spiral skill

  1. Send OpenClaw 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 Spiral's MCP server

  1. Add the server

    On the machine that runs OpenClaw's Gateway:

    openclaw mcp add spiral \
      --url https://api.spiral.ai/mcp \
      --transport streamable-http \
      --auth oauth
  2. Sign in

    In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.

    openclaw mcp login spiral
  3. Reload and check

    A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.

    openclaw mcp reload
    openclaw mcp doctor spiral --probe

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 NCBI Gene search results

    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": "gene-ncbi-nlm-nih-gov/genes/search",
        "input": {
          "query": "<query>"
        }
      }'

Then paste one of the prompts above: OpenClaw finds NCBI Gene search results on Spiral, shows the price and runs it.

NCBI Gene search results providers and prices

Spiral runs NCBI Gene search results through Alexandria. Open a card for today's price, with every fee included.

AlexandriaHealth
NCBI Gene · Search
gene-ncbi-nlm-nih-gov/genes/search

Settings you can ask for

Ask OpenClaw for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 5010

Results per page.

Offset0 to 10000000

Zero-based index of the first result; pass next_offset for the next page.

Gene typeprotein_coding, ncrna, pseudogene, trna, rrna, snrna, scrna, snorna and 4 more

Only genes of this type.

Include discontinuedon or off

Also list replaced and discontinued records (status says which; a replaced row names its current_gene_id). Default: current genes only.

Every API field of NCBI Gene · Search is on its tool page: open its card above.

What can you do with NCBI Gene search results in OpenClaw?

Keep a research watchlist current as NCBI gene descriptions and species mappings change. A scheduled agent can compare successive results and report changes to gene identities, summaries and ortholog lists.

Prepare a model organism shortlist

Find candidate genes in a study species, inspect their NCBI descriptions, and retrieve counterparts in mouse, rat or zebrafish to prepare a comparison for experimental planning.

Build a comparative gene reference

Assemble an organism-specific gene list, add summaries and genomic locations, and connect the entries to NCBI-calculated counterparts in selected species.

Check a cross-species analysis

Review candidate records from each organism, verify individual gene identities, and compare the proposed species mappings with NCBI's ortholog relationships.

Maintain a research gene catalog

Refresh organism-specific discovery lists, compare saved gene descriptions with current records, and flag changes to the ortholog links used by a research catalog.

Normalize gene annotations

Review candidate records and resolve selected genes to GeneIDs, current symbols and names before joining annotations to a research table.

Create a comparative genetics exercise

Select genes from an organism-specific result list and build a worksheet comparing names, descriptions, locations and ortholog relationships across species.

Questions about NCBI Gene search results in OpenClaw

Can OpenClaw use NCBI Gene search results?

Yes. Add Spiral to OpenClaw as an MCP server, and OpenClaw can find and run NCBI Gene search results like any built-in tool.

How much does NCBI Gene search results cost in OpenClaw?

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

Do I need an Alexandria account to use NCBI Gene search results in OpenClaw?

No. Spiral runs NCBI Gene search results on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up NCBI Gene search results in OpenClaw?

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

Does OpenClaw wait while NCBI Gene search results runs?

NCBI Gene search results runs in the background. OpenClaw starts the run, checks on it and gives you the json when it's ready.

Where do NCBI Gene records come from?

NCBI Gene is primarily built from gene models on annotated RefSeq genomes. Its coverage therefore reflects the genomes and annotations represented in that collection.

How fresh is NCBI Gene?

Gene and RefSeq records are updated daily when new information arrives from external sources, including model organism databases. An individual record can remain unchanged between those incoming updates.

Why can a gene record exist but be missing from search?

A newly public record can be accessible by GeneID before Entrez indexing finishes. NCBI says this discrepancy should last no more than 24 hours.

Can the same GeneID refer to genes in different species?

No. GeneIDs are unique across taxa, so genes in different species have distinct identifiers even when their symbols resemble each other.

Does every gene have a reference assembly location?

No. NCBI's tabular display omits the reference assembly location when a gene is not annotated on that assembly.

Get started

Start using NCBI Gene search results in OpenClaw

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

Paste this into OpenClaw:

Set up OpenClaw

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