About Kiri
Kiri is an MCP server published by CAPHTECH in the Other category: a self-sustaining AI companion core — continuous stream of consciousness, autonomous agent, layered memory. Conduid read 6 tools from its source: context_bundle, deps_closure, files_search, hybrid_search, semantic_rerank and snippets_get. It is published to npm as kiri-mcp-server and starts with npx.
The repository has 153 stars and 7 forks, is licensed MIT, and its last commit was on 27 Feb 2026. The latest release is v0.26.1 (4 Jan 2026): Improve path traversal detection accuracy (PR #214): Fix false positives for Next.js catch-all routes ([...all]) Changed from substring match (includes("..")) to path se… It follows v0.26.0 (2 Jan 2026), and the 5 most recent releases go back to v0.25.6 (30 Dec 2025). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include agent-framework, ai-companion, autonomous-agents, consciousness, deepseek and digital-life.
Install
claude mcp add kiri -- npx -y kiri-mcp-servernpx -y kiri-mcp-servergit clone https://github.com/CAPHTECH/kiriTools (6)
context_bundleFind relevant code for a task| Parameter | Type | Description |
|---|---|---|
| artifacts | object | |
| boost_profile | string | File type priority: default=impl, docs=*.md, code=strongly deprioritize docs. |
| category | string | Query category for adaptive K. |
| compact | boolean | Omit preview for token savings (default: true). |
| goal * | string | Concrete keywords describing what to find. |
| limit | number | Max results (default: 7). |
| metadata_filters | object | Filter by YAML frontmatter (e.g., {tags: ['api'], category: 'auth'}). |
| path_prefix | string | Filter by path prefix (e.g., 'src/server/'). |
| why_mode | string | Return why tags as full strings or terse prefixes. |
deps_closureAnalyze dependencies| Parameter | Type | Description |
|---|---|---|
| direction | string | outbound=imports, inbound=dependents. |
| include_packages | boolean | Include node_modules dependencies. |
| max_depth | number | Max traversal depth. |
| path * | string |
files_searchSearch files by keywords| Parameter | Type | Description |
|---|---|---|
| boost_profile | string | File type priority. |
| compact | boolean | Omit previews. |
| ext | string | Filter by extension (e.g., '.ts', '.md'). |
| lang | string | Filter by language (e.g., 'typescript'). |
| limit | number | Max results (default: 50). |
| metadata_filters | object | Filter by YAML frontmatter. |
| path_prefix | string | Filter by path prefix. |
| query | string | Keyword to search (function name, error message, etc.). |
hybrid_searchSemantic code search with automatic file-type supplementation.
Runs context_bundle first; if required file types (e.g. SQL, YAML) are missing or
confidence is low, automatically supplements with files_search.
Returns coverage metadata so callers know what triggered supplementation.
Example: hybrid_search({goal: 'DuckDB schema blob tree definition'})| Parameter | Type | Description |
|---|---|---|
| boost_profile | string | File type priority. |
| compact | boolean | Omit previews for token savings (default: true). |
| goal * | string | Concrete keywords describing what to find. |
| limit | number | Max results (default: 7). |
| required_types | array | File extensions to ensure coverage for (default: ['sql']). Triggers supplemental search if missing. |
semantic_rerankRefine search results| Parameter | Type | Description |
|---|---|---|
| candidates * | array | |
| k | number | Top K results. |
| text * | string | Query text. |
snippets_getRead specific code sections| Parameter | Type | Description |
|---|---|---|
| compact | boolean | Metadata only (no content). |
| end_line | number | |
| include_line_numbers | boolean | Prefix each line with line number. |
| path * | string | |
| range_source | string | Pass context_bundle rangeSource to preserve windows when defaults change. |
| start_line | number | |
| view | string | auto=symbol boundaries, lines=exact range, full=entire file (max 500 lines). |
Security checks
- ✓README presentThe repository's README runs to about 756 words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- !No dynamic code executionScanned 99 source files and found 3 calls to eval or shell execution, in src/indexer/cochange.ts and src/indexer/dart/client.ts among others. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
Releases
README
The repository's README runs to about 756 words, fetched 13 days ago. The original in the repository is authoritative.
Read full README