Skip to main content
Glama

Version License npm Docker

Install in Claude Desktop Install in Cursor Install in VS Code

Overview

Explore four tracks from the Clinical Genome Resource (ClinGen): gene–disease validity, dosage sensitivity, Adult and Pediatric actionability, and variant pathogenicity. Bulk queries use a persistent local SQLite mirror of 13 ClinGen and HGNC feeds. Variant searches can resolve exact HGVS expressions through the Allele Registry, and variant detail fetches criterion evidence from the Evidence Repository.

Tools

Tool

Description

clingen_lookup_genes

Inventory a gene's curations across the four tracks

clingen_get_gene_validity

Find gene–disease assertions and link to their reports

clingen_get_dosage_sensitivity

Read gene dosage scores or intersect a copy-number interval with curated genes and regions

clingen_get_actionability

Read Adult and Pediatric curations, consensus assertions, and scored outcomes and interventions

clingen_search_variant_classifications

Search Evidence Repository classifications and obtain UUIDs for evidence retrieval

clingen_get_variant_classifications

Fetch criterion assessments for classification UUIDs

clingen_list_reference

Look up curation codes, expert-panel names, source coverage, and attribution

Related MCP server: gencc-link

Capability reference

clingen_lookup_genes tool

  • Supply HGNC symbols or IDs in genes. Unambiguous former symbols and aliases resolve to the approved gene. Ambiguous symbols return candidate HGNC IDs.

  • Each match lists validity assertions, gene dosage, actionability assertions, and variant counts by classification and panel. Track coverage indicates when a definitive curation inventory is unavailable.

clingen_get_gene_validity tool

  • Filter by genes, disease (MONDO ID or name), classification, moi, or gcep. At least one filter is required. Disputed, refuted, and no-known-relationship assertions remain queryable.

  • Results include the panel, classification date, inheritance, and original assertion report. Follow the report link for evidence and scores.

clingen_get_dosage_sensitivity tool

  • Use mode: "gene" with genes (GRCh38 by default), or mode: "interval" with explicit assembly (GRCh37 or GRCh38), chromosome, and 1-based inclusive start and end.

  • hi_code and ts_code match exact categories. Code 30 means association with an autosomal recessive phenotype, 40 means dosage sensitivity unlikely, and -1 means not yet evaluated.

  • Results include available locations, evaluation dates, supporting PMIDs, and report links. Source-specific findings preserve disagreements. An interval miss leaves the dosage effect unknown.

clingen_get_actionability tool

  • Supply gene, condition (MONDO, OMIM, or name), or curation_id. context defaults to both, and retractions are excluded unless include_retracted is enabled.

  • Gene and condition filters select the same subject–disease pair. The result includes the full matching curation, with release metadata, available consensus, outcomes, and intervention scores.

clingen_search_variant_classifications tool

  • Filter by gene, ClinVar Variation ID, CAid, exact HGVS, condition, classification, expert panel, or met and unmet criterion codes. On a mirror miss, the server sends only the standalone accession-qualified expression in the hgvs query parameter to https://reg.clinicalgenome.org/allele. Exact published spellings with annotations can still match locally.

  • Retractions are included by default. Request hgvs, interpretation_summary, or pmids in fields to include those values. Pass returned UUIDs to clingen_get_variant_classifications.

clingen_get_variant_classifications tool

  • Supply Evidence Repository classification uuids. Results include live criterion codes, strengths and outcomes, contribution dates, and curator comments where available.

  • If live evidence is unavailable, the item reports the failure and returns its mirrored classification header when available.

clingen_list_reference tool

  • Use topic: "sources" to inspect feed URLs, snapshot status, row counts, and access dates. Use gceps or vceps for the exact panel names to use in filters.

  • Other topics cover validity classifications, inheritance codes, dosage scores, actionability assertions and scores, ACMG/AMP criteria, and source attribution.

Features

  • Paged searches accept limit and return next_cursor. Continue with the same filters. Restart from the first page if a relevant snapshot was replaced.

  • Each upstream document is read in full within a byte limit of 128 MiB for bulk feeds, 8 MiB for each Evidence Repository classification, and 2 MiB for each Allele Registry lookup. A failed bulk refresh retains the last usable data. Results report source freshness and distinguish unavailable coverage from a complete search with no matches.

  • Built on @cyanheads/mcp-ts-core. Tool result data is available as structured content and text.

Getting started

Use Node.js 24 or later for the npm package and Claude Desktop bundle. The server uses public sources and requires no upstream API keys.

claude mcp add clingen-mcp-server -- npx -y @cyanheads/clingen-mcp-server

For other stdio clients, add this server to the client's MCP configuration.

{
  "mcpServers": {
    "clingen-mcp-server": {
      "command": "npx",
      "args": ["-y", "@cyanheads/clingen-mcp-server"]
    }
  }
}

Claude Desktop accepts the clingen-mcp-server.mcpb bundle. Its optional ClinGen mirror directory setting takes an absolute path. Claude Code's plugin uses the same setting. The Codex plugin forwards CLINGEN_MIRROR_DIR from the environment that launched Codex.

