Skip to main content

CaresMCP

Python 3.12 Docs

Medical imaging tools for AI agents, served over the Model Context Protocol (MCP). CaresMCP wraps dedicated medical models behind 50+ callable tools and returns evidence an agent can cite: scores, masks, heatmaps, measurements, and embeddings.

Documentation: https://caresmcp.readthedocs.io/

Starting from the patient's presentation, an agent proactively orders examinations, calls medical imaging tools on the studies, and grounds its diagnosis in the evidence:

---
config:
  markdownAutoWrap: false
---
flowchart TD
    patient(["`<b>Patient</b><br/>demographics · symptoms`"])
    agent["`<b>Agent</b> · <i>orchestrator</i><br/>perception · reasoning`"]
    his[("`<b>HIS</b> <i>(simulated)</i><br/>records · reports · images`")]

    subgraph caresmcp["<b>CaresMCP</b> · <i>diagnostic toolkit</i>"]
        direction TB
        evidence(["`<b>Evidence</b><br/>scores · masks · measurements`"])
    end

    diagnosis(["`<b>Diagnosis</b><br/>grounded in evidence`"])
    human["<b>Human<br/>Clinician</b>"]

    patient -->|"① presents"| agent
    his <-->|"② orders exam → images"| agent
    agent <-.->|"④ if uncertain"| human
    agent <==>|"③ calls tools → evidence"| caresmcp
    caresmcp -.-|"<i>traceability</i>"| diagnosis
    agent -->|"④ concludes"| diagnosis
    human <-.->|"⑤ reviews"| diagnosis

    %% Semantic color classes
    classDef patient fill:#EFF6FF,stroke:#3B82F6,color:#1E40AF,stroke-width:1.5px
    classDef agent fill:#ECFDF5,stroke:#059669,color:#065F46,stroke-width:2px
    classDef his fill:#F1F5F9,stroke:#64748B,color:#334155,stroke-width:1.5px
    classDef evidence fill:#FFFBEB,stroke:#D97706,color:#92400E,stroke-width:1.5px
    classDef human fill:#F5F3FF,stroke:#8B5CF6,color:#5B21B6,stroke-width:1.5px
    classDef result fill:#EEF2FF,stroke:#4F46E5,color:#312E81,stroke-width:2.5px

    class patient patient
    class agent agent
    class his his
    class evidence evidence
    class human human
    class diagnosis result

    style caresmcp fill:#FFFCF5,stroke:#D97706,stroke-width:1.5px,color:#92400E

    linkStyle default stroke:#64748B,stroke-width:1.5px

Quick start

uv tool install "caresmcp[xray] @ git+https://github.com/Moenupa/caresMCP.git"
caresmcp list xray
caresmcp debug xray torchxrayvision_classify \
  '{"image_or_dicom": "https://nih-chest-x-rays.s3.us-east-2.amazonaws.com/images_1024x1024/00000003_001.png"}'

The first model-backed call downloads its checkpoint. To serve the tools over MCP:

caresmcp mcp
claude mcp add --transport http caresmcp http://127.0.0.1:8000/mcp

Full walkthrough, output examples, and troubleshooting: Getting started.

Documentation

  • Capabilities — browse tools by task or modality; the catalog is generated from the registry.
  • Concepts — tools, categories, tasks, models, and the input/output contract.
  • Model coverage — integrated, deferred, and out-of-scope models with access terms.
  • Installation — extras and source installs.
  • Limitations and safety — research use, checkpoint licenses, and privacy.
  • CaresAgentBench (WIP) — the agent benchmark pilot and its work-in-progress status.
  • Contributing — add a tool or update a model survey.

CaresMCP is research software, not a medical device. Check each upstream checkpoint's license and access terms before use.

Metadata

Release files for caresmcp 1.0.0

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

Source distribution (sdist)

Source distribution for caresmcp 1.0.0
File Size Uploaded Provenance Actions
caresmcp-1.0.0.tar.gz 118.8 kB Without provenance Details for caresmcp-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for caresmcp 1.0.0
File Interpreter ABI Platform Actions
caresmcp-1.0.0-py3-none-any.whl Python 3 none any Details for caresmcp-1.0.0-py3-none-any.whl

Total release size: 275.6 kB

Release files / caresmcp-1.0.0.tar.gz

Download URL caresmcp-1.0.0.tar.gz
Size 118.8 kB
Tags Source
SHA-256 checksum
How to use checksums
673584d16a76ad4c4b1ff8af63d88b7cb7d5158024762ece190272451f995c30
BLAKE2b-256 checksum
How to use checksums
ad99024f0620d1c15cbfa7e356315333292a50cf02cf448a7e427365bee7d311
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / caresmcp-1.0.0-py3-none-any.whl

Download URL caresmcp-1.0.0-py3-none-any.whl
Size 156.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f9d3137cf51798dadee9345c6e3612f96b97e1101bf84ac51f5c19c65394c858
BLAKE2b-256 checksum
How to use checksums
3fee6b4baebc45c729b376b4f4ee52852143d7a465a548aa81320253eb77c209
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for caresmcp 1.0.0

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

1.0.0 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