Pincher

•

Provides a codebase intelligence server that indexes projects into layered storage for efficient querying by LLM agents.

Pincher operates as a standalone Go binary, creating a comprehensive index of codebases across three integrated layers: a byte-offset symbol store, a knowledge graph, and an FTS5 full-text search engine. Designed to empower LLM agents, it offers 15 specialized tools and an HTTP REST API for querying source code, understanding architectural relationships, and performing advanced searches. This system efficiently provides real-time token usage and savings metrics, enabling intelligent agents to navigate and comprehend complex codebases without external cloud dependencies.

Key Features

01Supports Cypher-like graph queries and FTS5 BM25 full-text search across names, signatures, and docstrings.
02Indexes codebases into three co-located layers: byte-offset symbol store, knowledge graph, and FTS5 full-text search.
03Exposes indexed data through 15 specialized tools or an HTTP REST API for LLM agents.
040 GitHub stars
05Offers incremental re-indexing, automatic file change detection, and transparent resolution of stale symbol IDs.
06Provides real-time token usage, savings, latency, and cost-avoided metrics with every tool response.

Use Cases

01Enhancing LLM agent capabilities by providing direct, efficient access to codebase intelligence.
02Quickly understanding the architecture, hotspots, and call paths within any unfamiliar project.
03Storing and querying architectural decisions, project notes, or external documentation as part of the codebase knowledge base.