repo_statusLABSCO SUMMARY
Read-only by default — it plans and verifies, your editor does the writing.
None of these tools edit source. That split is the point: the agent gathers evidence, states what it intends to change, applies the edit with its normal tools, and then the same evidence model checks whether the result stayed inside the boundary it declared. Memory and compressed-context tools do write local .ok/ artifacts so facts and handles survive the session. Exact evidence stays authoritative over heuristic evidence, and ambiguity is returned as ambiguity rather than promoted to a fact.
What it is
A local repository evidence layer for coding agents. It indexes code, symbols, references, tests, git history, docs and architecture into one model, compiles the smallest useful context for a task, and verifies the resulting change. No hosted index and no source upload.
What you get
- Navigation first:
repo_status,search_code,search_symbols,get_definition,get_referencesandget_symbol_contextresolve the code facts before an edit impact_analysisreturns direct and indirect dependents with a risk score;find_tests_for_changeandrecommend_validation_planpick the validation targetsownership_lookupranks owners from CODEOWNERS, local git history and repo memory, with source breakdown, confidence and staleness;reviewer_suggestionsranks reviewers from stored review evidencepreflight_changereturns a short evidence-backed verdict — confirmed edit files, likely affected files, validation commands, risks and evidence quality;plan_changeandbuild_context_packreturn the full groundingcreate_change_contractstores a versioned pre-edit contract;verify_change_contractchecks the changed files, a diff or a git range against it, andexplain_verificationsummarises the verdictbuild_compressed_contextstores snippets locally and hands back handles thatretrieve_contextexpandsremember_factandsearch_memorykeep append-only repo facts with provenance- Search responses paginate with returned, limit, offset, has_more, truncated, warnings and caveats
Requirements
Install open-kioku globally from npm and run ok setup agent claude --repo . or ok setup agent cursor --repo . — without --apply first, to see the changes. The MCP server runs over stdio as ok mcp serve --repo <YOUR_PATH_TO_REPO> --read-only. Command execution and validation attestations are opt-in behind --approval-required, --allow-command and --deny-network. Optional semantic retrieval runs locally.
Setup effort
One command — npm install -g open-kioku
USE CASES
Deciding whether a change is safe to start
Get a verdict with confidence, the files that will actually be touched, and the tests that cover them — before the first edit.
Checking the edit did what was promised
Verify the diff against the stored contract and read back boundary failures and dependency deltas.
Finding who should review it
Rank owners and reviewers from CODEOWNERS, author history and stored review evidence, with the staleness attached.
Stopping the agent from re-reading the repo every session
Store repo facts with provenance and recall them, then verify them against indexed code before relying on them.
58 tools
Listed in project docs. Your client may show a different list.
list_fileslist_languageslist_symbolsdetect_architecturearchitecture_boundariesarchitecture_violationsarchitecture_policy_validatearchitecture_policy_checkarchitecture_policy_explainsummarize_architecturesearch_codesearch_filessearch_symbolsregex_searchget_definitionget_referencesget_symbol_contextdependency_pathimpact_analysismodule_dependenciesbuild_context_packbuild_compressed_contextretrieve_contextplan_changepreflight_changecreate_change_contractget_change_contractexplain_fileexplain_symbolremember_factsearch_memoryfind_tests_for_changerecommend_validation_planexplain_test_coveragepropose_patchverify_changeverify_change_contractexplain_verificationhistory_provenance_lookupchurn_analysishistory_similar_changesownership_lookupreviewer_suggestionssemantic_statussemantic_searchhybrid_searchexplain_search_resultstructural_searchget_implementationsget_callersget_calleesexplain_flowmap_stacktrace_to_codefind_errors_for_symbolfind_recent_failurescheck_dependency_deltaquery_evidence_graphBEFORE YOU INSTALL
What to know first
Tools you get
58 tools named in the project's documentation.
Requires
npm on PATH
INSTALLATION
Connect your client
Server setup
npm install -g open-kiokuMCP Clients
Claude Desktop
ok mcp install claude --repo <YOUR_PATH_TO_REPO>Cursor
ok mcp install cursor --repo <YOUR_PATH_TO_REPO>Codex
ok mcp install codex --repo <YOUR_PATH_TO_REPO>Gemini CLI
ok mcp install gemini --repo <YOUR_PATH_TO_REPO>OpenCode
ok mcp install opencode --repo <YOUR_PATH_TO_REPO>Zed
ok mcp install zed --repo <YOUR_PATH_TO_REPO>Windsurf
ok mcp install windsurf --repo <YOUR_PATH_TO_REPO>Trae
ok mcp install trae --repo <YOUR_PATH_TO_REPO>