Skip to content
Claude Code

dafny mcp for Claude Code

io.github.mrfentmen/dafny-mcp

Dafny MCP: 20 real tools to read, check, lint, scaffold, build and run Dafny code.

client:Claude Code transport:stdio runtime:npm

Install dafny mcp in Claude Code

run in your project directory

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

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

dafny mcp in other clients