Clinical MCP Server
Provides governed MCP tools for validating, explaining, and remediating clinical supply chain data quality across Bronze, Silver, and Gold layers on Azure Databricks, with data contracts and an evaluation harness.
README
Clinical Supply Chain Agentic Data Platform
AI-powered platform that validates, explains, and remediates clinical supply data quality across Bronze → Silver → Gold on Azure Databricks, with governed MCP tools, data contracts, and an evaluation harness mapped to G7 Engineer II criteria T1 / T2 / T3.
Storage: Databricks only — Unity Catalog Volumes for landing files and managed Delta tables for Bronze/Silver/Gold. No separate Azure Data Lake / ADLS account in this design.
Quick start (local)
python -m venv .venv
# Windows
.venv\Scripts\activate
pip install -r requirements.txt
# List contracts
python -m clinical_platform.cli list-contracts
# Happy-path validation
python -m clinical_platform.cli validate sap_batch_raw
# Portfolio demo — schema drift
python -m clinical_platform.cli demo-drift
# Agents
python -m agents.cli dq --drift
python -m agents.cli rca
python -m agents.cli ask "Why did Gold trial inventory fail today?"
# T3 evaluation
python -m eval.harness
Copy .env.example → .env when you wire Azure OpenAI (offline fallback works without it).
Repository layout
contracts/ # YAML table contracts (source of truth)
clinical_platform/ # validate_table, expectations, local engine
mcp_server/ # Governed tools for agents
agents/ # DQ, RCA, Q&A
prompts/ # Versioned system prompts
eval/ # Golden Q&A + harness
metadata/ddl.sql # Unity Catalog metadata tables
notebooks/ # Databricks job entrypoints
workflows/ # Databricks Asset Bundle stub
docs/ # Architecture notes
tests/ # Unit tests
Mapping to assessment criteria
| Criterion | What this repo proves |
|---|---|
| T1 | MCP tool server, reusable agent skills, prompt-backed RCA/Q&A, knowledge via contracts/lineage |
| T2 | Contract-driven validation, quality reports, lineage stubs, GxP-gated remediation proposals |
| T3 | Golden eval set, keyword/tool groundedness scores, versioned prompts, nightly job stub |
Databricks next steps
- Run
metadata/ddl.sqlin your workspace (creates catalogs, schemas, Volumes, metadata tables). - Sync contracts into
clinical_supply.metadata.table_contracts. - Land source files in
/Volumes/clinical_supply/bronze/landing/(not ADLS). - Point notebooks at cluster libraries (
pip install -e .). - Deploy
workflows/databricks.ymlwith Databricks Asset Bundles. - Replace local engine with Spark/Great Expectations runner when ready.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.