Documentation
sqry semantic code search — query reference, MCP integration, LSP setup, and more.
Quick Start
Index your first codebase and run your first query in 5 minutes.
Installation
Install sqry via pre-built binaries, package managers, or build from source.
Configuration
Configure sqry with .sqry/graph/config/config.json and environment variables.
Query Syntax
Boolean query syntax — operators, fields, regex, and grouping.
Field Reference
Complete reference for every sqry query field.
Examples
Real-world sqry queries for common developer tasks.
MCP Integration
Connect Claude, Codex, and Gemini to sqry via the Model Context Protocol.
LSP Integration
Use sqry as a Language Server — standard LSP plus 27 custom methods for semantic queries.
Language Support
sqry supports 35 programming languages — 28 with full relation support, 7 with symbol extraction plus imports.
Performance
Tune sqry cache, indexing speed, and query latency.
Visualization
Export sqry graphs as Mermaid, Graphviz DOT, and D2 diagrams.
Cross-Language
Query across language boundaries — Rust↔C FFI, JS↔Python HTTP, SQL table access, and more.
Workspace Management
Index and query multiple repositories under a single workspace.
Interactive Shell
Explore your codebase in a REPL with warm index cache and query history.
Batch Processing
Run multiple queries from a file with parallel execution and structured output.
GitHub Action
Run sqry analysis in CI — dead code, cycles, duplicates, and semantic diffs on every PR.
VSCode Extension
Semantic code search, analysis panels, and code lenses in Visual Studio Code.
Security & Supply Chain
Signed builds, SLSA provenance, SBOMs, dependency auditing, fuzzing, and mutation testing.
Diagnostics & Troubleshooting
Diagnostic bundles, usage insights, query history, and index repair.