get_gene
Pack: cbioportal · 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/get_gene for the schema, then POST the same URL with its arguments for the data.
Resolve a gene to its Entrez gene id and canonical info via cBioPortal. Accepts a HUGO symbol (e.g. “TP53”, “BRCA1”) or an Entrez gene id. Returns entrez_gene_id, symbol, and type.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
gene | string | yes | HUGO gene symbol (e.g. “TP53”) or Entrez gene id. |
Example call
Arguments
{
"gene": "TP53"
}
curl
curl -X POST https://gateway.pipeworx.io/cbioportal/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_gene","arguments":{"gene":"TP53"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_gene', {
"gene": "TP53"
});
More examples
{
"gene": "BRCA1"
}
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 cbioportal pack
{
"mcpServers": {
"cbioportal": {
"url": "https://gateway.pipeworx.io/cbioportal/mcp"
}
}
}
See Getting Started for client-specific install steps.