메뉴
HN
Hacker News 36일 전

클로드 코드 루틴으로 자산 관리 자동화하기

IMP
8/10
핵심 요약

한 개발자가 매일 반복되던 자산 확인의 번거로움을 줄이기 위해 은행, 카드, 증권 계좌를 연동하는 MCP 서버 'Driggsby'를 개발했습니다. 이후 최근 공개된 Claude Code 루틴 기능과 연동하여 별도의 복잡한 코드 작성 없이 단순한 프롬프트 입력만으로 매일 아침 자산 현황을 이메일로 자동 수신하는 시스템을 단 몇 분 만에 성공적으로 구축했습니다.

번역된 본문

몇 달 전, 저는 은행, 신용카드, 증권 및 퇴직연금 계좌에 자동으로 로그인하여 데이터를 수집하는 까다로운 일일 크론탭(cron-job)을 하나 구축했습니다. 이 시스템은 Codex CLI를 비대화형 모드로 실행했으며, 매우 단순한 역할을 수행했습니다. Chrome DevTools MCP를 사용해 각 웹사이트에 로그인하고, 잔액과 최근 거래 내역을 추출한 뒤 제 아내와 저에게 '일일 재정 개요' 이메일을 보내는 것이었습니다.

놀랍게도 처음에는 정말 잘 작동했습니다. 물론, 그다음 날까지 말이죠. 그날 이후로 시스템이 망가졌습니다. 이런 패턴이 꽤 오래 지속되었습니다. 대부분의 경우 작동했지만, 브라우저 렌더링의 사소한 문제가 발생해 그날 작동이 실패하거나, 예기치 않은 2FA(2단계 인증) 프롬프트가 떠서 해당 계정 접속이 완전히 차단되기도 했습니다. 때로는 GPT가 이메일 형식을 완전히 바꿔버리거나, 실행 중 혼란을 겪어 단 하나의 계정 정보만 가져오기도 했습니다. 게다가 패스키(passkey) 로그인만 허용하는 새로운 계정도 추가해야 했습니다.

결국 저는 매일 이메일이 제대로 오지 않을 때마다 불만을 품는 아내를 위한 무급 기술 지원책 역할을 하게 되었습니다. 그러다 어느새 이 과정의 스트레스를 줄여보고자 MCP 서버인 Driggsby를 구축하게 되었습니다. 2개월의 개발 기간과 7만 5천 줄의 Rust 코드, 그리고 Plaid와의 계약을 거쳐 이 프로젝트가 완성되었습니다.

루틴(Routine)의 잠재력 개괄적으로 Driggsby는 Plaid를 통해 금융 계좌에 연결됩니다. 그런 다음 MCP를 통해 다양한 도구를 노출합니다. 잔액, 거래 내역, 투자 정보, 대출 정보 등은 각각 전용 도구를 통해 접근할 수 있습니다.

처음에 제가 Driggsby를 사용했던 유일한 방법은 대화형이자 필요할 때마다 요청하는 방식이었습니다. 금융 관련 질문이 있을 때마다 Claude를 열어 질문하면 Driggsby를 통해 답변을 얻었습니다. 시간이 지나면서 일정한 패턴이 나타나기 시작했습니다. 제 질문의 대부분은 순자산 확인, 잔액 및 거래 내역 검토, 투자 모니터링에 관한 것이었습니다. 그래서 저는 이 과정을 가장 쉽게 자동화하려면 어떻게 해야 할지 궁금해졌습니다.

며칠 전 Claude Code 루틴 기능이 출시되었고, 즉시 제 관심을 끌었습니다. 이미 Claude Code를 사용하고 있었기에 이 기능은 제가 원하는 어떤 작업이든 수행하는 에이전트를 더 쉽게 배포할 수 있게 해줄 것 같았습니다.

물론 클라우드에서 실행되는 에이전트 루프 자체는 새로운 것이 아닙니다. 이미 수많은 솔루션이 존재합니다. 하지만 Claude Code 루틴의 새로운 점은 설정의 편의성입니다. 복잡한 에이전트 루프 코드를 작성하고 어디에 배포할지 고민하거나, Hetzner 서버에 OpenClaw, Codex SDK, claude -p 등을 띄울 필요가 없습니다. 그저 프롬프트만 작성하면 됩니다. 일종의 MCP 커넥터를 통해 데이터와 도구를 루틴에 깔끔하게 연결할 수 있다면, 무엇이든 해낼 수 있습니다.

일일 이메일 우선, 저는 처음 시작했던 지점인 '일일 이메일'로 돌아갔습니다. 애초에 우리가 가장 원했던 것은 모든 계좌와 순자산에 대한 개요가 담긴 깔끔하고 보기 좋은 형식의 일일 이메일이었습니다. 수년간 이 정보는 Google Drive 어딘가에 있는 먼지 쌓인 오래된 스프레드시트에 방치되어 있었습니다. 업데이트하는 데 15분밖에 걸리지 않았지만, 그 미세한 귀찮음 때문에 자주 하지 못했습니다. 기껏해야 6개월에 한 번꼴로 업데이트했을 겁니다.

이것을 루틴으로 설정하는 것이 얼마나 어려울까요? 놀랍게도 비정상적으로 쉬웠습니다. 아래에 프롬프트를 입력하고, 매일 아침 실행되도록 시간을 예약한 뒤, Driggsby 커스텀 커넥터를 연결하고 저장을 눌렀습니다.

하지만 곧 문제가 하나 있다는 것을 깨달았습니다. 바로 저에게 이메일을 보낼 방법이 없다는 것이었습니다. 다행히 간단한 해결책이 있었습니다. Gmail 커넥터를 추가하고 저장을 누른 것입니다. 드디어 저는 아름답게 서식이 지정되고 정보가 가득한... 이메일 '초안'을 갖게 되었습니다.

