npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@political-comms/mcp

v0.11.0

Published

MCP server for the Political Comms REST API. Compliant political SMS, MMS, and RCS from Claude and other MCP clients.

Readme

@political-comms/mcp

MCP (Model Context Protocol) server for the Political Comms REST API. Lets Claude and other MCP clients inspect organizations, projects, contact lists, analytics, and billing, and create, test, and schedule compliant political SMS and MMS sends in the US.

Runs over stdio. Requires Node 20 or later and a Political Comms API key (created in the dashboard under Admin > API, prefixed pc_live_).

Setup

Claude Code

claude mcp add political-comms \
  --env POLITICAL_COMMS_API_KEY=pc_live_... \
  -- npx -y @political-comms/mcp

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "political-comms": {
      "command": "npx",
      "args": ["-y", "@political-comms/mcp"],
      "env": {
        "POLITICAL_COMMS_API_KEY": "pc_live_..."
      }
    }
  }
}

Tools

Read only:

| Tool | Description | |------|-------------| | list_organizations | List organizations visible to the API key. Doubles as a credential check. | | get_hierarchy | Full organization hierarchy tree with brands. | | list_projects | List messaging projects, filterable by organization, brand, or campaign. | | get_project | Full configuration of one project. | | get_project_stats | Delivery and engagement stats for one project. | | list_contact_lists | Contact lists with counts and status. | | get_contact_list | One contact list with import progress and analysis. | | get_message_stats | Aggregate message stats for a date range. | | get_ledger_usage | Billing usage for a date range. | | list_conversations | Conversations with at least one inbound message, sorted by last inbound message. | | get_conversation | One conversation: status, contact, message counts, last activity. | | list_conversation_messages | Messages in one conversation, newest first. | | list_email_domains | Email sending domains and their DNS verification status. | | get_email_domain | One sending domain, including the DNS records to publish. | | list_email_senders | Email sender identities (From addresses). | | list_email_lists | Email lists with contact counts and status. | | get_email_list_validation | Status of the latest paid validation run for a list. | | list_email_suppressions | Suppressed addresses at org, identity, or list scope. | | list_email_campaigns | Email campaigns with status and audience counts. | | get_email_campaign | One campaign, including blocked: why it will not schedule. | | get_email_campaign_stats | Report tiles and per-link clicks. | | list_email_templates | Saved email templates with subject and last-updated time. | | get_email_template | One template including its full HTML body. |

Write (each is annotated as non read-only; create_project, test_project, schedule_project, and reply_to_conversation additionally require confirm: true because they stage or send real messages):

| Tool | Description | |------|-------------| | create_project | Create a draft messaging project. | | test_project | Send real test messages to explicit phone numbers. | | schedule_project | Commit a bulk send at a specific date and time. | | unschedule_project | Remove a project's schedule. | | copy_project | Copy a project into a new draft (drops lists, schedule, and stats). | | reply_to_conversation | Send a real SMS reply inside an existing conversation. Requires confirm: true. | | schedule_email_campaign | Commit an email send. Requires confirm: true. | | unschedule_email_campaign | Return a scheduled campaign to a draft state. | | start_email_list_import | Import a CSV of contacts into an email list. Requires confirm: true. |

The server deliberately exposes no delete operations.

Email tools are early access

Every *_email_* tool returns 403 EMAIL_EARLY_ACCESS until the email product reaches general availability. Paid and human-driven email workflows (AI drafting, list validation, result exports) and deliverability triage (pausing and resuming a live send) are dashboard features rather than tools: they cost money or need a human watching a send. There is no inbound email or inbox surface.

Errors

API errors are returned as tool errors with the machine readable code and a recovery hint. Rate limited requests (100/min reads, 60/min writes, 30/min deletes per key) mention the X-RateLimit-Reset wait; authentication failures explain that a human must create a key in the dashboard.

Full API reference: docs.politicalcomms.com. OpenAPI spec: politicalcomms.com/openapi.json.

License

MIT. Questions: [email protected]