gwas-catalog-mcp

gwas-catalog-mcp

0

This project is an MCP server offering a programmatic interface to the GWAS Catalog REST API, enabling access to genetic study data for research purposes. It handles large datasets with flexible storage options and supports various data retrieval endpoints under active development.

Overview

  • Programmatic interface to GWAS Catalog REST API for accessing GWAS data (studies, variants, traits, associations).
  • Supports handling large datasets with in-memory and file-based storage options.
  • Under active development, features and API may change.
  • Key dependencies include uv, mcp[cli], fastmcp, and requests.

Setup and Running

  • Install dependencies with uv sync and activate the virtual environment.
  • Run the MCP server and tests using provided commands.
  • Various endpoints for accessing and filtering GWAS data, supporting common parameters for easy configuration.

MCP Tool Specification

  • Tool Name: GWAS_catalog
  • Offers various endpoints to fetch studies, associations, variants, and traits based on parameters like study ID, association ID, variant ID, and EFO trait ID.

License

  • Licensed under Apache License 2.0.
  • Usage of GWAS Catalog data requires citing the source.