Skip to content
Claude Code

Pact Tooling for Claude Code

io.github.pact-community-organization/pact

Pact 5 tooling: REPL test runs, trap scanning, gas estimation, interface diff, format checks.

client:Claude Code transport:stdio runtime:npm

Install Pact Tooling in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add pact -e PACT_COMMUNITY_WORKSPACE_ROOT=<PACT_COMMUNITY_WORKSPACE_ROOT> -e PACT_COMMUNITY_PACT_BIN=<PACT_COMMUNITY_PACT_BIN> -- npx -y @pact-community/mcp-pact

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

Pact Tooling in other clients