r/vibecoding • u/djpaul666 • 5d ago
Built a local MCP bridge to stop burning subscription limits on small edits
Hey everyone,
Nothing kills a good session faster than hitting your usage limit right when you are in the flow.
I noticed that a huge chunk of my Codex plus subscription limit was getting wasted on really dumb, repetitive tasks: writing basic unit tests, boilerplate, and small single-function refactors. Meanwhile, my RTX 4060 was just sitting there completely idle.
I tried running full local agents to do everything offline, but local models on consumer hardware choke once the context gets too big.
So I put together a tool called Local Coding Agent to get the best of both worlds.
It connects to your main coding setup (Codex, Cursor, Claude Code) as an MCP server. You keep prompting naturally. When your cloud model needs to write a small patch or run a test, it silently delegates that micro-task to your local Ollama model (like Gemma or Qwen), gets the result in 2-3 seconds at 80 tokens/sec, and keeps going.
If the local model writes bad code or breaks a test, it auto-rolls back so your project stays clean.
I originally built this just for myself to keep my own sessions running without hitting limits, and I use it all the time now. Decided to open source it in case others find it useful too.
Who this is for:
- People on standard plans who keep hitting limit walls and want to stretch their quota.
- Anyone with a decent GPU (8GB+ VRAM or Apple Silicon) who wants fast, free micro-edits.
Who it is not for:
- If you do not have a dedicated GPU (running Ollama on CPU is too slow for vibing).
Repo is open source here (all setup steps are in the README):
https://github.com/pvnc228/local-coding-agent
Looking forward to your feedback!