DGIdb

DGIdb

MCP server bridging Claude Desktop to the DGIdb API for drug-gene interaction data.

0
Stars
2
Forks
0
Releases

Overview

This MCP Server acts as a bridge between Claude's Model Context Protocol (MCP) clients and the Drug Gene Interaction Database (DGIdb) API. It enables Claude Desktop to query DGIdb data—such as drug–gene interactions and related drug attributes—via the DGIdb GraphQL API at https://dgidb.org/api/graphql. The server code is defined in src/index.ts, which specifies how the server connects to DGIdb and what tools it exposes to MCP clients. Deployment can be performed on Cloudflare Workers, and, once deployed, clients connect via an SSE endpoint (e.g., /sse). Claude Desktop configuration is demonstrated by embedding the server URL within Claude's mcpServers configuration (e.g., using npx mcp-remote). Example queries mentioned in the README include asking for interactions of a drug (e.g., Imatinib), finding genes that interact with a drug, or showing drug attributes. The project is licensed under MIT with an Academic Citation Requirement, and the README provides practical guidance for connecting Claude Desktop to the MCP server and restarting the application after changes.

Details

Owner
QuentinCody
Language
TypeScript
License
Other
Updated
2025-12-07

Features

DGIdb integration via MCP bridge

Exposes a bridge between MCP clients (Claude Desktop) and the DGIdb API to fetch drug–gene interactions and related data.

DGIdb GraphQL API access

Connects to the DGIdb GraphQL API at https://dgidb.org/api/graphql to retrieve data.

Tools exposed to MCP clients

Defines the set of tools available to MCP clients via src/index.ts.

Claude Desktop configuration

Supports Claude Desktop configuration through mcpServers in Claude Desktop with an example JSON snippet.

Cloudflare Workers deployment

Deployable to Cloudflare Workers for serverless hosting.

SSE endpoint for MCP clients

Serves an SSE endpoint (e.g., /sse) for real-time MCP communications.

Query examples supported

Supports natural-language-like queries such as drug interactions, interacting genes, and drug attributes.

Example deployment URL and usage

Provides example URLs and usage patterns for connecting Claude Desktop to the deployed MCP server.

Audience

ResearchersUse Claude Desktop to query drug-gene interactions via the MCP server.
DevOps engineersDeploy, configure, and maintain the MCP server in cloud or on-premises environments.
Data scientistsIntegrate DGIdb data from the MCP server into AI workflows and analyses.

Tags

MCP ServerDGIdbdrug-gene interactionsClaude DesktopDGIdb GraphQL APICloudflare WorkersSSEGraphQLdrug database