PR-Reviewer

PR-Reviewer

Analyzes GitHub pull requests and creates detailed reports in Notion via MCP.

Category
Visit Server

README

PR 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

  1. Clone the repository:

    git clone https://github.com/attikpo-akrabal-godwin/PR-Reviewer.git
    cd pr-reviewer
    
  2. Create a virtual environment and activate it:

    python -m venv .venv
    source .venv/bin/activate  # On Windows use `.venv\Scripts\activate`
    
  3. Install the dependencies:

    pip install -r requirements.txt
    
  4. Create a .env file 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

  1. Run the MCP server:

    python pr_anayzer.py
    
  2. Use the MCP Host (Claude ai) to interact with this MCP server . For example

Nom de la vidéo

  1. from claude ai you can create a Notion page with the PR analysis: Nom de la vidéo

Project Structure

  • main.py: Entry point for the project.
  • pr_anayzer.py: Contains the PRAnalyzer class 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 attikpoakrabal@gmail.com.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured