[](https://www.npmjs.com/package/leantoken)
[](https://www.npmjs.com/package/leantoken)
[](https://www.rust-lang.org/)
[](#license)
[Install](#quick-start) · [Why LeanToken](#why-leantoken) · [Tools](#available-tools) · [CLI](#cli-usage) · [How it works](#how-it-works) · [Docs](#documentation)
|
Local by default Source is indexed on your machine in a local database. LeanToken is a read-only discovery and retrieval layer. |
Explicit token budgets Every response has an explicit token limit, so large files cannot take over the request. |
Built for agent workflows Find files, search code, inspect structure, read exact ranges, trace history, query JSON, and track token usage through focused tools. |