✓ 100% Local Data Privacy GNU GPL-3.0 Open Source Paper In Press

Your knowledge. Your device.
Better answers.

MyGPT is a privacy-first, open-source Retrieval-Augmented Generation (RAG) platform with real-time confidence metrics and in-document source highlighting. Ask questions across your research papers, clinical protocols, and document collections—with verifiable citations and zero third-party API costs, running entirely on your personal device or institutional infrastructure.

Why Choose MyGPT?

A modular RAG stack designed for enterprise, research, and personal use, prioritizing security and factual accuracy.

100% Data Privacy

Deploy locally on your computer or private network. Your confidential PDFs, research papers, and chat histories never leave your device.

Zero Hallucinations

Our pipeline forces the local LLM to rely strictly on the retrieved passages of your documents. Every response includes clickable source citations.

Confidence Metrics

MyGPT calculates real-time metrics for every query: Question Relevance Score (QRS), Answer Relevance Score (ARS), and Hallucination Index (HI).

Model Context Protocol

Built-in MCP server and client integration allows you to connect private database context and other LLM ecosystem tools securely.

Zero API Cost

By leveraging open-source LLMs through Ollama (like Llama 3, Gemma 2, and DeepSeek), you eliminate monthly API subscription fees entirely.

Multi-Source Libraries

Build your searchable knowledge bases by directly uploading PDFs, importing shared Zotero folders, or organizing custom document collections.

Interface & Capabilities Showcase

A modular workspace engineered for researchers, clinical teams, and data analysts.

Model Context Protocol Interface
Interoperability

Model Context Protocol (MCP)

Seamlessly expose private document context to Claude Desktop, IDEs, and other MCP-compliant autonomous agent pipelines.

Zotero Integration Menu
Literature Sync

Zotero Collection Ingestion

Directly connect your personal or shared Zotero libraries to instantly synchronize collections of papers without manual file copying.

Document Upload & Chunking Configuration
Fine-Grained Ingestion

Chunking & Distance Controls

Customize token lengths, overlap margins, Chroma DB vector metrics, and BM25 hybrid indexing tailored to your specific literature domain.

Inference and Creativity Settings
Model Freedom

Dynamic LLM Swapping

Switch between Llama 3.1, Gemma 2, DeepSeek-R1, Mistral, or edge models with customizable temperature and top-p sampling on the fly.

Interactive RAG Simulator

See exactly how the local pipeline process resolves queries step-by-step from raw question to certified answer.

MyGPT
Upload Settings History Jaimin

Ask a Question

Ask a question about a paper or a topic from your publication library. We will try to answer it using the GPT models.

llama3.1:latest
Type your question here
Chat to LLM without documents

Your document library

GPCR test
None
All
100%
1 of 15
No document loaded. Run the simulator to analyze library.

Installation Guide

Set up MyGPT on your system using our prebuilt Docker images and script controls.

Setup on Mac OS (Apple Silicon M-Series or Intel)

Requires at least 8 CPUs, 8 GB RAM (16 GB recommended for faster responses), and 10 GB disk space. Ensure Homebrew, Git, Docker Desktop, and Ollama are installed.

1. Pull local models via Ollama

ollama pull llama3
ollama pull nomic-embed-text

2. Clone the public GitHub repository

git clone https://github.com/stjude/MyGPT.git
cd MyGPT

3. Initialize environment variables

cp .env_backend.example .env_backend
cp .env_frontend.example .env_frontend

These files configure your local container parameters securely without committing secrets.

4. Launch MyGPT containers

cd installation/macOS
bash run_docker.sh

Alternatively, launch directly with Docker Compose from the root folder: docker compose up -d. Once started, open http://localhost:3000 in your browser.

Setup on Linux (Ubuntu / Debian / RedHat)

Requires at least 8 CPUs, 8 GB RAM (16 GB recommended), and 10 GB disk space. Compatible with both CPU and NVIDIA GPU acceleration.

1. Start Ollama service & pull models

sudo systemctl start ollama
ollama pull llama3
ollama pull nomic-embed-text

2. Clone repository & configure environment

