# repowise-dev/repowise

Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.

Repository: https://github.com/repowise-dev/repowise
Canonical: https://ross.abutalabs.com/products/repowise
Homepage: https://repowise.dev
Language: Python
License: AGPL-3.0
License Family: copyleft
Topics: ai, code-intelligence, dead-code, developer-tools, documentation, git-analytics, mcp, open-source, python, code-complexity, code-health, code-quality, refactoring, static-analysis, technical-debt
Last push: 2026-08-26T15:14:13+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 86, longevity 11
- inputs: {"age_days": 163, "days_push": 7, "days_rel": 12, "gap_med": 1, "n_releases_24m": 62}
- flags: young
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6240, forks 667 (observed 2026-08-28T04:09:40.749308+00:00)

## What it is
Repowise is a Python-based codebase intelligence tool that indexes code structure, call graphs, git history, tests, and architectural decisions into one durable index. It exposes this evidence to humans and AI coding agents via a CLI and MCP server, providing code health scores, change-risk analysis, auto-generated documentation, dead code detection, and git analytics.

## Use cases
- give my AI coding agent compact context about my codebase via MCP
- find dead code and technical debt hotspots in my repository
- auto-generate architecture documentation that stays up to date
- score change risk on pull requests before merging
- analyze git history for hotspots, ownership, and file coupling
- triage CVEs by whether my code actually reaches vulnerable dependency code
- detect secrets across full git history and generate an SBOM
- measure how much of my codebase was written by AI agents

## When to choose
- you want deterministic, LLM-free static and historical analysis with reproducible results
- you use AI coding agents and want to cut token usage and tool calls with grounded repository context
- you need evidence-backed code health and defect-risk ranking validated against bug-fix history
- you want self-hostable analysis where source code never leaves your infrastructure
- you need C4 architecture views derived from the real dependency graph instead of hand-drawn diagrams

## When to avoid
- you need a lightweight linter or formatter for style enforcement rather than repository-level intelligence
- your project is very small and a simple grep or IDE search suffices
- you require IDE-native inline integrations rather than CLI, MCP, or web-based surfaces
- you cannot accept an AGPL-3.0 license in your context

## Facets
- artifact type: cli-tool
- maturity: active
- function: linter, developer-tools, documentation, search-engine, mcp, security, data-visualization
- domain: developer-tools, documentation, security, version-control
- platform: python, cli, self-hosted, cross-platform
- tags: code-health, code-intelligence, git-analytics, dead-code-detection, technical-debt, change-risk, code-review, architecture-diagrams, mcp-server, ai-coding-agents, dependency-graph, cve-triage, static-analysis

## Member repositories
- repowise-dev/repowise (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:40.749308+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:47:11.349849+00:00, confidence not recorded.
  - readme: https://github.com/repowise-dev/repowise (fetched 2026-08-28T04:09:40.749308+00:00, sha b1e8b7a30a52)
  - homepage: https://repowise.dev (fetched 2026-08-29T08:43:32.031154+00:00, sha dec44bd1ab71)
  - site_page: https://www.repowise.dev/features/code-health (fetched 2026-08-29T08:43:32.036767+00:00, sha 30aa955e007e)
  - site_page: https://www.repowise.dev/features/agent-provenance (fetched 2026-08-29T08:43:32.038818+00:00, sha c87cf6fd19f9)
  - site_page: https://www.repowise.dev/features/ai-context (fetched 2026-08-29T08:43:32.040698+00:00, sha 618928d7242e)
  - site_page: https://www.repowise.dev/features/change-risk (fetched 2026-08-29T08:43:32.042399+00:00, sha 5cf618e2b00e)
  - site_page: https://www.repowise.dev/features/security (fetched 2026-08-29T08:43:32.044020+00:00, sha e82ae14a36c8)
  - site_page: https://www.repowise.dev/features/wiki (fetched 2026-08-29T08:43:32.045826+00:00, sha d6ad083fd39a)
  - site_page: https://www.repowise.dev/features/git-intelligence (fetched 2026-08-29T08:43:32.047363+00:00, sha a3918c40e5d8)
  - site_page: https://www.repowise.dev/features/architecture (fetched 2026-08-29T08:43:32.048975+00:00, sha c2d022eac388)
- Data as of 2026-08-30T08:39:29.467469+00:00.
