Agent context

Give your coding agent the whole repo.

Claude Code, Cursor, Codex and Cline call ten Repowise tools over MCP, the Model Context Protocol, and get cited answers instead of guessing from the files they happen to have open.

Zero LLM calls in the analysis. Your code stays where it is.

Measured, not claimed

31.6%
fewer output tokens
n = 43 · p = <0.0001 · Codex (gpt-5.6-sol) · django/django at a single pinned commit · 2026-08
3.8 / 7.2
tool calls, with Repowise vs without
Repowise versus bare agent in the same Codex run.
3.0 / 7.2
files opened, with Repowise vs without
Repowise versus bare agent in the same paired run.
0.876
gold-file coverage
n = 42 · p = 0.00004 · ContextBench, 42 sealed instances, Python and Go · 2026-08

Sound familiar?

Your agent is smart. It is also flying blind.

  • 01

    It reads twenty files to answer one question.

  • 02

    It changes code it has never seen the callers of.

  • 03

    Every new session starts from zero.

What makes it different

The context it was guessing at, one call away.

  1. Cited answers

    Ask anything, get the lines it came from.

    One tool call returns the answer with its sources and how confident the retrieval was.

  2. Risk before the edit

    Callers, co-changes and tests, before it touches a file.

    The agent learns what a change reaches while it is still cheap to change course.

  3. Distill

    Less to read, nothing lost.

    Test and git output shrink by 60 to 90 percent with every error line kept.

  4. Context files

    CLAUDE.md and AGENTS.md, written and kept current.

    Architecture, entry points, hotspots and conventions, regenerated as the code moves.

How it works

One index. Ten tools. Any agent.

The index the dashboard reads is served over MCP, so the agent asks a question and gets a shaped answer instead of a pile of files.
  1. 01 / Index

    Index once, update per commit

    Structure, history, tests and decisions are read from the repository and kept current.
  2. 02 / Connect

    Add the server in one command

    Claude Code, Cursor, Codex, Cline and any MCP client point at the same endpoint.
  3. 03 / Ask

    The agent picks the tool that fits

    Ask, search, risk, why, health: each question has a tool shaped for it, and every answer says how fresh it is.

On a real repository

Everything the agent needs about a file, already joined.

A file page is the smallest useful proof of the index: bounded source, signatures, dependencies, owners, health and the decisions that govern it. The agent gets the same page through one MCP call instead of assembling it from five tools.

Repowise file page for spec.py: an 8.3 health score, 59 files that depend on it, owner, tests and the decision that governs it.
repowise-dev/repowise · one file, already joined

Questions

What people ask before they try it.

Which agents and editors does it work with?

Any MCP-compatible client. repowise is agent-neutral: it works with Claude Code (primary, with one-command setup), Codex CLI, Cursor, Cline, and Windsurf, plus any tool that speaks the Model Context Protocol. The same ten tools are exposed over a single MCP endpoint, so you are not locked to one editor.

How much does it cut token usage?

In a real agent loop (Codex, django/django, 43 questions against a bare-agent control), repowise cut output tokens 31.6% and reached an answer in 3.8 tool calls instead of 7.2, opening 3.0 files instead of 7.2. A second run on Claude Code held at 15.9%. Loading one commit's context takes 35.6x fewer tokens than reading every changed file.

What are the ten tools?

get_overview (architecture map, module list, entry points), get_answer (a cited answer with calibrated retrieval_quality), get_context (a triage card for files, modules, or symbols), get_symbol (raw source bytes for one indexed symbol), search_codebase (semantic search over the wiki), get_risk (hotspot scores, dependents, and PR directives), get_change_risk (a pre-merge defect-risk score for a commit or diff range), get_why (architectural decision rationale and lineage), get_dead_code (unreachable code by confidence tier), and get_health (per-file code-health scores).

Does it generate context files like CLAUDE.md?

Yes. repowise auto-generates CLAUDE.md for Claude Code and a managed AGENTS.md for Codex, with architecture, entry points, hotspots, and conventions, and keeps them current as the codebase changes. Agents that read those files get accurate orientation before they make a single tool call.

How is this different from my IDE's built-in index?

An editor index is ephemeral, single-repo, and embeddings-only: it re-embeds on demand and forgets. repowise is a durable, structured layer every agent can call over MCP, enriched with code health, git history, ownership, and architectural decisions your editor never sees, and it spans multi-repo workspaces.

Last reviewed: October 2026

Get started

Give your agent the context it was guessing at.

Index a public repository free, connect your agent in one command, and ask it something you already know the answer to.