https://github.com/alesr/gh-self-reviewer
MCP server tool for self-review of GitHub pull requests
https://github.com/alesr/gh-self-reviewer
anthropic anthropic-claude code-review golang mcp mcp-server
Last synced: about 2 months ago
JSON representation
MCP server tool for self-review of GitHub pull requests
- Host: GitHub
- URL: https://github.com/alesr/gh-self-reviewer
- Owner: alesr
- License: mit
- Created: 2025-04-13T13:41:23.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-13T16:35:22.000Z (about 1 year ago)
- Last Synced: 2026-04-25T12:36:08.812Z (about 2 months ago)
- Topics: anthropic, anthropic-claude, code-review, golang, mcp, mcp-server
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mcp-servers - **alesr/gh-self-reviewer** - A Go-based Anthropic MCP server facilitating self-review of GitHub pull requests with Claude AI integration. `http` `ai` `anthropic` `git` `github` (📦 Other)
- awesome-mcp-servers - GH Self Reviewer - A Go-based Anthropic MCP server facilitating self-review of GitHub pull requests with Claude AI integration. ([Read more](/details/gh-self-reviewer.md)) `Open Source` `Github` `Code Review` (Code Analysis)
README
# gh-self-reviewer
[](https://goreportcard.com/report/github.com/alesr/gh-self-reviewer)
A Go-based Anthropic MCP server that helps developers self-review their GitHub pull requests.
## Features
- List all your open pull requests across owned GitHub repositories
- Comment on your pull requests
- Designed to work with Claude AI using the Model Control Protocol (MCP)
## Installation
### Prerequisites
- Go 1.24.0 or higher
- GitHub personal access token with appropriate permissions
### Building from source
```bash
git clone https://github.com/alesr/gh-self-reviewer.git
cd gh-self-reviewer
go build -o gh-self-reviewer main.go
```
## Setup with Claude AI
1. Generate a GitHub personal access token with `repo` scope
2. Add the following configuration to your Claude AI config:
```json
{
"mcpServers": {
"github_tools": {
"command": "/path/to/gh-self-reviewer",
"args": [],
"env": {
"GITHUB_TOKEN_MCP_APP_REVIEW": "your_github_token_here"
}
}
}
}
```
Replace `/path/to/gh-self-reviewer` with the actual path to the executable and `your_github_token_here` with your GitHub personal access token.
## Usage
Once set up, you can instruct Claude to:
1. List your open pull requests:
```
Could you list my open GitHub pull requests?
```
2. Review and comment on a specific PR:
```
Please review my PR at https://github.com/username/repo/pull/123 and add a comment
```
## License
MIT