git-prism v0.9.0: Give AI Coding Agents Structured Diffs via MCP

git-prism v0.9.0 is an MCP server written in Rust that gives AI coding agents structured JSON instead of raw git diff text. Instead of feeding Claude Code thousands of lines of unified-diff with @@ hunk headers and + / - prefixes, git-prism returns a manifest of files changed, line counts, and specific functions modified or added — along with caller/callee info and a blast-radius rating.
How It Works
Install via Cargo or Homebrew:
cargo install git-prism
# or:
brew tap mikelane/tap && brew install git-prism
claude mcp add git-prism -- git-prism serveOnce installed and your agent restarted, every git diff call returns JSON. A typical PR diff that would cost 5,000–50,000 tokens now fits in a few hundred tokens. The agent gets structured data — function signatures, import changes, generated-file flags — without needing to re-parse text.
Function-level analysis supports 13 languages: Rust, Python, Go, TypeScript, and more.
v0.9.0: PATH-Level Interception
The big change in v0.9.0: the interception layer now operates at the PATH level. git-prism installs a shim named git ahead of the real git, so every git call the agent makes — including ones nested inside Makefiles, build scripts, or pre-commit hooks — routes through the MCP server. The previous hook mechanism only caught top-level commands.
It also intercepts gh pr diff <number> and returns the same structured manifest. Regular commands like git status or human-driven git usage pass through untouched.
Honest Limitations
Because it's PATH-based, anything that resets PATH (e.g. env -i, a scrubbed container) bypasses the shim. Install is Unix/Darwin-only for now (though the shim runs on Windows, the installer doesn't). And you must restart your agent once after install — Claude Code freezes PATH at agent launch.
Who it's for: anyone using an agent for code review, refactor audits, or "what will this change break" questions on a codebase large enough that raw diffs eat your context window.
📖 Read the full source: r/ClaudeAI
👀 See Also

ComfyUI Skill Enables AI Agents to Queue and Batch Image Renders via Natural Language
A new open-source skill allows OpenClaw agents to construct ComfyUI workflows, submit jobs, and manage renders through natural language commands like 'Make 50 variations of this concept with different seeds' or 'Compare these 4 prompts side by side at 1024x1024'.

CC-Canary: Detect Regressions in Claude Code with Local JSONL Analysis
CC-Canary reads Claude Code session logs and produces a forensic report on model drift, including read:edit ratio, reasoning loops, cost trends, and auto-detected inflection dates.

Attesor: AI-Powered Reverse Engineering of Rosetta 2 for Linux VM
Attesor is a GitHub project that uses AI to reverse-engineer Apple's Rosetta 2 binary translation technology, aiming to document its architecture and potentially enable x86_64-to-ARM64 translation on Linux virtual machines.

Claude Code Lazy-Loads Tool Schemas via ToolSearch to Save Tokens
Claude Code defers tool schema loading by sending only tool names upfront and requiring a ToolSearch call to fetch schemas before use. This architecture cuts token burn significantly.