Envelopes
A private, mobile-first household virtual envelope budgeting app on Cloudflare Workers, D1, and R2 with income routing waterfalls, expected-charge safe-to-spend tracking, separate holding reserves, and a remote MCP server for an AI assistant.
Stack: React, TypeScript, Hono, Cloudflare Workers, D1 & R2, MCP
What it is
Note: Envelopes is a private, internal tool built strictly for my own household. It is not open to public sign-ups and is not a commercial product.
Envelopes is a mobile-first virtual budgeting system that tracks how much household money is available across spending, sinking, profit, and long-term reserve buckets without moving real bank funds.
- Monthly, Sinking, and Uncapped Envelopes: Regular monthly bills and groceries sit alongside multi-month sinking funds (such as yearly insurance and property taxes) and uncapped profit or investing buckets, with Next Month staging once current monthly targets are full. - Expected Charges and Safe-to-Spend: Recurring bills reserve cash inside an envelope ahead of time so the card shows both total balance and what is actually free to spend before scheduled charges post. - Income Routing Rules and Overflow Waterfalls: Each income event distributes by percentage across envelopes and cascades overflow past capped targets down a prioritized fallback path. - Reserves, Refunds, and Flagged Charges: Long-term holding accounts (Emergency Fund, home projects, car replacement) live in a separate Reserves view reconciled independently from everyday checking. Merchant refunds offset spending cleanly, and spam or disputed charges move through a Flagged Charges to-do flow. - Remote Streamable HTTP MCP Server: An AI assistant uploads receipts to R2, proposes line-item transaction splits with rationale, suggests reusable merchant rules, and proposes updates to a shared AI Guide shown as a line-by-line diff for human approval.
What problem it solves
A single checking account balance hides how much cash is already spoken for by upcoming bills, annual property taxes, or long-term savings goals, while traditional budgeting apps either force manual categorization on every receipt or lock you into rigid bank-sync workflows.
Envelopes splits money virtually on top of existing accounts and pairs a fast phone-first UI with human-in-the-loop AI automation: an agent handles the tedious receipt parsing, merchant rule suggestions, and split drafts through /mcp, while every proposal lands in Needs Attention for one-tap review before touching confirmed balances.
Current status
Private personal and family-only tool running on Cloudflare Workers, D1, and R2 with allowlisted Google OAuth and automated Playwright E2E coverage. All screenshots and video clips use synthetic demo data.