Skip to main content

MagicReview

Review code like magic.

MagicReview is a local-first, self-hostable AI code review platform for CLI, Docker, Dashboard, MCP tools, and GitHub App workflows.

MagicReview defaults are intentionally conservative and offline by default:

  • Runs local static analysis by default.
  • Does not call real LLM providers by default.
  • Does not upload source code unless network access is explicitly enabled.
  • Uses MGREVIEW_ environment variables and .magicreview/ data by default.

Quick Start

pip install magicreview
mgreview --help
mgreview project examples/multi_agent_project --agents --format terminal

From source:

git clone https://github.com/KrisMagical/review-agent.git
cd review-agent
pip install -e ".[all,dev]"
mgreview --help

CLI

mgreview --help
mgreview --version
mgreview file app/main.py
mgreview diff
mgreview project .
mgreview project examples/multi_agent_project --agents --format json
mgreview dashboard init-db
mgreview dashboard serve
mgreview mcp
mgreview github-app serve

Optional standalone entry points are also packaged for service runners:

mgreview-mcp
mgreview-dashboard
mgreview-github-app

Docker

docker build -t magicreview .
docker run --rm magicreview mgreview --help
docker run --rm -v "$PWD:/workspace" magicreview mgreview project /workspace --format json
docker compose up dashboard
docker compose up github-app

Docker Compose persists SQLite data in ./.magicreview.

Configuration

MagicReview uses MGREVIEW_ as its environment variable prefix:

MGREVIEW_DB_PATH=.magicreview/magicreview.db
MGREVIEW_LLM_PROVIDER=none
MGREVIEW_NETWORK_ENABLED=false
MGREVIEW_ALLOW_LLM=false
MGREVIEW_CODE_SHARING_MODE=none
MGREVIEW_AUTH_ENABLED=false

Default data lookup order:

  1. MGREVIEW_DB_PATH
  2. .magicreview/magicreview.db

GitHub App

MagicReview supports diff_only and full_project review modes. The generated pull request summary ends with:

Generated by MagicReview.

License

MagicReview is released under the MIT License. See LICENSE.

Metadata

Release files for magicreview 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for magicreview 0.1.3
File Size Uploaded Provenance Actions
magicreview-0.1.3.tar.gz 171.8 kB Without provenance Details for magicreview-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for magicreview 0.1.3
File Interpreter ABI Platform Actions
magicreview-0.1.3-py3-none-any.whl Python 3 none any Details for magicreview-0.1.3-py3-none-any.whl

Total release size: 327.3 kB

Release files / magicreview-0.1.3.tar.gz

Download URL magicreview-0.1.3.tar.gz
Size 171.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a3e47a8871ff6749179e084710887f6b2785e0893eda20761b5ebfb4a11213c5
BLAKE2b-256 checksum
How to use checksums
c94c4b0befae79cd8127cfdc095328af4a8267715371a7067fac1042825153cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / magicreview-0.1.3-py3-none-any.whl

Download URL magicreview-0.1.3-py3-none-any.whl
Size 155.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
168600ea9bf2c16941c6b4cdd5f5ac4cc37844e3e69b198e4c9682be2d9b5373
BLAKE2b-256 checksum
How to use checksums
8bc75f84c1043b7496e9669483e5bd4b803c489d873549b3db4b5f7074b78f9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for magicreview 0.1.3

Provenance

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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

This release

0.1.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page