About PR Reviewer
PR Reviewer analyzes GitHub pull requests and generates detailed reports in Notion using MCP. It automates code review documentation for development teams.
Key features
- 01Fetch GitHub pull request changes
- 02Create detailed Notion reports
- 03Run MCP server for PR analysis
Use cases
- 01Automate code review documentation
- 02Organize PR analysis into Notion database
- 03Streamline team review workflows
MCP support
Operates as an MCP client that connects to MCP servers to analyze PRs and integrate GitHub and Notion.
Details
From the project READMEPR Reviewer
Description
PR Reviewer is a tool designed to analyze GitHub pull requests and create detailed reports in Notion. It leverages the MCP (Model Context Protocol) to facilitate communication and integration between different services.
PRE REQUISITES
- MCP https://blog.stackademic.com/model-context-protocol-mcp-in-ai-9858b5ecd9
- Source tuto https://www.datacamp.com/tutorial/mcp-model-context-protocol
Features
- Fetch changes from GitHub pull requests.
- Create detailed reports in Notion.
- MCP server for handling PR analysis requests.
Requirements
- Python 3.13 or higher
- MCP CLI
- Notion API key
- GitHub API token
Installation
-
Clone the repository:
git clone https://github.com/attikpo-akrabal-godwin/PR-Reviewer.git cd pr-reviewer -
Create a virtual environment and activate it:
python -m venv .venv source .venv/bin/activate # On Windows use `.venv\Scripts\activate` -
Install the dependencies:
pip install -r requirements.txt -
Create a
.envfile in the project root and add your GitHub and Notion credentials:GITHUB_TOKEN=your_github_token NOTION_API_KEY=your_notion_api_key NOTION_PAGE_ID=your_notion_page_id NOTION_DATABASE_ID=your_notion_database_id
Usage
-
Run the MCP server:
python pr_anayzer.py -
Use the MCP Host (Claude ai) to interact with this MCP server . For example

- from claude ai you can create a Notion page with the PR analysis:

Project Structure
main.py: Entry point for the project.pr_anayzer.py: Contains thePRAnalyzerclass which initializes the MCP server and registers tools for PR analysis.github_integration.py: Contains functions to fetch changes from GitHub pull requests..env: Environment variables for GitHub and Notion credentials.requirements.txt: List of dependencies.pyproject.toml: Project metadata and dependencies.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contributing
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
Contact
For any questions or inquiries, please contact [email protected].
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.