Back to Home
nickzren icon

opentargets-mcp

Verified Safe

by nickzren

Overview

Serves as a Model Context Protocol (MCP) server exposing the Open Targets Platform GraphQL API as a set of structured tools for AI agents and other MCP-compatible clients to access biomedical data.

Installation

Run Command
git clone https://github.com/nickzren/opentargets-mcp && cd opentargets-mcp && docker-compose up -d --build

Environment Variables

  • OPEN_TARGETS_API_URL
  • MCP_TRANSPORT
  • FASTMCP_SERVER_HOST
  • FASTMCP_SERVER_PORT

Security Notes

The server uses `os.getenv` for configuration, avoiding hardcoded secrets. It acts as a proxy to the Open Targets GraphQL API by default. The `graphql_query` tool explicitly rejects mutations, preventing unintended data modifications through this interface. The primary network risk is to the configured `OPEN_TARGETS_API_URL`; if a user reconfigures it to a malicious endpoint, it would be a user-side risk, not an inherent flaw in the server's design. All network interactions are handled with `aiohttp.ClientSession` and include basic error handling.

Similar Servers

Stats

Interest Score38
Security Score9
Cost ClassMedium
Avg Tokens2500
Stars13
Forks8
Last Update2026-01-16

Tags

biomedicaldrug-discoverygeneticsai-agentsgraphql