MagicReview: a local-first, self-hostable AI code review platform.
Project description
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:
MGREVIEW_DB_PATH.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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file magicreview-0.1.3.tar.gz.
File metadata
- Download URL: magicreview-0.1.3.tar.gz
- Upload date:
- Size: 171.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3e47a8871ff6749179e084710887f6b2785e0893eda20761b5ebfb4a11213c5
|
|
| MD5 |
8ba5d0cb5f71e691e6d88ae755073494
|
|
| BLAKE2b-256 |
c94c4b0befae79cd8127cfdc095328af4a8267715371a7067fac1042825153cc
|
File details
Details for the file magicreview-0.1.3-py3-none-any.whl.
File metadata
- Download URL: magicreview-0.1.3-py3-none-any.whl
- Upload date:
- Size: 155.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
168600ea9bf2c16941c6b4cdd5f5ac4cc37844e3e69b198e4c9682be2d9b5373
|
|
| MD5 |
dbe6709d03d2c92983e435be59654c18
|
|
| BLAKE2b-256 |
8bc75f84c1043b7496e9669483e5bd4b803c489d873549b3db4b5f7074b78f9c
|