Skip to content

Data & API

Use the data

Everything on the leaderboard is available as plain files. No key, no sign-up, no rate limit beyond fair use. Licensed Apache 2.0.

JSON

For AI assistants

# Add it to Claude Code
claude mcp add --transport http compactbench https://compactbench.com/mcp

# Then ask, for example:
#   Take the CompactBench self-test quick-decision-override, compacting the way you
#   normally would, and tell me what you forgot.

Run it yourself

The benchmark is a Python package. Results files hold scores and settings only, so they're safe to share; traces hold everything and stay wherever you write them.

pip install compactbench
compactbench run --method built-in:hierarchical-summary --suite practice \
  --provider anthropic --model claude-haiku-5-5 --reader-effort high --controls