The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Political Comms SDK listing page.
Official client libraries and tools for the Political Comms REST API. Direct-to-carrier political texting for campaigns, PACs, advocacy organizations, fundraisers, and elected officials.
The API surface covers Projects (compose, test, schedule, send), Contact Lists, Media Files, Organizations and hierarchy, Brands, Campaigns, Tracking Domains, Phone Numbers, Analytics, Billing, and Email (sending domains, sender identities, lists and imports, suppressions, templates and AI drafts, and campaigns). The full OpenAPI 3.1 specification lives at politicalcomms.com/openapi.json and the reference documentation at docs.politicalcomms.com.
| Package | Registry | Description |
|---|---|---|
@political-comms/sdk | npm | TypeScript SDK. Zero dependencies, native fetch, built-in retries. |
@political-comms/cli | npm | Command line interface. npx @political-comms/cli auth check |
@political-comms/mcp | npm | MCP server for Claude and other MCP clients. |
political-comms | PyPI | Python SDK mirroring the TypeScript client. |
Every client authenticates with an API key passed in the X-API-Key header. Keys are created in the dashboard under Admin > API and are prefixed pc_live_. All packages read the POLITICAL_COMMS_API_KEY environment variable by default.
Node 20 or later and Python 3.10 or later.
MIT. See LICENSE.