Deterministic, local-first change-impact analysis for Python, JavaScript, and TypeScript—trace blast radius, suggest tests, and gate risky PRs.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
claude mcp add reporipple -- uvx reporipple{
"mcpServers": {
"reporipple": {
"command": "uvx",
"args": ["reporipple"],
"env": {
"OPENROUTER_API_KEY": "<openrouter_api_key>"
}
}
}
}OPENROUTER_API_KEYMCP Servers overview
# RepoRipple
<!-- mcp-name: io.github.adiarora06/reporipple -->
**Know what a code change can break before you merge it.**
[](https://pypi.org/project/reporipple/)
[](https://pypi.org/project/reporipple/)
[](https://github.com/adiarora06/RepoRipple/actions/workflows/ci.yml)
[](https://github.com/adiarora06/RepoRipple/blob/v0.3.0/LICENSE)
[](https://github.com/adiarora06/RepoRipple/blob/v0.3.0/docs/mcp.md)
RepoRipple is a local-first change-impact analyzer for engineers and coding agents. It builds a lightweight dependency graph from a repository, reads the current Git diff, traces reverse dependencies, recommends relevant tests, and emits a review-ready Markdown or JSON report.
The deterministic analyzer requires no API key, hosted service, source upload, or framework integration. An optional, explicitly requested OpenRouter explanation can turn its anonymized evidence into a short narrative without changing the underlying analysis.
[PyPI](https://pypi.org/project/reporipple/) ·
[Portfolio case study](https://www.adiarora.dev/open-source/reporipple) ·
[MCP setup](https://github.com/adiarora06/RepoRipple/blob/v0.3.0/docs/mcp.md) ·
[v0.3.0 release](https://github.com/adiarora06/RepoRipple/releases/tag/v0.3.0)

## Why RepoRipple?
Code graphs explain how a repository is connected. RepoRipple applies that graph to the change in front of you:
- Which files depend on the code I changed?
- How far does the blast radius travel?
- Which tests are most relevant?
- Did I touch authentication, payments, deployment, or another sensitive area?
- Should this pull request be blocked for additional review?
- What structured context should I give a coding agent?
## Install and run
```bash
pip install reporipple
# Analyze staged, unstaged, and untracked changes.
reporipple .
# Compare a feature branch with main.
reporipple . --base origin/main
# Generate machine-readable context for an agent or automation.
reporipple . --base origin/main --format json --output impact.json
# Fail CI when a change reaches high risk.
reporipple . --base origin/main --fail-on high
# Audit the exact anonymized OpenRouter request without sending it.
reporipple . --base origin/main --explain-preview
```
Run it once without installing:
```bash
uvx reporipple . --base origin/main
```
## Three product surfaces
| Surface | Best for | Output |
| --- | --- | --- |
| CLI | Local review, scripts, and CI gates | Markdown or JSON impact report |
| GitHub Action | Pull-request evidence and risk thresholds | Job summary, artifact, and optional stable PR comment |
| MCP server | Codex, OpenCode, Cursor, Claude Code, and VS Code | Typed `forecast_change` and `analyze_worktree` tools |
## GitHub Action
Add RepoRipple to a pull-request workflow to create Markdown and JSON impact reports and append
the Markdown report to the GitHub job summary:
```yaml
name: RepoRipple
on:
pull_request:
permissions:
contents: read
jobs:
impact:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
with:
fetch-depth: 0
persist-credentials: false
- id: reporipple
uses: adiarora06/RepoRipple@996f43f28a51ba8d6788a73a349f4ebb0f47a186 # v0.3.0
with:
base: ${{ github.event.pull_request.base.sha }}
- uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
with:
name: reporipple-impact
path: |
${{ steps.reporipple.outputs.markdown-report }}
${{ steps.reporipple.outputs.json-report }}
```
The Action accepts `path`, `base`, `max-depth`, `fail-on`, and `reports-directory`. It outputs
`markdown-report`, `json-report`, and `risk-level`. For reproducible builds, pin RepoRipple to a
release commit SHA and use `fetch-depth: 0` so the requested base revision is available.
This repository's own [pull-request workflow](https://github.com/adiarora06/RepoRipple/blob/v0.3.0/.github/workflows/reporipple.yml) demonstrates a
fork-safe commenting design. Analysis runs with read-only contents access. A separate job updates
one stable RepoRipple comment only for branches in the same repository; fork pull requests keep
their report in the job summary and downloadable artifact without receiving a write-capable token.
## Coding-agent tools (MCP)
RepoRipple can expose the same deterministic analysis to Codex, OpenCode, Cursor,
Claude Code, and VS Code over a local, read-only MCP server. From a source checkout:
```bash
uv run reporipple mcp --root /path/to/allowed/workspace
```
Launch the published package without a clone:
```bash
uvx reporipple mcp --root /path/to/allowed/workspace
```
The server provides `forecast_change` for proposed edits and `analyze_worktree` for
actual Git changes. See the
[MCP setup guide](https://github.com/adiarora06/RepoRipple/blob/main/docs/mcp.md) for
client-specific commands and configuration.
The [architecture guide](https://github.com/adiarora06/RepoRipple/blob/v0.3.0/docs/architecture.md) explains how the CLI, GitHub Action,
MCP server, and optional explanation layer share one deterministic analysis engine.
## Example report
```markdown
# RepoRipple impact report: checkout-service
**Risk:** `high` · **Graph:** 84 files / 137 dependency edges
## Changed files
- `src/billing/store.py`
## Impacted files
- `src/billing/service.py` — distance 1 via `store.py` → `service.py`
- `src/api/checkout.py` — distance 2 via `store.py` → `service.py` → `checkout.py`
## Suggested verification
- `tests/test_billing_service.py`
- `tests/test_checkout.py`
```
## How it works
1. Discovers Python, JavaScript, and TypeScript source files.
2. Extracts Python imports with the standard-library AST and relative JS/TS imports with a focused parser.
3. Builds forward and reverse dependency relationships.
4. Gets added, modified, deleted, and renamed files from an explicit base revision or the local
worktree.
5. Retains pre-change source for deleted and renamed files so their remaining dependents can still
be traced.
6. Traverses dependents to a configurable depth.
7. Adds test recommendations, documentation reminders, and deterministic risk signals.
The core intentionally avoids LLM scoring. Results stay reproducible, private, fast, and usable in CI. Optional AI explanations can be layered over the JSON output without making correctness depend on a model.
## Optional OpenRouter explanation
AI explanation is off by default and is activated only by `--explain`. The deterministic risk level, evidence, report, and `--fail-on` exit status remain authoritative even if OpenRouter is unavailable or returns an invalid response.
First inspect the exact key-free body that would leave your machine:
```bash
reporipple /path/to/repository --base main --explain-preview
```
The preview does not read an API key and does not make a network request. When you are satisfied with the payload, provide the key through the environment and explicitly request an explanation:
```bash
export OPENROUTER_API_KEY="your-key"
reporipple /path/to/repository --base main --explain
```
There is no command-line key option and RepoRipple does not read a key from a file. The integration uses only the Python standard library and applies all of these controls to every request:
- Repository names, paths, source, diffs, scanner-warning text, and user identifiers are not transmitted.
- Files and risk signals become opaque evidence IDs such as `E001`; returned IDs are schema-validated and mapped back to labels locally.
- The response must satisfy a strict JSON Schema, and unknown evidence IDs or extra fields are rejected.
- OpenRouter routing requires zero data retention (`zdr: true`), denies data collection, and selects only providers that support every requested parameter.
- Provider prices are capped at $0.25 per million input tokens and $1 per million output tokens, with a 450-token response limit.
- Requests have a 10-second timeout and retry at most once after an explicit retryable HTTP response; ambiguous network timeouts are not retried.
- Token usage and reported request cost are included in Markdown and JSON output.
The pinned default model is `openai/gpt-6-luna`. Override it with `--explain-model` or
`REPORIPPLE_OPENROUTER_MODEL`; privacy, schema, and price controls remain mandatory. Privacy
filters may reduce provider availability, and the request fails closed when no eligible provider
satisfies them. OpenRouter's ZDR policy prevents eligible providers from retaining prompts and
responses after processing; it does not mean the request stays on your machine. See OpenRouter's
[structured outputs](https://openrouter.ai/docs/guides/features/structured-outputs),
[ZDR controls](https://openrouter.ai/docs/guides/features/zdr), and
[provider routing controls](https://openrouter.ai/docs/guides/routing/provider-selection).
## CLI reference
```text
reporipple [PATH]
--base REVISION compare REVISION...HEAD
--changed PATH analyze an explicit path; repeat as needed
--max-depth N reverse dependency traversal depth (default: 4)
--format markdown|json
--output FILE
--fail-on medium|high
--explain request an optional privacy-filtered OpenRouter explanation
--explain-preview show the exact sanitized request without sending it
--explain-model NAME use a pinned provider/model slug for either explanation mode
reporipple What people ask about RepoRipple
What is adiarora06/RepoRipple?
+
adiarora06/RepoRipple is mcp servers for the Claude AI ecosystem. Deterministic, local-first change-impact analysis for Python, JavaScript, and TypeScript—trace blast radius, suggest tests, and gate risky PRs. It has 0 GitHub stars and its last recorded update is dated 2026-09-30.
How do I install RepoRipple?
+
You can install RepoRipple by cloning the repository (https://github.com/adiarora06/RepoRipple) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is adiarora06/RepoRipple safe to use?
+
Our security agent has analyzed adiarora06/RepoRipple and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains adiarora06/RepoRipple?
+
adiarora06/RepoRipple is maintained by adiarora06. The last recorded GitHub activity is dated 2026-09-30, with 0 open issues.
Are there alternatives to RepoRipple?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy RepoRipple to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/adiarora06-reporipple)<a href="https://claudewave.com/repo/adiarora06-reporipple"><img src="https://claudewave.com/api/badge/adiarora06-reporipple" alt="Featured on ClaudeWave: adiarora06/RepoRipple" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
The fastest path to AI-powered full stack observability, even for lean teams.