git clone https://github.com/stjude/MyGPT.git
cd MyGPT
cp .env_backend.example .env_backend
cp .env_frontend.example .env_frontend

3. Run MyGPT containers

cd installation/linux
sudo sh run_docker.sh

For GPU systems with CUDA: docker compose -f docker-compose-gpu.yml up -d

Setup on Windows 10 / 11 (via Docker Desktop)

Ensure Docker Desktop (with WSL 2 backend) and Git are installed on your Windows PC.

1. Pull models with Ollama

ollama pull llama3
ollama pull nomic-embed-text

2. Clone repository and setup environment

git clone https://github.com/stjude/MyGPT.git
cd MyGPT
copy .env_backend.example .env_backend
copy .env_frontend.example .env_frontend

3. Execute Windows setup script

cd installation\windows
run_docker.bat

Access the UI at http://localhost:3000.

Enterprise / Institutional Server Deployment

For enterprise workgroups, we recommend distributing the frontend, Django backend, and Ollama server across three separate virtual machines. The Ollama VM should have dedicated high-performance GPU resources (CUDA setup).

Configuration endpoints

Set the environment endpoints in your .env_frontend and .env_backend files:

REACT_APP_BACKEND_URL = 'http://<backend-vm-ip>:8000'
OLLAMA_HOST = 'http://<ollama-vm-ip>:11434'
Read Full Server Installation Guide

Cloud Deployment (Microsoft Azure)

Deploy on Azure using isolated NC-series GPU VMs. The following configuration balances performance, security, and cost efficiency.

Infrastructure Role Recommended Azure VM Type Specifications
LLM Inference Server NC8as T4 v3 1x Nvidia T4, 8 vCPUs, 56 GB RAM
Django Backend + UI E4ads v5 4 vCPUs, 32 GB RAM
Read Full Azure Cloud Deployment Guide

Scientific Research & Citation

MyGPT was developed at St. Jude Children's Research Hospital to democratize privacy-first, verifiable literature exploration.

Democratizing reliable knowledge-seeking with MyGPT: A Privacy-First, Open-Source Retrieval-Augmented Generation Platform

Authors: Jaimin Patel, Jude Downing, Hugh Ferguson, Thika You, Duccio Malinverni, Steve Mathew D. A., Ines Chen, Madison Sluter, Beth Moorefield, Katalin Parej, Mukundan Ragavan, Cindy Morris, Dinesh Keerthi, Desiree Becerra Armada, Balint Meszaros, Vikas Trivedi, Shahinur Alam, Anthony Woodard, Dan Alford, Sagar Pathak, Cai Li, Renato Umeton, Carlos Rodriguez-Galindo, Catherine G. Lam, Stephen Gottschalk, Charalampos G. Kalodimos, and M. Madan Babu.

In text, cite this work as Patel et al. (in press) or (Patel et al., in press).

BibTeX Citation
@article{patel2026mygpt,
  author  = {Patel, Jaimin and Downing, Jude and Ferguson, Hugh and You, Thika and Malinverni, Duccio and Mathew D. A., Steve and Chen, Ines and Sluter, Madison and Moorefield, Beth and Parej, Katalin and Ragavan, Mukundan and Morris, Cindy and Keerthi, Dinesh and Becerra Armada, Desiree and Meszaros, Balint and Trivedi, Vikas and Alam, Shahinur and Woodard, Anthony and Alford, Dan and Pathak, Sagar and Li, Cai and Umeton, Renato and Rodriguez-Galindo, Carlos and Lam, Catherine G. and Gottschalk, Stephen and Kalodimos, Charalampos G. and Babu, M. Madan},
  title   = {Democratizing reliable knowledge-seeking with MyGPT: A Privacy-First, Open-Source Retrieval-Augmented Generation Platform},
  note    = {In press},
  doi     = {10.5281/zenodo.22165249},
  year    = {2026}
}

BioASQ Benchmark

PDF document collection curated for biomedical question-answering evaluation, openly deposited in the evaluation repository.

PubMedQA & Open RAG

Standardized literature benchmarks with full PMID and DOI references to validate factual precision against ground-truth answers.

Multilingual Health Policies

Validated across complex global health policy documentation across multiple international languages without external API leakage.