# I built a local MCP server that gives Claude Code real PR context — 33s reviews instead of 90s

> Source: <https://dev.to/subsis_dev/i-built-a-local-mcp-server-that-gives-claude-code-real-pr-context-33s-reviews-instead-of-90s-4g1n>
> Published: 2026-05-28 18:19:42+00:00

I use Claude Code for almost everything. But PR reviews kept frustrating me.

The workflow looks like this without tooling:

`gh pr diff`

locally, copy ~800 linesWhat's missing? **Blame context** (who wrote this line, when, why), **linked issues** (what bug was this PR supposed to fix), and a **structured review format** that forces citations.

Claude doesn't know any of that by default. You're asking it to review code with no archaeological context.

MCP (Model Context Protocol) lets you give Claude Code tools that run locally on your machine. The server speaks JSON-RPC over stdio and Claude calls your tools the same way it calls built-in tools.

I built a Node.js MCP server with 4 tools backed by `gh`

CLI and local `git`

:
