GitHub PR Analyzer MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GitHub PR Analyzer MCP Serveranalyze PR #12 from owner/repo and save review to Notion"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GitHub PR Analyzer MCP Server
MCP server that fetches GitHub pull request details and saves reviews to Notion. Built with FastMCP (stdio transport) for clients like Claude Desktop.
Tools
Tool | Description |
| Fetch PR metadata and file changes from GitHub |
| Create a child page under a shared Notion parent page |
Related MCP server: PR Reviewer
Setup
cd pr_reviewer
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -r requirements.txtOr with uv:
uv venv && source .venv/bin/activate
uv pip install -r requirements.txtEnvironment
Copy .env (do not commit secrets):
GITHUB_TOKEN=ghp_your_github_pat
NOTION_API_KEY=ntn_your_notion_integration_secret
NOTION_PAGE_ID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxVariable | Notes |
| GitHub PAT with access to the repos you want to review |
| Internal integration secret from Notion integrations |
| Parent page UUID (or page URL). New reviews are created under this page |
Notion: share the page
The parent page must be connected to your integration:
Open the parent page in Notion
···→ Connect to / Add connectionsSelect your integration (e.g.
PR Review Server Demo)
Without this, Notion returns “Could not find page… shared with your integration”.
Run locally
python pr_analyzer.pyThis starts an stdio MCP server and waits for a client. Prefer launching it from Claude Desktop rather than testing alone in a terminal.
Claude Desktop config
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
{
"mcpServers": {
"github_pr_analyzer": {
"command": "/ABS/PATH/TO/pr_reviewer/.venv/bin/python",
"args": ["/ABS/PATH/TO/pr_reviewer/pr_analyzer.py"],
"cwd": "/ABS/PATH/TO/pr_reviewer"
}
}
}Quit Claude completely (Cmd+Q) and reopen after editing.
Example prompt
Use github_pr_analyzer:
1) fetch_pr_changes for owner / repo / PR number
2) create_notion_page with a short title and the review summaryLogs
tail -f ~/Library/Logs/Claude/mcp-server-github_pr_analyzer.logProject layout
pr_reviewer/
├── pr_analyzer.py # MCP server + tools
├── github_integration.py # GitHub API helper
├── requirements.txt
├── .env # secrets (gitignored)
└── README.mdNotes
Notion paragraph text is limited to 2000 characters; long content is split into multiple blocks.
Keep
.envand.venvout of git (see.gitignore).
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/punyprogrammer/pr-analyzer-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server