https://github.com/nriothrreion/gitlab-reviewer
A Gitlab webhook receiver that calls Claude Code to review the MR
https://github.com/nriothrreion/gitlab-reviewer
agentic-workflow claude-code gitlab webhook webhook-receiver
Last synced: about 2 months ago
JSON representation
A Gitlab webhook receiver that calls Claude Code to review the MR
- Host: GitHub
- URL: https://github.com/nriothrreion/gitlab-reviewer
- Owner: NriotHrreion
- License: mit
- Created: 2026-03-26T09:07:00.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2026-03-26T12:59:33.000Z (2 months ago)
- Last Synced: 2026-03-27T03:29:23.967Z (2 months ago)
- Topics: agentic-workflow, claude-code, gitlab, webhook, webhook-receiver
- Language: JavaScript
- Homepage:
- Size: 32.2 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gitlab Reviewer
This is a Gitlab webhook receiver that can automatically call Claude Code to review the code you just pushed to a Merge Request.
## Prerequisite
Have a Claude Code installed on your machine, with a Gitlab MCP server.
For the MCP server, [zereight/gitlab-mcp](https://github.com/zereight/gitlab-mcp) is recommended.
## Getting Started
1. Clone the repo
```
git clone https://github.com/NriotHrreion/gitlab-reviewer.git
```
2. Install npm dependencies
```
npm install
```
3. Create a `.env` file in the project root and fill in the 3 environment variables
```
cp .env.example .env
vi .env
```
4. Run the service
```
node index
```
5. Create a new webhook in Gitlab
In your Gitlab instance, go to `Your Project > Settings > Webhooks`, click "Add new webhook". Fill in the `URL` field with the following pattern:
```
http://:5010/webhook
```
Then fill in the `Secret token` field with the `GITLAB_WEBHOOK_SECRET` you just set in the `.env` file, check the option "Merge request events", and click "Add webhook".
## License
[MIT](./LICENSE)