Repository navigation
Releases
Klew 0.1.0
First release of Klew, an MCP context server for coding agents, built on open-source HydraDB.
Klew indexes a repo into a code graph in HydraDB. For a task it walks that graph and returns a token-budgeted context pack with a why-path for every file, and it learns from every merged PR which paths led to the files that actually changed.
Live demo: https://klew-demo.onrender.com
Install
| Python (CLI + MCP server) | pip install klew or uvx klew |
| Local HydraDB | klew hydra up (Docker) |
| Index a repo | klew index . |
| Claude Code plugin | /plugin install klew --marketplace IronicRayquaza/klew |
| Claude Desktop | download klew.mcpb below and double-click it |
The Desktop extension needs uv and Docker; run uvx klew hydra up and uvx klew index <repo> once.
Results (held-out commits, same 2,000-token budget)
Right file in the agent's context: 95% vs 58% for vector RAG on httpx, 92% vs 45% on flask, 72% vs 35% on ODS (never tuned on), at about half the tokens per correct file. Learning from merged PRs significantly improves top-1 and MRR on all three repos. Full numbers with 95% confidence intervals are in the README and on the Evidence page.