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

gasp-standard-mcp

v1.9.0

Published

MCP server for the GASP Standard — SaaS metrics definitions, formulas, benchmarks, entity relationships, business model graph, access governance, and query generation

Readme

gasp-standard-mcp

MCP server for the GASP Standard — the Generally Accepted SaaS Principles standard for metric definitions, formulas, benchmarks, and relationships.

Works with Claude Code, Claude Desktop, or any MCP-compatible client.

Install

Claude Code (one command)

claude mcp add gasp-standard -- npx -y gasp-standard-mcp

Manual config

Add to your project .mcp.json or ~/.claude/settings.json:

{
  "mcpServers": {
    "gasp-standard": {
      "command": "npx",
      "args": ["-y", "gasp-standard-mcp"]
    }
  }
}

Restart your MCP client after adding the config.

Tools

| Tool | Description | |------|-------------| | lookup_metric | Full metric details: definition, formula, benchmarks, entity, common mistakes, sources | | list_metrics | List all metrics, optionally filtered by department and/or signal type | | get_formula | Get formula(s) for a metric | | get_relationships | Upstream/downstream relationships for metrics, entities, or concepts — 21 relationship types across signal, lifecycle, ownership, interaction, and financial flow categories | | get_data_requirements | Data requirements for implementing a metric: fields, types, grain, source, and example SQL | | search | Full-text search across metrics, definitions, and data requirements | | generate_query | Generate warehouse-specific SQL from a metric name + adapter mapping | | validate_adapter | Validate a GASP adapter mapping file — reports which metrics are fully/partially/not covered | | infer_drivers | Diagnose what could explain an observed metric movement — ranked upstream candidates with paths and per-step edge classifications | | explain_path | Enumerate edge chains between two metrics, with classification (metric_signal / structural / lifecycle / behavioral / assignment / generative) per step | | coverage_gap | Audit a metric set: identify one-hop upstream/downstream metrics not in the set, plus any disconnected metrics |

The traversal tools (infer_drivers, explain_path, coverage_gap) return structure — paths, classifications, attenuation scores — not numeric forecasts. They serve diagnosis, exploration, and coverage-audit workflows respectively, and compose: use infer_drivers to pick candidates, explain_path to scrutinise a chain, then coverage_gap to check whether the candidate is being measured. For counterfactual "what if" simulation, use the TWIN Modifier.

Data

  • 300 metrics across 13 departments
  • 92 glossary definitions (80 SaaS domain + 12 GASP framework)
  • 82 relationship nodes (60 metrics + 15 entities + 7 concepts), 164 edges
  • 21 relationship types: metric signal (drives, reduces, predicts, component, measures), entity lifecycle (converts_to, parent_of, belongs_to), entity ownership (owns, grants, priced_by), entity interactions (manages, serves, engages_via, submits, represented_by, sources), entity financial flows (generates, produces, contributes_to, incurs)
  • 78 data requirements with field types, grain, and example SQL
  • 15 business entities (Customer, Subscription, License, Lead, Opportunity, User, Ticket, Employee, Invoice, Partner, Project, Plan, Product, Campaign, Contact)
  • 7 business concepts (Revenue, Bookings, COGS, Cohort, Pipeline, Segment, TCV)
  • 22 source categories, 198 canonical fields
  • 60 structured formulas with decomposed inputs (metric refs + field refs)
  • 60 temporal mappings (grain, frequency, period for every metric node)
  • Access control classifications for every graph metric (sensitivity tier + access scope)
  • CEL change_nature field for revenue quality analysis (Adjusted NRR/GRR)
  • Per-department cross-references (e.g. NRR under Customer Success, Gross Margin under Finance) now resolve to the full canonical content via slug lookup
  • Sources: the canonical GASP Standard files

Examples

Once installed, ask your AI assistant:

Definitions and structure

  • "What is NRR?"
  • "How do I calculate CAC Payback?"
  • "What drives ARR?"
  • "How does Customer relate to Subscription?"
  • "What sensitivity tier is CAC classified as?"
  • "What does confidential mean in GASP?"
  • "How does Plan relate to Subscription?"
  • "Which campaigns source leads into the pipeline?"
  • "List all marketing metrics"
  • "What data do I need to implement ARR tracking?"
  • "Search for churn"

Diagnosis, exploration and coverage (new in 1.9.0)

  • "ARR is down this month. What could explain it?" — infer_drivers
  • "How does Win Rate eventually affect Free Cash Flow?" — explain_path
  • "We track ARR, NRR, GRR, CAC and CAC Payback. What important metrics are we missing?" — coverage_gap
  • "Why might NRR be slipping? Trace the path back through Health Score." — composes infer_driversexplain_path

License

Apache-2.0