Claude Code programming a Microchip AVR microcontroller via pymcuprog-mcp

I created an MCP1 server that lets Claude Code program Microchip AVR microcontrollers. It wraps thinly around pymcuprog2 — the heavy lifting is entirely done by that project, this just exposes it over MCP.

It supports USB HID debuggers (nEDBG, PICkit 4, Atmel-ICE, MPLAB Snap) as well as cheap serial UART UPDI adapters. The typical workflow is as simple as asking Claude to build and flash your project — it will run make, program the chip, and verify the result.

To try it yourself:

claude mcp add pymcuprog -e PYMCUPROG_DEVICE=atmega4808 -e PYMCUPROG_TOOL=nedbg -- uvx pymcuprog-mcp
1

Model Context Protocol — wikipedia.org

2

pymcuprog — github.com