Skip to content
Claude Code

m4 mcp for Claude Code

io.github.mrfentmen/m4-mcp

M4 MCP: expand macros, trace definitions, include files and preprocess with 20 real tools.

client:Claude Code transport:stdio runtime:npm

Install m4 mcp in Claude Code

run in your project directory

claude mcp add m4-mcp -- npx -y @mrfentmen/m4-mcp

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

m4 mcp in other clients