trigram-indexed · local · mcp-native

Search code at
index speed

Published documentation for TriSeek. Start with install and standalone CLI usage, then jump into MCP integration or the deeper architecture walkthroughs.

zsh — /path/to/repo
triseek "AuthConfig" /path/to/repo
Searching via trigram index…
src/auth/config.rs:12 AuthConfig { timeout: 30, … }
src/middleware/auth.rs:47 fn load(AuthConfig) → Result<…>
tests/auth_test.rs:8 let cfg = AuthConfig::default();
─────────────────────────────────────────
3 matches · strategy: triseek_indexed · 12ms
<50ms
indexed queries
30/39
benchmarks beat rg
mmap
zero-copy index reads
// documentation

Where to start

Served from /docs via GitHub Actions and GitHub Pages.

// why triseek

Built for AI-assisted workflows

TriSeek is designed to give LLM agents fast, bounded, local code search — without shell access or raw file bodies.

Trigram Index
Pre-built index enables sub-50ms responses for most queries, even on large repos.
🔒
Local Only
No network, no telemetry, no OAuth. Runs entirely on your machine via stdio.
MCP Native
Drop-in stdio MCP server for Claude Code, Codex, and any MCP-capable client.
Graceful Fallback
Falls back to direct scan or ripgrep when index is absent, with routing signals in every response.
Bounded Output
Clipped responses, deduped matches, line preview truncation — safe for MCP budgets.
Memo & Cache
Tracks file reads per session and caches search results. Prevents redundant re-reads and re-scans across all harnesses.
Cross-Platform
Pre-built releases for Linux x86_64, macOS x86_64 + aarch64, and Windows x86_64.