explaingit

klncgty/leaklens

Analysis updated 2026-05-18

0PythonAudience · generalComplexity · 2/5LicenseSetup · moderate

TLDR

A local first command line tool that scans your bank statements for forgotten subscriptions, sneaky price increases, and duplicate charges, and estimates how much money each one is costing you.

Mindmap

A visual breakdown will appear here once this repo is fully enriched.

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Scan a bank statement in CSV, PDF, or image form to find zombie subscriptions and price hikes.

USE CASE 2

Generate a ready to send cancellation email for a confirmed unwanted charge.

USE CASE 3

Schedule a monthly automated scan that emails a report without needing to confirm anything by hand.

USE CASE 4

Run LeakLens through an MCP server so an AI assistant can scan statements and ask you to confirm findings in chat.

What is it built with?

PythonLangGraphpandasSQLiteOpenRouter

How does it compare?

klncgty/leaklens0xallam/my-recipe0xhassaan/nn-from-scratch
Stars00
LanguagePythonPythonPython
Last pushed2022-11-22
MaintenanceDormant
Setup difficultymoderatemoderatemoderate
Complexity2/52/54/5
Audiencegeneralgeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires your own OpenRouter API key for merchant name normalization, since detection only sends merchant names, not full statements.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

LeakLens is a command line tool that reads your bank or credit card statements and looks for money that is quietly slipping away. It checks for zombie subscriptions you forgot to cancel, prices that crept up over time on a recurring charge, and duplicate charges billed twice on the same day. Each finding comes with a confidence score, an estimate of how much it costs you per year, and an option to generate a ready to send cancellation email. You can feed it statements as CSV files, PDFs, or even photos and screenshots in formats like JPG or PNG. If the text in a scanned document is hard to read directly, it falls back to a vision model to pull out the numbers. The detection itself runs locally using pandas, and only merchant names are sent out to a language model through your own OpenRouter API key, so your financial details stay on your machine. The tool also recognizes statement formats from several Turkish banks, including Is Bankasi, Garanti BBVA, Yapi Kredi, Akbank, Ziraat, and Enpara, and maps their column names automatically. When a finding is uncertain, LeakLens pauses and asks you to confirm it before moving on, a pause and resume flow built with LangGraph that works the same whether you are using the command line, an MCP server, or a future web interface. Every scan is saved locally in a SQLite database so you can compare new results against past runs and see what changed. Beyond manual use, LeakLens can run without any human input for automated setups, such as a monthly cron job that emails a report, or being called through an MCP server so an AI assistant like Claude Desktop, Cursor, or VS Code can scan a statement and ask you to confirm findings directly in chat. It is released under the MIT license.

Copy-paste prompts

Prompt 1
Help me install LeakLens and configure my OpenRouter API key so I can run my first scan.
Prompt 2
Walk me through running leaklens demo to see how the tool detects zombie subscriptions and price hikes.
Prompt 3
Show me how to set up leaklens-mcp so I can scan bank statements from inside Claude Desktop or Cursor.
Prompt 4
Explain how to schedule a monthly cron job that runs leaklens scan with --no-interactive and emails me the report.

Frequently asked questions

What is leaklens?

A local first command line tool that scans your bank statements for forgotten subscriptions, sneaky price increases, and duplicate charges, and estimates how much money each one is costing you.

What language is leaklens written in?

Mainly Python. The stack also includes Python, LangGraph, pandas.

What license does leaklens use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is leaklens to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is leaklens for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.