Skip to main content

physionet-mcp

Lean MCP server for PhysioNet datasets - works with any PhysioNet dataset you have access to.

📺 This is a lean version of m3 with similar BigQuery and PhysioNet setup. Check out detailed videos here: https://rafiattrach.github.io/m3/

Quick Setup

Production (After PyPI release)

{
  "mcpServers": {
    "physionet-mcp": {
      "command": "uvx",
      "args": ["physionet-mcp"],
      "env": {
        "BIGQUERY_PROJECT_ID": "your-project-id"
      }
    }
  }
}

Local Development

{
  "mcpServers": {
    "physionet-mcp": {
      "command": "/path/to/physionet-mcp/venv/bin/python",
      "args": ["-m", "physionet_mcp.mcp_server"],
      "cwd": "/path/to/physionet-mcp",
      "env": {
        "BIGQUERY_PROJECT_ID": "your-project-id"
      }
    }
  }
}

Replace your-project-id with your Google Cloud project ID.

4 Simple Tools

  1. list_accessible_datasets → See what you can access
  2. get_database_schema → Find tables in a dataset
  3. get_table_info → Check structure & sample data
  4. execute_query → Run your analysis

Usage Examples

  • "What PhysioNet datasets can I access?"
  • "Show me MIMIC-IV hospital tables"
  • "What's in the patients table?"
  • "How many patients are in MIMIC-IV?"

Future Enhancements

Potential improvements for enterprise use:

  • Dataset filtering - Restrict access to specific datasets for security
  • Query optimization - Add result caching and query cost tracking
  • Rate limiting - Implement query throttling for shared environments
  • Enhanced metadata - Add column descriptions and data quality metrics

License

MIT

Metadata

Release files for physionet-mcp 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for physionet-mcp 0.0.2
File Size Uploaded Provenance
physionet_mcp-0.0.2.tar.gz 110.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for physionet-mcp 0.0.2
File Interpreter ABI Platform
physionet_mcp-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 121.4 kB

Release files / physionet_mcp-0.0.2.tar.gz

Download URL physionet_mcp-0.0.2.tar.gz
Size 110.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8a64938e36024aada6c6de191dc05f45e30200ecdb76d69e8bc4e0a8708b1ddc
BLAKE2b-256 checksum
How to use checksums
5f9cd0a6ccc8d4a9fb58b41e7bcde03fb355c74e43234b43bcd764b159971825
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.9

Release files / physionet_mcp-0.0.2-py3-none-any.whl

Download URL physionet_mcp-0.0.2-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
885d9db5f9f63c5d52cf8c7b95582add49f8d47e81aa3d30796a020857927631
BLAKE2b-256 checksum
How to use checksums
0f8024009c4ff7383375fc6b172612d91c829a070be745181b0a65a285ad3d9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.9

Security for physionet-mcp 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page