gene

Pack: mygene-info · Endpoint: https://gateway.pipeworx.io/mygene-info/mcp

Annotations for a single gene id.

Parameters

NameTypeRequiredDescription
gene_idstringyesEntrez id (“7157”) or Ensembl id (“ENSG00000141510”).
fieldsstringno
speciesstringno

Example call

Arguments

{
  "gene_id": "7157"
}

curl

curl -X POST https://gateway.pipeworx.io/mygene-info/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"gene","arguments":{"gene_id":"7157"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('gene', {
  "gene_id": "7157"
});

More examples

{
  "gene_id": "ENSG00000141510",
  "fields": "symbol,name,taxid"
}

Response shape

FieldTypeDescription
_idstringGene ID
symbolstringGene symbol
namestringGene name
taxidnumberNCBI taxonomy ID
descriptionstringGene description
entrezgenestring | numberEntrez gene ID
ensemblgenestringEnsembl gene ID
Full JSON Schema
{
  "type": "object",
  "properties": {
    "_id": {
      "type": "string",
      "description": "Gene ID"
    },
    "symbol": {
      "type": "string",
      "description": "Gene symbol"
    },
    "name": {
      "type": "string",
      "description": "Gene name"
    },
    "taxid": {
      "type": "number",
      "description": "NCBI taxonomy ID"
    },
    "description": {
      "type": "string",
      "description": "Gene description"
    },
    "entrezgene": {
      "type": [
        "string",
        "number"
      ],
      "description": "Entrez gene ID"
    },
    "ensemblgene": {
      "type": "string",
      "description": "Ensembl gene ID"
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "mygene-info": {
      "url": "https://gateway.pipeworx.io/mygene-info/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026