Repository avatar
Other Tools
v1.0.1
active

cpic-pharmacogenomics-api-mcp

io.github.theluckystrike/cpic-pharmacogenomics-api-mcp

CPIC clinical pharmacogenomics API for drug-gene guidelines, dosing recommendations, and alleles.

Documentation

cpic-pharmacogenomics-api-mcp

Live Clinical Pharmacogenetics Implementation Consortium (CPIC) lookups over Model Context Protocol (MCP). Clinical pharmacists, precision medicine teams, and bioinformatics engineers can query peer-reviewed drug-gene guidelines, dosing recommendations, and star allele functions without an API key or account.

Hosted endpoint

Point any Streamable HTTP MCP client at the free Cloudflare Worker endpoint.

https://cpic-pharmacogenomics-api-mcp.lipmichal.workers.dev/mcp

Available tools

ToolPurpose
list_cpic_guidelinesList published CPIC pharmacogenomics guidelines with optional gene filtering
search_cpic_drugsSearch CPIC drugs with RxNorm, DrugBank, ATC, and guideline links
list_cpic_gene_drug_pairsQuery curated gene-drug pairs by gene symbol or CPIC evidence level
get_cpic_recommendations_by_drugFetch clinical dosing recommendations and phenotype implications for a drug
list_cpic_alleles_by_geneList star alleles, activity scores, and clinical functional status for a gene

Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

{
  "mcpServers": {
    "cpic-pharmacogenomics-api": {
      "url": "https://cpic-pharmacogenomics-api-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

Run locally over stdio

You can run the server locally on Node 20 or newer over stdio.

npm install
npm run build
npm start

Compliance and reliability

Every request calls api.cpicpgx.org/v1 with a polite User-Agent string (mcpstamp-cpic-pharmacogenomics-api/1.0.1 (hello@mcpstamp.com)) and automatic retry on transient 5xx or network errors. All five tools declare read-only, non-destructive, idempotent, open-world annotations. The Worker negotiates future protocol versions cleanly.

More MCP servers and readiness check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.