On a cold start the server advertises its tools immediately and starts bulk initialization in a child process. Call clingen_list_reference with {"topic":"sources"} to check readiness. The child stops on server shutdown. To populate the mirror before connecting a client, run mirror:init separately.

Configuration

Environment variable

Default

Purpose

CLINGEN_MIRROR_DIR

Per-user data directory

Absolute path for the writable SQLite directory. A blank value uses the default.

MCP_TRANSPORT_TYPE

stdio

Select http for Streamable HTTP. The Docker image defaults to HTTP.

MCP_HTTP_HOST

127.0.0.1

HTTP bind address. The Docker image binds to 0.0.0.0 inside the container.

MCP_HTTP_PORT

3010

HTTP port.

MCP_HTTP_ENDPOINT_PATH

/mcp

HTTP MCP route.

MCP_AUTH_MODE

none

HTTP authentication mode. See .env.example for framework settings.

MCP_USAGE_REPORTING

false

Opt in to sharing aggregate tool-call usage with the package maintainer.

The default directory is $XDG_DATA_HOME/clingen-mcp-server on Unix when XDG_DATA_HOME is set. Otherwise it is ~/.local/share/clingen-mcp-server on Linux, ~/Library/Application Support/clingen-mcp-server on macOS, and %LOCALAPPDATA%\clingen-mcp-server on Windows (with %USERPROFILE%\AppData\Local as the fallback base). Persist the whole directory, including mirror.sqlite and SQLite sidecars, and give the server and refresh processes write access.

Running the server

Manage the mirror

npx -y @cyanheads/clingen-mcp-server mirror:init
npx -y @cyanheads/clingen-mcp-server mirror:refresh
npx -y @cyanheads/clingen-mcp-server mirror:verify

mirror:init and mirror:refresh run the same repeatable update pipeline. An HTTP server also schedules a refresh every 24 hours while running. For an already initialized stdio server, schedule mirror:refresh separately. The CLI prints a JSON report. partial means at least one feed failed. locked means another process holds the refresh lease. mirror:verify checks SQLite integrity, schema version, and active source coverage without contacting upstream.

With an unpacked desktop bundle, point the compiled entry at the same directory configured in Claude Desktop. Substitute mirror:refresh or mirror:verify as needed.

CLINGEN_MIRROR_DIR="/absolute/path/to/clingen-data" node /path/to/unpacked-bundle/dist/index.js mirror:init

Local HTTP and source checkout

MCP_TRANSPORT_TYPE=http npx -y @cyanheads/clingen-mcp-server

Connect the client to http://127.0.0.1:3010/mcp. To run from a checkout with Bun 1.4.4 or later:

git clone https://github.com/cyanheads/clingen-mcp-server.git
cd clingen-mcp-server
bun install
bun run build
bun run start:stdio

Docker

docker volume create clingen-mirror
docker run --rm -v clingen-mirror:/usr/src/app/.mirror ghcr.io/cyanheads/clingen-mcp-server:latest bun run dist/index.js mirror:init
docker run --rm -v clingen-mirror:/usr/src/app/.mirror -p 127.0.0.1:3010:3010 ghcr.io/cyanheads/clingen-mcp-server:latest

For manual refreshes and verification, substitute mirror:refresh or mirror:verify in the one-off command. If you bind-mount a host directory, grant write access to the image's non-root bun user.

Sources and clinical use

Curations are published by the Clinical Genome Resource (ClinGen) under CC0 1.0. The mirror uses the ClinGen downloads and Evidence Repository, the Clinical Actionability API, and the HGNC complete set for approved symbols and aliases. HGVS fallback uses the ClinGen Allele Registry. Each result provides source attribution and relevant access dates. ClinGen terms · ClinGen downloads · HGNC license · Allele Registry

ClinGen information is not intended for direct diagnostic use or medical decision-making without review by a genetics professional.

Project structure

Path

Purpose

src/mcp-server/tools/definitions/

Tool schemas, contracts, and handlers

src/tracks/

Source parsing, materialization, and query logic for the four curation tracks

src/store/

SQLite mirror, feed loading, freshness, and gene resolution

tests/

Tool, store, and source parsing tests

Development guide

See CLAUDE.md for the development protocol and docs/design.md for source contracts. Run bun run devcheck and bun run test to check changes.

Contributing

Report reproducible behavior and feature requests through GitHub Issues. Report vulnerabilities through private security reporting.

License

Apache-2.0

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables querying ClinGen curated evidence for gene-disease validity, dosage, actionability, and variant pathogenicity via MCP tools.
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Read-only biomedical MCP server connecting PubMed, ClinicalTrials.gov, ClinVar, gnomAD, OncoKB, Reactome, KEGG, UniProt, PharmGKB, CPIC, OpenFDA, Monarch Initiative, GWAS Catalog, and more. One command grammar for all biomedical entities — genes, variants, diseases, drugs, trials, articles, phenotypes, pathways, proteins, diagnostics, and adverse events. 27 tools. Apache-2.0 license.
      1
      Apache 2.0