Skip to content

Conversation

@PavelMakarchuk
Copy link
Contributor

@PavelMakarchuk PavelMakarchuk commented Jan 15, 2026

Summary

Adds a LegiScan bill monitoring script that automatically tracks state tax and benefit legislation relevant to PolicyEngine.

Features

  • LegiScan API Integration: Searches for bills using configurable queries (income tax rate, EITC, child tax credit, SNAP benefits, etc.)
  • Smart Filtering: Two-stage relevance filter with inclusion keywords (personal/individual income tax, EITC, child credits, SNAP) and exclusion keywords (business credits, property tax, Medicaid, education, military, etc.)
  • 2026 Session Focus: Only tracks bills from current legislative sessions
  • Supabase Persistence: Stores processed bills to prevent duplicate notifications
  • GitHub Issue Digests: Creates daily digest issues with all new relevant bills grouped by state
  • Last Action Tracking: Extracts and displays the most recent legislative action for each bill

Usage

export LEGISCAN_API_KEY="your_key"
export SUPABASE_KEY="your_key"

# Run for specific states
python scripts/legiscan_monitor.py --states GA,NY,CA

# Dry run (no issues created)
python scripts/legiscan_monitor.py --states GA --dry-run

Initial Results


Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants