Oncofiles logo

Oncofiles

Organizes cancer-care records from Google services and exposes documents, labs, timelines, and research through MCP tools.

Install Oncofiles

Run the project’s own setup commands, in order.

Setup steps from the project

Oncofiles installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    git clone https://github.com/peter-fusek/oncofiles.git
    
  2. 2. Install
    uv sync --extra dev
    
  3. 3. Start the server
    uv run oncofiles-mcp
    

Overview

Oncofiles MCP server connects Google Drive, Gmail, and Calendar data to an MCP interface for cancer patients and caregivers. It imports and classifies medical documents, emails, and appointments, then exposes them through 76 tools covering records, lab trends, treatment events, research, and document history. Local deployments use SQLite or libSQL, while remote instances can use streamable HTTP with bearer-token authentication. Reach for Oncofiles when an AI assistant needs structured access to scattered oncology records across Google services.

Use cases

  • Organize oncology records scattered across Google Drive
  • Track laboratory values and treatment-related trends
  • Search medical emails and appointments through an AI assistant
  • Record treatment events and clinical research decisions

Key features

  • 76 MCP tools across 14 modules
  • Google Drive, Gmail, and Calendar synchronization
  • Lab tracking with trend analysis and safety checks
  • Treatment timelines and research logs
  • Document categories, OCR companions, and version history
  • Per-patient isolation with separate bearer tokens

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 83d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars5Stargazers on the source repository.
Last commit6d agoMost recent push to the default branch.

How Oncofiles works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Oncofiles

Oncofiles is an MCP server that connects Google Drive, Gmail, and Google Calendar with AI assistants. Its main tools organize medical documents, track lab values and trends, manage treatment events, search clinical research, and expose emails and appointments for cancer patients and caregivers.

Install Oncofiles with `uv sync --extra dev` after cloning the repository, then run `uv run oncofiles-mcp`. Set the required `DATABASE_PATH` variable. For Claude Desktop, add the command and repository path to the MCP server configuration.

Yes, Oncofiles supports Google Drive, Gmail, and Calendar synchronization. Drive imports medical documents and can create OCR companion files, while Gmail and Calendar scanning detects and classifies medical messages and appointments. Google OAuth settings are configured for each patient.

Yes, Oncofiles supports streamable HTTP for remote access. Set `MCP_TRANSPORT=streamable-http`, configure the host and port, and optionally require `MCP_BEARER_TOKEN`. Remote MCP clients connect through the instance's `/mcp` endpoint.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewOncofiles AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/oncofiles?style=directory)](https://allmcps.com/mcp/oncofiles)
HTML Embed
<a href="https://allmcps.com/mcp/oncofiles"><img src="https://allmcps.com/api/badge/oncofiles?style=directory" alt="Oncofiles on AllMCPs" /></a>