Tool AI tool Limited info

devkb

Builds a knowledge graph of a repository from its code and its git history (functions, calls, tests, routes, errors, configuration, commits, pull requests and tickets) and answers questions such as who calls this, what might break and which tests to run. Every answer cites the source line behind it and says what the graph could not see; calls it cannot attribute are reported as Incomplete instead of guessed. Coding agents reach it through an MCP server (Claude Code, Codex, Cursor and others); the default lean-pack toolset is one `pack` tool plus seven single-question tools. Language support is uneven and stated plainly: Python and C# supported (C# checked against the compiler on five open-source repos); C and C++, TypeScript and JavaScript, and Odoo XML partial; Java, Go and Rust only at file and history level so far. The project's own benchmark (7 open-source repos, 57 tasks, 1,138 Sonnet runs) reports a median $0.025 a task with a devkb pack against $0.070 with plain search, quality 0.981 against 0.931, with the saving coming mainly from call-chain questions; a separate pre-registered study it cites reports packs 41% cheaper. The README says the graph never leaves your machine. Flags: `devkb init` edits AGENTS.md, CLAUDE.md and .mcp.json and adds a post-commit rebuild hook (`devkb init --remove` reverses it); the README admits agents told to fetch a pack mostly do not, hence an optional Claude Code hook; the `devkb` command must be on PATH, not only inside a virtualenv. Apache-2.0 for code, CC BY 4.0 for the study. 9 stars on GitHub (created 2026-11-14).

  • 9 GitHub stars
devkb — tool preview

Overview

Builds a knowledge graph of a repository from its code and its git history (functions, calls, tests, routes, errors, configuration, commits, pull requests and tickets) and answers questions such as who calls this, what might break and which tests to run. Every answer cites the source line behind it and says what the graph could not see; calls it cannot attribute are reported as Incomplete instead of guessed. Coding agents reach it through an MCP server (Claude Code, Codex, Cursor and others); the default lean-pack toolset is one `pack` tool plus seven single-question tools. Language support is uneven and stated plainly: Python and C# supported (C# checked against the compiler on five open-source repos); C and C++, TypeScript and JavaScript, and Odoo XML partial; Java, Go and Rust only at file and history level so far. The project's own benchmark (7 open-source repos, 57 tasks, 1,138 Sonnet runs) reports a median $0.025 a task with a devkb pack against $0.070 with plain search, quality 0.981 against 0.931, with the saving coming mainly from call-chain questions; a separate pre-registered study it cites reports packs 41% cheaper. The README says the graph never leaves your machine. Flags: `devkb init` edits AGENTS.md, CLAUDE.md and .mcp.json and adds a post-commit rebuild hook (`devkb init --remove` reverses it); the README admits agents told to fetch a pack mostly do not, hence an optional Claude Code hook; the `devkb` command must be on PATH, not only inside a virtualenv. Apache-2.0 for code, CC BY 4.0 for the study. 9 stars on GitHub (created 2026-11-14).

Quick summary. This page gives a short overview of this tool. For installation steps, full documentation and the latest changes, read the official source; details such as features and versions can change there first.

View on GitHub (opens in a new tab)

Example prompts example

Illustrative examples written by FoxaMind's AI Trends Scout — not quoted from the source.

  • Use it for call-chain questions; the README says plain search is as good for one-hop lookups.
  • Add devkb init --claude-hook if the agent keeps skipping the pack before edits.
  • Treat Incomplete results in partial languages (C/C++, TypeScript) as a prompt to read the code.