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

@pwa-today/mcp-server

v0.1.5

Published

Local MCP server for PWA Today runtime audits

Readme

PWA Today MCP Server

Run generic PWA checks and PWA Today runtime audits from an MCP-compatible coding agent.

Never paste your PWA Today client secret or access token into a chat. Store it in your MCP client's secret or environment configuration. The model does not need to see it.

Setup

  1. Create or retrieve API credentials in the PWA Today console.
  2. Register and verify the application hostname in the console if you will run hosted audits.
  3. Install the package or configure your MCP client to run pwa-today-mcp.
  4. Store PWA_CLIENT_ID and PWA_CLIENT_SECRET in the server environment. Optionally set PWA_API_URL; it defaults to https://api.pwa.today.
  5. Restart or reconnect your MCP client.
  6. Ask your agent to start an audit.

The server uses stdio only and exposes these tools:

  • check_pwa
  • start_pwa_audit
  • get_pwa_audit_configuration_options
  • create_pwa_audit_configuration
  • get_pwa_audit_status
  • get_pwa_audit_results
  • list_pwa_audits
  • compare_pwa_audits
  • get_pwa_audit_entitlement

Example requests:

Run generic PWA checks on https://example.com. Do not start a hosted audit.
Run a standard PWA Today audit on https://staging.example.com. Use this repository and commit as source metadata. Show me the result when it finishes.
Review audit <auditId>, map every failed or warning check to this codebase, and propose a minimal fix plan. Do not edit files yet.
After the deployment is live, run the audit again and compare the quality gate and failed checks.
List the 10 most recent audits for example.com and identify the latest completed run.
Compare these two audit IDs: [baseline audit id] and [candidate audit id]. Tell me which checks resolved, which regressed, and whether the comparison used the same ruleset.
Check my PWA Today entitlement before starting an audit. Do not start one yet.

check_pwa accepts public HTTPS targets only. It does not create an audit, require an account, or consume allowance. start_pwa_audit creates a hosted audit and still requires a verified application hostname. The server creates an idempotency key for each new audit and reports it with the audit ID. If creation has an unknown outcome, retry with that same key. The MCP package does not accept audited-application authentication or deploy applications.

get_pwa_audit_configuration_options lists the plan-compatible checks and the required options for the checks the user enables. create_pwa_audit_configuration saves the resulting reusable configuration without running an audit. Agents must collect every required option and confirm the final configuration before saving. Neither tool accepts site authentication or other secrets.

Listing audits, comparing audits, and retrieving entitlement do not consume allowance. Starting an audit can reserve or consume allowance according to existing API behavior. Comparison reports observed result differences; it does not prove that a particular code or deployment change caused them.