resolve_xref

Pack: hgnc · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/resolve_xref for the schema, then POST the same URL with its arguments for the data.

Reverse-lookup: map an external database id to its canonical HGNC gene. “What gene is Entrez 672?” -> BRCA1. Accepts entrez_id, ensembl_gene_id, uniprot_ids, omim_id, refseq_accession, or ucsc_id and returns the same full record as get_gene. Keyless.

Parameters

NameTypeRequiredDescription
id_typestringyesExternal id namespace: one of entrez_id, ensembl_gene_id, uniprot_ids, omim_id, refseq_accession, ucsc_id.
idstringyesThe external id, e.g. entrez “672”, ensembl “ENSG00000012048”, uniprot “P38398”, omim “113705”.

Example call

Arguments

{
  "id_type": "entrez_id",
  "id": "672"
}

curl

curl -X POST https://gateway.pipeworx.io/hgnc/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"resolve_xref","arguments":{"id_type":"entrez_id","id":"672"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('resolve_xref', {
  "id_type": "entrez_id",
  "id": "672"
});

More examples

{
  "id_type": "ensembl_gene_id",
  "id": "ENSG00000012048"
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the hgnc pack
{
  "mcpServers": {
    "hgnc": {
      "url": "https://gateway.pipeworx.io/hgnc/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 24, 2026