
Oncofiles
io.github.peter-fusekPublished by GitHub account peter-fusekv4.9.0Updated Oct 24, 2026
AI-powered medical document management for cancer patients. Google Drive, Gmail, Calendar via MCP.
Overview
Oncofiles is a remote MCP server for cancer patients and caregivers that organizes medical documents from Google Drive, Gmail and Calendar and answers health…
- What you can do
- Read, search, view and version medical documents across 14 categories such as labs, pathology, imaging and prescriptions
- Store lab values, track trends and run pre-cycle safety checks for chemo protocols
- Scan Gmail and Calendar to detect and classify medical emails and appointments, and sync Google Drive bidirectionally with OCR companion files
- Track treatment events on a timeline and search PubMed and ClinicalTrials.gov, logging research decisions
- Generate AI metadata such as summaries, tags and structured extraction, with audit logging of tool calls
- When to use it
- Useful when a patient or caregiver has medical records scattered across Google Drive, Gmail and Calendar and wants to ask an AI assistant about labs, reports and appointments in one place, including multi-patient setups with separate tokens.
- Requirements
- Remote endpoint at oncofiles.com with OAuth sign-in required. Google Drive, Gmail and Calendar must be authorized per patient. A self-hosted instance needs Python 3.12+ and uv, a database path, and optional Google OAuth client credentials, Turso settings and a bearer token.
Installation
In SourceWeft
- Open Oncofiles in the dashboard and add it to a workspace.
- Connect the required credentials. They are stored privately and never shown on public pages.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.peter-fusek%2Foncofiles/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.
{
"mcpServers": {
"oncofiles": {
"type": "http",
"url": "https://oncofiles.com/mcp"
}
}
}README
oncofiles
[Tests] [Python] [MCP] [Claude] [ChatGPT] [License]
Your medical records are scattered across Gmail, Google Drive, and Calendar. Oncofiles reads everything, organizes it, and makes it available through AI — so you can ask about your health naturally in Claude or ChatGPT.
oncofiles.com | Demo Dashboard | Privacy Policy
What is this?
Oncofiles is an MCP server built for cancer patients and their caregivers. It connects to your Google Drive, Gmail, and Calendar, reads all your medical documents (lab results, CT scans, pathology reports, prescriptions), and makes them accessible through any AI chat — Claude, ChatGPT, or any MCP client.
Built from real need: Created by a caregiver managing his wife's cancer treatment. Hundreds of documents, dozens of doctors, constantly changing lab results. Oncofiles organizes the chaos so you can focus on treatment, not on finding papers.
Sister project: Oncoteam — an AI agent that analyzes your Oncofiles data: tracks lab trends, searches clinical trials, and prepares questions for your oncologist.
Your data, your control: Everything stays in your Google Drive. No third-party data processing. Disconnect anytime — your files are always yours.
Multi-Patient Support (v4.0+)
Oncofiles supports multiple patients on a single instance. Each patient gets:
- Full data isolation — documents, labs, treatment events, emails, and calendar entries are scoped to the patient
- Separate bearer tokens — each patient (or caregiver) gets their own
onco_*token - Per-patient OAuth — Google Drive, Gmail, and Calendar are authorized per patient
- Dashboard patient selector — switch between patients in the web dashboard
Onboarding a new patient
- Dashboard wizard: Open the dashboard, click "+ New Patient", and follow the 4-step wizard
- API:
POST /api/patientswith{patient_id, display_name}— returns a bearer token - Connect GDrive: Visit
/oauth/authorize/drive?patient_id=Xto authorize document sync - Trigger first sync:
POST /api/sync-triggerwith{patient_id}to import documents
Features
- 76 MCP tools across 14 modules for comprehensive medical data management
- 14 document categories — labs, pathology, imaging, genetics, surgery, consultation, prescriptions, and more
- Lab value tracking — store values, track trends, pre-cycle safety checks for chemo protocols
- Google Drive sync — bidirectional sync with automatic OCR companion files
- Gmail & Calendar scanning — medical emails and appointments are auto-detected and classified
- Clinical research — search PubMed and ClinicalTrials.gov, log research decisions
- Treatment timeline — track chemo cycles, surgeries, and other treatment events
- Document versioning — track document revisions with full history
- AI-powered metadata — automatic summaries, tags, and structured data extraction
- Audit logging — every tool call is logged for accountability
Architecture
Stack: Python 3.12+ · FastMCP 3.1 · Pydantic · SQLite/Turso · Railway
Quick start
Environment variables
Connect to Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
Connect to ChatGPT
Oncofiles works with ChatGPT's MCP integration (Developer Mode). Point ChatGPT to your instance's /mcp endpoint with a bearer token.
Deploy to Railway
The included Dockerfile is ready for Railway deployment:
- Push to GitHub
- Connect repo in Railway
- Set environment variables
- Railway auto-deploys on push
Live instance: oncofiles.com
Project structure
MCP Registry
Listed on the MCP Registry as io.github.peter-fusek/oncofiles.
Contributing
See CONTRIBUTING.md for guidelines.
License
Who's Behind This
The People
The Company
Instarea — 18 years, 23 products shipped. From telecom analytics and enterprise clients (Callinspector) to mobile-first fintech (InventButton), big data exits (marketlocator → Deutsche Telekom), IoT platforms, and AI-first products (PulseShape, ReplicaCity, HomeGrif).
Oncofiles and Oncoteam are Instarea's latest — built with the same engineering discipline that delivered enterprise-grade products for banking, telecom, and data industries.
10+ verified, synchronized team members available across front-end, back-end, integration, data science, UX/UI, marketing, and cloud ops.
"We take it personally, with our own faces, like family and at work."
Source: README.md at commit 0abd270
Tools
0Version history
1- v4.9.0LatestSep 16, 2026
Score
85% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
- Auth declaredRequired10 pts
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts