gnomad-mcp

gnomad-mcp

0

The gnomAD MCP Server provides a unified interface to access genomic data from the Genome Aggregation Database via its API. It supports various API versions and offers a consistent, programmatic way to retrieve genetic information, catering to research and data needs with an evolving feature set.

gnomAD MCP Server Overview

This MCP server offers a unified programmatic interface to the Genome Aggregation Database (gnomAD) API, supporting versions v2.1.1, v3.1.2, and v4.1.0. It abstracts the differences in version-specific fields and schema, presenting a consistent API for users. The project is currently under active development and may undergo changes.

Features

  • Supports multiple API versions: v4.1.0 (gnomad_r4), v3.1.2 (gnomad_r3), v2.1.1 (gnomad_r2_1)
  • Provides a comprehensive set of queries for retrieving genetic data, including gene metadata, variant information, and population frequency data.

Setup

  • Install dependencies with uv sync
  • Activate the virtual environment
  • Test the server using uv --directory ./ run mcp dev server.py
  • Add to your MCP server list

Query & API Design

  • Uses the QueryTemplateEngine pattern for managing version-specific GraphQL query templates.
  • Fixed queries are available, with dynamic queries planned for the future.

License

Licensed under the Apache License 2.0. Ensure you cite gnomAD when using this tool.

Acknowledgements

  • gnomAD
  • FastMCP