MCP Connector

Query Pharos Drug Genome Database

MCP server that executes GraphQL queries against the Pharos API to retrieve information about targets, diseases, and ligands from the Pharos database.

Works with cloudflare workers

Maintainer of this project? Claim this page to edit the listing.


90
Spark score
out of 100
Updated 5 months ago
Version 1.0.0
Models
universal

Add to Favorites

Why it matters

Access and query the comprehensive Pharos NIH knowledge base for drug discovery research. Retrieve detailed information on drug-genome interactions, proteins, diseases, and chemical compounds.

Outcomes

What it gets done

01

Execute GraphQL queries against the Pharos API.

02

Retrieve data on targets (proteins) using identifiers like UniProt ID.

03

Search for diseases and their associated targets.

04

Query ligands (compounds/drugs) by identifiers such as ChEMBL ID.

Install

Add it to your toolbox

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/vb-pharos | bash

Capabilities

Tools your agent gets

pharos_graphql_query

Executes GraphQL queries to the Pharos API to retrieve information about targets, diseases, ligands, and chemical compounds.

Overview

Pharos MCP Server

A connector that executes GraphQL queries against the Pharos API, enabling retrieval of drug discovery data including targets, diseases, and ligands from the NIH Pharos database. Use when you need to query the Pharos database for protein targets by UniProt ID, search diseases for associated targets, or retrieve ligand information by ChEMBL ID during drug discovery research.

What it does

What it does: Provides access to the Pharos database-a comprehensive NIH knowledge base for studying the drug genome, proteins, diseases, and chemical compounds in drug discovery research. The server exposes one tool (pharos_graphql_query) that executes GraphQL queries to the Pharos API.

Key capabilities:

  • Query targets (proteins) using identifiers such as UniProt ID
  • Query diseases by name and search for associated targets
  • Query ligands (compounds/drugs) by identifiers such as ChEMBL ID
  • Execute GraphQL introspection to understand the Pharos API schema
  • Access information about protein functions and associated diseases
  • Retrieve data on chemical compounds, including drug approval status and biological activity

Setup: Designed for deployment on Cloudflare Workers. Configure in Claude Desktop:

{
  "mcpServers": {
    "pharos": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "YOUR_PHAROS_MCP_SERVER_URL_HERE"
      ]
    }
  }
}

Example queries:

Pharos, tell me about the protein with UniProt ID P05067.
Using Pharos, what are the known targets for Alzheimer's disease?
Can you use Pharos to search for information about the ligand CHEMBL12?

Connects to the Pharos GraphQL endpoint at https://pharos-api.ncats.io/graphql. Available under MIT license with academic citation requirements.

Source README

An MCP server providing access to the Pharos database-a comprehensive NIH knowledge base for studying the drug genome, proteins, diseases, and chemical compounds in drug discovery research.

Installation

NPX Remote

npx mcp-remote YOUR_PHAROS_MCP_SERVER_URL_HERE

Configuration

Claude Desktop

{
  "mcpServers": {
    "pharos": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "YOUR_PHAROS_MCP_SERVER_URL_HERE"
      ]
    }
  }
}

Available Tools

Tool Description
pharos_graphql_query Executes GraphQL queries to the Pharos API to retrieve information about targets, diseases, ...

Capabilities

  • Query targets (proteins) using identifiers such as UniProt ID
  • Query diseases by name and search for associated targets
  • Query ligands (compounds/drugs) by identifiers such as ChEMBL ID
  • Execute GraphQL introspection to understand the Pharos API schema
  • Access comprehensive information about protein functions and associated diseases
  • Retrieve data on chemical compounds, including drug approval status and biological activity

Usage Examples

Pharos, tell me about the protein with UniProt ID P05067.
Using Pharos, what are the known targets for Alzheimer's disease?
Can you use Pharos to search for information about the ligand CHEMBL12?

Notes

The server is designed for deployment on Cloudflare Workers and connects to the Pharos GraphQL endpoint at https://pharos-api.ncats.io/graphql. Available under MIT license with academic citation requirements. Server URL format: https://pharos-mcp-server.your-account-name.workers.dev/sse

FAQ

Common questions

Discussion

Questions & comments · 0

Sign In Sign in to leave a comment.