좀 황당하게도 Gmail 커넥터는 실제로 이메일을 발송할 수 없고 초안만 생성할 수 있었습니다. 결국 다시 백지상태로 돌아갔습니다. Claude 커넥터 스토어를 둘러보았지만 마음에 드는 이메일 발송 방식을 찾지 못해, Driggsby에 간단한 MCP 도구를 추가했습니다. 이 도구는 생각보다 매우 편리했습니다. 바로 email_me() 함수입니다. 이메일 발송을 계정 소유자의 인증된 이메일로만 제한하고 링크를 금지하여 보안을 강화했습니다.

원문 보기
원문 보기 (영어)
product Could a Claude Code routine watch my finances? Matt May • April 23, 2026 • All posts A few months ago, I stood up a fiddly daily cron-job to log into my bank, credit card, and brokerage/retirement accounts. It was powered by Codex CLI running non-interactively, and had a fairly simple job: using the Chrome DevTools MCP, log into each website, extract balances and recent transactions, then send my wife and me a sort of “daily financial overview” email. It actually worked surprisingly well. Well, until the next day. Then it broke. This pattern continued for some time — more often than not, it would work, but then some browser rendering quirk would break that day’s run, or we’d get an unexpected 2FA prompt that would brick that account. Sometimes, GPT would decide to completely change the email format, or it would get confused during a run and only pull one account’s information. Then, there was an account we needed to add that only allowed login with passkeys. Eventually, I became a sort of unpaid tech support person for my wife, who wasn’t pleased when the daily emails didn’t come through as expected. Somehow, this led to my building Driggsby, an MCP server that tries to make this process less stressful. Two months, 75k lines of Rust, and a Plaid contract later, here we are. Routines as an unlock At a high level, Driggsby hooks into financial accounts using Plaid. Then it exposes a variety of tools over MCP: balances, transactions, investment info, loan info, and the like are each accessible through their own tools. At first, the only way I used Driggsby was interactively, and on-demand — whenever I had a financial question, I’d open Claude, give it my question, and it answered using Driggsby. Over time, patterns started to emerge: most of my queries were about net worth, reviewing balances/transactions, and monitoring investments. Which made me wonder: what would be the easiest way for me to set this up on autopilot? A few days ago, Claude Code routines were released, and immediately piqued my interest. As a Claude Code user already, this seemed like it would make it even easier to deploy an agent that would do anything I wanted. Now, there’s nothing new per se about an agent loop running in the cloud. There are a million of those. What does feel new with Claude Code routines is the ease of setting one up. You don’t have to write a bunch of agent-loop code and figure out where to deploy it, or even spin up OpenClaw, the Codex SDK, or claude -p on Hetzner. You just write a prompt. If you can get your data/tools into your routine cleanly through some sort of MCP connector, you can cook. The daily email To start with, I went back to where I began — a daily email. One of the main things we’d wanted in the first place was just a clean, nicely formatted daily email with an overview of all our accounts and net worth. For years, this info had lived for us in a dusty old spreadsheet somewhere on Google Drive. It only took about 15 minutes to update it, but that tiny friction was enough to keep us from doing it very often. We probably updated it at most once every six months. How hard would this be to set up as a routine? It ended up being incredibly easy. I input the below prompt, set a scheduled time for each morning, connected the Driggsby custom connector, and hit save. Unfortunately, I then realized there was an issue: it had no way to send me an email. Thankfully, there was a simple solution: the Gmail connector. Added it, hit save. I now had a beautifully formatted, information-dense… draft sitting in my email. Oddly, it turns out the Gmail connector can’t actually send email; it can only create drafts. Back to the drawing board. After browsing the Claude connector store and not seeing a way I was comfortable with to send email, I added a simple MCP tool to Driggsby that ended up being surprisingly convenient — email_me() . By restricting email sends to the account owner’s verified email and disallowing links and images, we also made it secure enough to be comfortable with. To help with formatting inconsistency across runs, we had email_me() require the email body be Markdown, and added some nice CSS for the Markdown-rendered emails. A few small bugs popped up, which were surprisingly easy to fix because of how inspectable routines are. The UI is essentially a normal, interactive Claude Code session that you’d see when using it through Claude Desktop or the web app — which made it easy to inspect runs as they were happening. A couple test runs later, my email finally arrived. The daily email problem was solved. Now, changes to the email content over time don’t require code updates, just prompt tweaks through the routines UI. And, my wife now has her own custom daily email that she can edit with her own prompt — since we care about different things, this allows us to individually customize what we see each day. Beyond the daily email Now that the daily email was in place, new ideas started popping up. Now that I can spin up an agent with no infra burden, I wonder what else I could do with it? Since Driggsby has transaction data, this was the next one I reached for. I created a new weekly-run routine and gave it a simple prompt: A prompt this basic definitely leads to false positives, but it’s cheap to refine it over time, and cheap to review. Next, I wanted to look for anything unexpected on my checking account: were there any large or unexpected outflows? Over time, this has expanded into investments, subscription analysis, and even monitoring different categories of spending. It’s almost too easy to set up with routines — so over time, I’ll need to batch them or refine my prompts to check for multiple conditions. Why it matters The most powerful thing about routines is the ability to just try things with almost no effort. If you think of a prompt, you can run an automation. My wife — who’s a CPA — is now running her own automations, in the cloud, with data pulled live from Driggsby. That’s pretty cool. We should build more things that let you do that. - Matt, founder & tech support lead All posts