Skip to main content
Glama
cpic-pharmacogenomics-api-mcp

cpic-pharmacogenomics-api-mcp

README.md
# 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.

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

## Available tools

| Tool | Purpose |
| --- | --- |
| `list_cpic_guidelines` | List published CPIC pharmacogenomics guidelines with optional gene filtering |
| `search_cpic_drugs` | Search CPIC drugs with RxNorm, DrugBank, ATC, and guideline links |
| `list_cpic_gene_drug_pairs` | Query curated gene-drug pairs by gene symbol or CPIC evidence level |
| `get_cpic_recommendations_by_drug` | Fetch clinical dosing recommendations and phenotype implications for a drug |
| `list_cpic_alleles_by_gene` | List 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.

```json
{
  "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.

```bash
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.

- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.cpic-pharmacogenomics-api-mcp) with hosted commercial servers and priority endpoints.