cd /news/ai-tools/i-built-a-local-mcp-server-that-give… · home topics ai-tools article
[ARTICLE · art-16716] src=dev.to pub= topic=ai-tools verified=true sentiment=↑ positive

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

A developer built a local MCP server that provides Claude Code with real PR context, including blame history, linked issues, and structured review formats. The tool reduces PR review time from 90 seconds to 33 seconds by giving the AI archaeological context about code changes rather than raw diffs alone.

read1 min publishedMay 28, 2026

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

:

── more in #ai-tools 4 stories · sorted by recency
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/i-built-a-local-mcp-…] indexed:0 read:1min 2026-05-28 ·