SourceMinder - Token-Efficient Code Index for Solo Devs and LLMs

SourceMinder

1 min read Original article ↗

SourceMinder is a set of local CLI tools for understanding code. Index your codebase with index-<lang>, then query the index for symbols, using qi.

7 languages [1]

6 ms typical query [2]

0 cloud calls

qitoken-efficient search.

Try it

Click a command to run it, or type your own.

  • qi getcaller -x noise # find a symbol by name (case-insensitive), no strings or comments
  • qi set% -i func # wildcard match, functions only
  • qi setlevel --def -e # expand the full definition
  • qi % -f logrus.go --toc # table of contents for one file

Full command reference

Install pre-packaged binaries for x86_64 Linux:

curl -fsSl https://sourceminder.org/install.sh | bash

Fewer tokens for your AI agent, same answers.

Without SourceMinder

~29.6 K

total tokens · grep + cat · full reads

With SourceMinder

~25.2 K

total tokens · grep + qi · partial reads

Net result [3]

↓ ~15 %

fewer tokens · lower cost