gene
Pack: mygene-info · Endpoint: https://gateway.pipeworx.io/mygene-info/mcp
Annotations for a single gene id.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
gene_id | string | yes | Entrez id (“7157”) or Ensembl id (“ENSG00000141510”). |
fields | string | no | |
species | string | no |
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
| Field | Type | Description |
|---|---|---|
_id | string | Gene ID |
symbol | string | Gene symbol |
name | string | Gene name |
taxid | number | NCBI taxonomy ID |
description | string | Gene description |
entrezgene | string | number | Entrez gene ID |
ensemblgene | string | Ensembl 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.