unch is centered around these main command families:
unch authto save provider credentials such as an OpenRouter API keyunch indexto build or refresh a local indexunch searchto query the current indexunch remoteto sync or download published remote stateunch start mcpto expose the index to MCP clients
Auth
Save provider credentials without keeping tokens in your shell environment.
Index
Build or refresh
.semsearch for a repository.Search
Query the active index with semantic, lexical, or auto mode.
Remote
Reuse published CI state or download an index for a specific commit.
MCP
Let agents search the repository through stdio MCP tools.
Typical local flow
- Local first
- Remote state
Typical remote flow
Typical MCP flow for Codex
unch start mcp automatically through the registered MCP server and use the installed unch skill when code search helps.