dearkarl: a read-only MCP server that feeds Claude only the emails you forward
Fit-Stranger1738 · reddit · 2026-12-06
Weekend developer Olek built dearkarl, a way to give Claude access to specific emails without connecting your whole Gmail. You forward mail to a secret address; a Cloudflare Worker converts it to Markdown and writes it to one Google Drive folder (or an inbox/ directory in a private GitHub repo), which an MCP server exposes to Claude.
The MCP side is strictly read-only (listfiles, readfile) — no sending or deleting. Auth is OAuth 2.1 for Claude apps or a personal token for Claude Code, with tokens stored as hashes. Only mail verifiably from your own address (DMARC/SPF) is saved, and mail passes through Worker memory for seconds without touching disk. Hosted version is free; code is open source with an MIT self-hosted option.
Open design question: MCP has no good way to notify clients that new mail arrived — Claude only sees it when calling listfiles (the self-hosted version uses a Claude Code session-start hook).
More from coding & agent
- Hermes in 7 Days: a 7-part agent tutorial series launching Day 1 — Teknium · 2026-12-06
- Line-by-line audit of 5 open-source AI apps finds prompt-caching leaks in all of them — florijanl · 2026-12-06
- Codex for Reviews and High-Logic Tasks, Gemini Resets Make It Best-Value Subscription — strickvl · 2026-12-06
- How to install the Scientific Literature customization in Google Antigravity — JeremyNguyenPhD · 2026-12-06
- Google Antigravity adds Citation Checker and Dataset Curator skills for academic research — JeremyNguyenPhD · 2026-12-06
- Multi-agent blind code review tool using 4 models from different providers, ~$2 per review — Mysterious-Desk-3492 · 2026-12-06