Inspiration
In 2021 I built a Telegram bot that checked portfolios. The questions I remember best were simpler than the numbers: is my money okay, and is my goal realistic?
What it does
DIVID Planner makes a one-year plan for money you've saved. You can connect it in Claude or use it on the web. A simulation model tests the plan against 1,000+ one-year market scenarios built from real price history, with your pay, bills and surprise costs. Each goal's chances show up in plain words, from Very low to Very high, next to what a very bad year (about 1 in 100) would leave you with, in dollars. You can try changes and compare them side by side. It never manages, trades or moves money.
How we built it
A Python simulation model behind our API, a remote MCP server in TypeScript, and an MCP App in React for the cards Claude shows in the chat. Every tool result has two parts: structured data for the card and a short text for Claude. Claude is told to explain only the numbers the model returns.
Challenges we ran into
Claude liked to retell cards that already showed the numbers. The rules for Claude had to fit in server instructions under 2,000 characters. And old cards stayed clickable in long chats.
What we learned
Words take as much care as math. One verb in a tool description can make a calculation read like a judgment.
This page was written by AI from our engineering notes.
Not financial advice. Built for people in the US, 18+.
Built With
- django
- model-context-protocol
- numpy
- python
- react
- typescript