policyengine-api

Official

Access PolicyEngine calculations via REST API.

AuthorPolicyEngine
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Programmatic access to PolicyEngine's tax and benefit calculations is essential for integration into other applications and for advanced analytical workflows. This Skill details the Flask-based REST API, enabling seamless data exchange and automation.

Core Features & Use Cases

  • Comprehensive Endpoints: Provides endpoints for household calculations, policy management, economy impacts, and metadata.
  • Performance & Caching: Implements Redis caching and background jobs (RQ) for efficient handling of requests and long-running calculations.
  • Country Integration: Dynamically loads and routes requests to specific country packages (US, UK, etc.).
  • Standardized Patterns: Guides on standard endpoint structure, request validation, and error handling.
  • Use Case: Integrate PolicyEngine's household calculation endpoint into a custom web service, ensuring proper request validation, caching, and error handling for optimal performance.

Quick Start

Use the policyengine-api skill to get the URL for the OpenAPI documentation.

Dependency Matrix

Required Modules

flaskrequestsredisrq

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: policyengine-api
Download link: https://github.com/PolicyEngine/policyengine-claude/archive/main.zip#policyengine-api

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository