PolicyEngine
Menu
ResearchModelAPIDonate
Claude Code Plugin

AI-powered policy analysis

Run microsimulations, model reforms, analyze distributional impacts, and build dashboards — all from your terminal.

# 1. Install Claude Code
$ npm install -g @anthropic-ai/claude-code
# 2. Add the plugin
$ claude plugins add PolicyEngine/policyengine-claude
# 3. Analyze
> What is the budgetary impact of raising the personal allowance to £13,500?

What you can do

Model a reform

Budgetary and distributional impacts from plain English.

> What if we raised the personal allowance to £13,500?
Running microsimulation on Family Resources Survey...
Cost: £8B · Winners: 54% · Gini: -0.001

Analyze historical policy

Study how programs have changed over time.

> How has the Universal Credit standard allowance changed?
Reading gov.dwp.universal_credit.standard_allowance...
Single 25+: £318/mo (2015) → £400/mo (2025)

Create household calculators

Show how a specific household is affected.

> Set Child Benefit to £30/wk per child. Impact on a family of 4 earning £35k?
Child Benefit: £2,251 → £3,120/yr
Net change: +£869/yr (+£72/mo)

Build interactive dashboards

Let stakeholders explore reform scenarios.

> Build a dashboard showing the impact of cutting the basic rate by 1p
Creating interactive app with charts...
✓ app.py written → ready to run

Write policy briefs

Research-quality analysis with charts and tables.

> Write a brief on abolishing the two-child limit
Cost: £2.3B · 90% goes to bottom 3 deciles
✓ two_child_limit_brief.md written with 3 charts

Constituency analysis

Map reform impacts to every constituency.

> Map the two-child limit repeal across all 650 constituencies
Loading constituency-level microdata...
✓ 650 constituencies analyzed → choropleth ready

Demo

Watch how the plugin examines the impact of TANF on a household in LA County — from a plain-English prompt to a full household-level analysis.

From our June 2025 launch video · Watch full video

Population-level policy analysis

The analysis-tools plugin turns Claude into a microsimulation analyst. Point it at any tax or benefit reform and it runs full population analysis using PolicyEngine's weighted survey data.

Cost & revenue
Budgetary impact of any reform
Winners & losers
Who gains and who loses
Distributional
Decile impacts, Gini changes
Poverty effects
Rate and depth changes
Constituency
Per-constituency geographic impacts
Regional
Country and region breakdowns

Read more

24
Skills
21
Agents
4
Commands
7
Bundles