# Oncofiles [Health: Active]

**Category:** 🏢 Workplace & Productivity  
**Repository:** https://github.com/peter-fusek/oncofiles  
**GitHub Stars:** 5  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/oncofiles

## Description
AI-powered medical document management for cancer patients. Google Drive, Gmail, Calendar via MCP.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/peter-fusek/oncofiles), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
git clone https://github.com/peter-fusek/oncofiles.git
```

2. Install:

```sh
uv sync --extra dev
```

3. Start the server:

```sh
uv run oncofiles-mcp
```

## Documentation

## What Oncofiles does

Oncofiles brings cancer-treatment information from Google Drive, Gmail, and Calendar into one MCP-accessible system. It is designed for patients and caregivers managing lab results, imaging, pathology reports, prescriptions, clinical correspondence, appointments, and treatment history.

The server includes 76 tools arranged across 14 modules. These cover document creation, search, viewing, updates, and version history; lab-value storage and trend tracking; treatment events; research records; and other medical-data workflows. It also supports 14 document categories, including labs, pathology, imaging, genetics, surgery, consultations, and prescriptions.

Multiple patients can share one installation while keeping their records separated. Each patient has an individual bearer token, Google authorization, and scoped documents, laboratory data, treatment events, emails, and calendar entries.

## How it works

Google Drive synchronization imports medical files and can create OCR companion files. Gmail and Calendar synchronization identifies and classifies medical messages and appointments. AI-assisted processing adds summaries, tags, and structured metadata to imported information.

The MCP layer can run locally over standard input/output or remotely through streamable HTTP. Local data is stored in SQLite or libSQL; a Turso database can be used for cloud storage. Remote deployments can protect access with a bearer token. Tool calls are recorded in an audit log.

A web dashboard supports patient selection and onboarding. New patients can be created through the dashboard or API, followed by per-patient Google authorization and an initial synchronization request.

## Setup and configuration

The project requires Python 3.12 or newer. Install dependencies with `uv sync --extra dev`, then start the local server with `uv run oncofiles-mcp`. The default transport is stdio, which can be configured in Claude Desktop with the command and project directory.

`DATABASE_PATH` is required for the database file. `TURSO_DATABASE_URL` and `TURSO_AUTH_TOKEN` provide an alternative cloud database configuration. Google Drive synchronization uses `GOOGLE_DRIVE_FOLDER_ID`, `GOOGLE_OAUTH_CLIENT_ID`, and `GOOGLE_OAUTH_CLIENT_SECRET`.

For remote operation, set `MCP_TRANSPORT=streamable-http` and configure `MCP_HOST`, `MCP_PORT`, and optionally `MCP_BEARER_TOKEN`. A deployed instance exposes `/mcp` for MCP access and `/health` for a liveness check. Coolify deployment uses Railpack and requires persistent storage for SQLite or libSQL data.

## Tools and capabilities

- Manage, search, view, categorize, and version medical documents.
- Store lab values, inspect trends, and run pre-cycle chemotherapy safety checks.
- Track chemotherapy cycles, surgeries, and other treatment events.
- Search PubMed and ClinicalTrials.gov and record research decisions.
- Synchronize Google Drive files, Gmail messages, and Calendar events.
- Extract summaries, tags, and structured metadata with AI-assisted processing.
- Maintain per-patient isolation and audit tool activity.

## Limitations and notes

Oncofiles is centered on Google Drive, Gmail, and Calendar as source systems. Google authorization is configured separately for each patient. Remote access requires a streamable-HTTP deployment and an appropriate bearer token. The project does not provide a Dockerfile; its documented production deployment uses Coolify with Railpack.

_Full upstream README: https://allmcps.com/mcp/oncofiles/readme_

