basemind
Local Rust index of a repo's code, docs, git history and memory, served to coding agents over MCP
Query an index of a repository's dependency graph, git history, docs and code health from a coding agent
By Repowise Python Local · stdio Developer toolsKnowledge and memoryGit and code hosting
86 popularity score ★ 8.1k ↓ 17k/mo
Opens the app, which asks before it adds the server. Then replace each <NAME> in its settings with your value.
uv tool install repowise
cd <ABSOLUTE_PATH_TO_REPO>
repowise init --yes --no-proseclaude mcp add repowise -- repowise mcp '<ABSOLUTE_PATH_TO_REPO>'{
"mcpServers": {
"repowise": {
"command": "repowise",
"args": [
"mcp",
"<ABSOLUTE_PATH_TO_REPO>"
]
}
}
}{
"mcpServers": {
"repowise": {
"command": "repowise",
"args": [
"mcp",
"<ABSOLUTE_PATH_TO_REPO>"
]
}
}
}{
"servers": {
"repowise": {
"type": "stdio",
"command": "repowise",
"args": [
"mcp",
"<ABSOLUTE_PATH_TO_REPO>"
]
}
}
}[mcp_servers.repowise]
command = "repowise"
args = ["mcp", "<ABSOLUTE_PATH_TO_REPO>"]gemini mcp add --scope user repowise repowise -- mcp '<ABSOLUTE_PATH_TO_REPO>'REPOWISE_HOST |
Optional: Host the HTTP or SSE transport binds to when --host is not given. |
|---|---|
REPOWISE_API_KEY secret |
Optional: Key that protects the HTTP server. Without it, binding to 0.0.0.0 leaves every tool unauthenticated and the server prints a warning. |
REPOWISE_SKIP_EDITOR_SETUP |
Optional: Set to 1 so repowise init does not register the server with editors (scratch clones, worktrees, CI). |
DO_NOT_TRACK |
Optional: Set to 1 to turn off the CLI's anonymous usage telemetry. |
Repowise builds an index of a code repository and hands it to coding agents such as Claude Code or Cursor over MCP. The index holds the dependency graph, the git history, generated documentation, decision records, ownership, code-health scores and dead-code findings. An agent can then ask who calls a function, what a change might break or why a file looks the way it does, instead of opening file after file.
The code registers 18 tools. A single-repo server shows 10 of them by default (get_answer and get_change_risk among them), workspace mode adds list_repos, and 7 more are opt-in through --tools or the mcp.tools block in .repowise/config.yaml. There is also a lean profile of six tools.
You install the Python package, run repowise init in the repository to build the index, and then start the server with repowise mcp (stdio by default) or repowise serve, which also opens a web dashboard. The basic index needs no API key and calls no model. Written docs and answers come later from repowise generate with your own LLM key or a local Ollama model. Over HTTP the server listens on 127.0.0.1 port 7338 unless --host or REPOWISE_HOST says otherwise.
The CLI also ships repowise distill, which trims noisy test and build output before an agent reads it. The code is AGPL-3.0 and a hosted version runs at repowise.dev.
| Runtime | Python 3.11+ |
|---|---|
| Runs on | macOS, Windows, Linux |
| Also |
|
Run repowise init in the repository once before starting the server, so there is an index in .repowise/ to answer from (repowise init --yes --no-prose skips the questions and the model). Model-written docs need an LLM key in .repowise/.env and a run of repowise generate. The dashboard downloads about 50 MB of UI on its first run.
Suits a developer who runs a coding agent on a large or long-lived repository and wants it to ask about callers, change risk, ownership and history from a prebuilt local index. It runs on your own machine and only reads code, apart from one opt-in tool that writes to its own index. It is less of a fit for a tiny repo the agent can read whole, or for a team that will not run an indexing step and keep it current. The hosted repowise.dev version covers teams that want nothing to run locally.
17 only read, 1 changes things.
get_answerget_contextget_symbolsearch_codebaseget_riskget_change_riskget_whyget_overviewget_healthget_dead_codelist_reposget_dependency_pathget_execution_flowsgenerate_refactoring_codeset_finding_status changesget_blast_radiusget_architectureget_conformance