Skip to main content Switch to mobile version repoflow-mcp 0.2.0 MCP server that helps you learn an open-source Python repo before you contribute: understand the code, follow its rules, run its tests safely, and learn from real bugs.
pip install repoflow-mcp Copy PIP instructions
Learn an open-source Python codebase before you touch it.
An MCP server that helps you understand a repo, follow its contribution rules, run its tests safely, and learn from real bugs.
Real run on more-itertools/more-itertools @ aa99776, output trimmed. Regenerate with scripts/make_demo_gif.py.
Quickstart · Features · How it works · Contributing · Roadmap
Maintainers are flooded with low-effort, AI-generated pull requests. New contributors often want to help, but don't know where to start or what the project expects.
RepoFlow Lite takes a "learn first" approach:
Understand the code before changing it.
Respect each project's rules (CONTRIBUTING, AI policy, CLA/DCO, CI).
Find real problems with evidence: failing tests, static-analysis hits, flaky tests.
Teach: every finding becomes a plain-language teaching card.
RepoFlow Lite does not open issues or pull requests for you. It helps you learn enough to make a good contribution yourself.
Plus three JSON resources: repo://{owner}/{name}/map (repo map), playbook://{owner}/{name} (contribution playbook) and findings://{owner}/{name} (recorded findings).
Docker Desktop (recommended, for sandboxed test runs)
An MCP client, for example Claude Code
git clone https://github.com/LolPanda2004/repoflow.git cd repoflow pip install -e ".[dev]" Register with Claude Code
claude mcp add repoflow -- repoflow Then open Claude Code and run /mcp to check that repoflow is connected.
Register with other MCP clients
For clients that support the mcpServers format, add this entry to their MCP configuration:
{ "mcpServers": { "repoflow": { "command": "repoflow", "args": [], "env": { "REPOFLOW_SANDBOX": "docker" } } } } On Windows, replace repoflow with the absolute path to repoflow.exe (use \\ to escape backslashes in JSON). Find it with (Get-Command repoflow).Source.
REPOFLOW_SANDBOX is optional: docker (default) enables Docker sandboxing, local runs without Docker isolation, and off disables repository code execution.
Start with a small Python repo:
> Use repoflow to analyze owner/small-repo and explain its architecture. > What does this project expect from contributors? Check its AI policy. > Run its tests in the sandbox and explain any failure as a teaching card. How it works
┌──────────────┐ you ───▶ │ MCP client │ (e.g. Claude Code) └──────┬───────┘ │ stdio ┌──────▼───────┐ │ RepoFlow │ └──────┬───────┘ ┌──────────┬───┴──────┬──────────┬─────────┐ ▼ ▼ ▼ ▼ ▼ understand policy discover sandbox teach (map, (rules, (tests, (Docker) (cards, hotspots) AI use) static) report) Project layout (src/repoflow/):
Teach, don't submit. The goal is a better contributor, not more PRs.
Evidence over guesses. A finding needs a failing test, a tool result, or a reproducible run.
Respect the project. Its rules come first, including any rules about AI.
Safe by default. Repo code runs in Docker. GitHub access is read-only.
RepoFlow Lite never writes to GitHub. Your AI assistant might still try to, through its shell. repoflow guards adds Claude Code deny rules for direct GitHub writes (gh pr create, gh api, git push and similar), so those need a human.
repoflow guards install # adds the rules to ~/.claude/settings.json repoflow guards install --project # or to ./.claude/settings.json repoflow guards status # shows which rules are present repoflow guards remove # takes them out again install shows a diff and asks before writing (--yes skips the prompt). It keeps your other settings, backs up the old file, and refuses to touch a file that is not valid JSON.
pip install -e ".[dev]" python -m pytest -q # full suite; some tests need Docker running python -m pytest -q tests/test_policy.py # run one file ruff check . && ruff format . # lint and format Import check:
python -c "import sys; sys.path.insert(0, 'src'); import repoflow.server" Contributing
Contributions are welcome, from typo fixes to new tools.
Look for issues labeled good first issue or help wanted.
Comment on the issue before you start, so work isn't duplicated.
Keep PRs small, add tests, and make sure python -m pytest -q passes.
If you used AI tools, say so in the PR description.
Questions and ideas go in GitHub Discussions.
Thank you to everyone who has helped make RepoFlow better! Everyone with a merged PR shows up below. It updates by itself after every merge.
This project follows the Contributor Covenant. See CODE_OF_CONDUCT.md.
Please don't report security problems in public issues. See SECURITY.md.
Repo understanding: map, hotspots, architecture
Contribution playbook and AI-policy checks
Tests, static analysis and flaky-test detection in Docker
Teaching cards and reports
One "environment ready" check shared by all modules
Better isolation for local (non-Docker) mode
More teaching-card templates and beginner-friendly wording
Support for more project layouts (monorepos, tox/nox-based setups)
Have an idea? Open a discussion.
A separate hosted, paid version of RepoFlow also exists.
Both files in this release have provenance metadata.
MIT View SPDX License List
Release files for repoflow-mcp 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 353.7 kB
Release files / repoflow_mcp-0.2.0.tar.gz
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Release files / repoflow_mcp-0.2.0-py3-none-any.whl
Security for repoflow-mcp 0.2.0
Both files in this release have been uploaded with provenance metadata.
With provenance repoflow_mcp-0.2.0.tar.gz Nov 29, 2026
With provenance repoflow_mcp-0.2.0-py3-none-any.whl Nov 29, 2026
Attestation for repoflow_mcp-0.2.0.tar.gz
Attestation for repoflow_mcp-0.2.0-py3-none-any.whl
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Nov 29, 2026 2 release files Full provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




