
This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A project providing an MCP server that sits in front of Azure Database for PostgreSQL to run clinical analytics workloads over MIMIC-IV data.
MCP server for querying MIMIC-IV clinical data on PostgreSQL is cataloged as an MCP server attributed to ambakick. A project providing an MCP server that sits in front of Azure Database for PostgreSQL to run clinical analytics workloads over MIMIC-IV data. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP server for querying MIMIC-IV clinical data on PostgreSQL are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes. Setting AZURE_USE_AAD to True along with subscription and resource group variables is documented as an alternative to password authentication.
PGHOST, PGUSER, PGPASSWORD and PGDATABASE must be set or supplied in the Claude Desktop or VS Code configuration.
The README states the project is under the MIT License.
README.md · 0a315ec4e83d · Fetched 2026-11-13 11:54:44 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
Project goal: Evaluate whether a Model Context Protocol (MCP) Server layered on Azure Database for PostgreSQL can match—or outperform—direct SQL while reducing developer effort for large‑scale clinical analytics.
Clinical datasets such as MIMIC‑IV contain tens of millions of rows and hundreds of attributes. Writing and maintaining raw SQL against such breadth is error‑prone and slow. We ask:
Can an MCP‑based abstraction simultaneously improve developer productivity and sustain (or enhance) runtime efficiency compared with traditional SQL‑only workflows?
To answer this we compare direct SQL against an MCP Server → Postgres path on identical workloads—ranging from a simple COUNT(*) on mimiciv_hosp.emar_detail (≈ 87 M rows) to multi‑table note aggregations.
.
├── mimic-postgres/ # Scripts to create schemas & ingest MIMIC‑IV CSVs
├── src/ # Fork of azure_postgresql_mcp with env configs
└── README.md # This file
# core libs
pip install psycopg[binary] rich click pandas matplotlib
# benchmarking
pip install httpx pytest pytest‑benchmark
# MCP server
pip install mcp[cli] azure-identity azure-mgmt-postgresqlflexibleservers
cd data-loading
psql "$PGURI" -f 00_create_mimiciv_note_schema.sql
psql "$PGURI" -f 01_create_emar_tables.sql
python 02_bulk_copy.py --csv-root /path/to/mimic-iv
Estimated ingest time on Standard_D4s: ~45 min for 72 GB (11.7 M note rows + 87 M EMAR rows).
cd mcp-server
python azure_postgresql_mcp.py
Environment variables (PGHOST, PGUSER, PGPASSWORD, PGDATABASE) must be set or supplied in your Claude Desktop / VS Code configuration.
To use Microsoft Entra authentication instead of a password, set:
export AZURE_USE_AAD=True
export AZURE_SUBSCRIPTION_ID=...
export AZURE_RESOURCE_GROUP=...
python benchmarks/run_sql.py --query count_emar_detail
Outputs a single line like:
count=87,371,064 elapsed=101550.2 ms
python benchmarks/run_mcp.py --query count_emar_detail
Sample output:
count=87,371,064 elapsed=67560.1 ms
Multiple runs (default = 30) are aggregated into CSV under benchmarks/results/.
| Query | Direct SQL | MCP Server | Δ (ms) | Δ % |
|---|---|---|---|---|
COUNT(*) on emar_detail | 101,550 ms | 67,560 ms | −33,990 | −33 % |
| LOC to implement workload #1 | 68 | 23 | −45 | −66 % |
MIT License — see LICENSE.
If you use this code or results, please cite:
Menon S.K., N. (2025). MCP Server × PostgreSQL on MIMIC‑IV: productivity and performance comparison. Georgia Tech CS 6423 Final Project Report.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server for querying MIMIC-IV clinical data on PostgreSQL from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mimic-mcp-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that lets AI assistants run SQL queries against AWS Athena databases and retrieve results.

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.