GASP Standard
OfficialCompiles and exports GASP metrics, ontology, semantic model and mappings into Apache Ossie documents, validated against the upstream Ossie validator.
Generates Databricks SQL from a user's adapter for GASP metrics.
Writes GASP metrics as a dbt MetricFlow project in the warehouse's SQL.
Exports the GASP knowledge graph as Neo4j Cypher for loading into Neo4j.
Generates Snowflake SQL and writes a Snowflake Cortex Analyst semantic model from GASP metrics.
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
GASP Standard
Generally Accepted SaaS Principles. An open standard for SaaS metrics: 320 metrics across 13 departments, 123 glossary definitions, a canonical formula for every computable metric in a small tested grammar, one vocabulary of 295 fields across 56 datasets, a relationship graph of 105 nodes and 213 edges plus an MCP server that gives AI agents all of it as structured tools.
The standard is published at https://gaspwiki.com. This repository holds its source and the tooling that compiles it. It works with Apache Ossie (incubating): npm run derive writes the standard out as Ossie files, which pass the upstream validator.
What is here
Path | What it is | Licence |
| The canon. Metric definitions per department ( | CC BY 4.0 ( |
| Generated from the canon by | CC BY 4.0 |
| The MCP server, published on npm as | Apache 2.0 ( |
| Decision documents, the Ossie spike findings, the Ossie interop spec ( | CC BY 4.0 |
| Architecture decision records, newest first | CC BY 4.0 |
| Who maintains the standard, how changes are decided, what counts as a breaking change and what happens if the maintainer stops | |
| How to propose a change and what the tests require | |
| What changed in each release of the MCP package and the standard it bundles |
Related MCP server: Semantic Metrics Modeling Assistant
Use it
Read the standard at https://gaspwiki.com/v1/overview, or in the per-department files under standard/metrics/.
Give it to an agent. The MCP server has twenty-four tools: metric and glossary lookup, canonical formulas, data requirements, SQL generation from your adapter for Postgres, Snowflake, BigQuery or Databricks, mapping validation, a compiler that writes the covered metrics into your Apache Ossie semantic model, a target writer that hands them back as a Snowflake Cortex Analyst model, a Cube data model or a dbt MetricFlow project in your warehouse's SQL, a drift scorer that runs your metrics against the canonical ones on the synthetic dataset, a schema profiler that turns your warehouse schema into a minimal Ossie model, a mapping proposer and a Decide step that records the answers people give, the SQL that derives CEL revenue and credit events from your subscription, invoice or usage ledger, the readiness checks, the ranked fix plan and a readiness report that says which level you have reached, three graph traversal tools and a classifier that runs one contract through the year-or-renewal test.
{ "mcpServers": { "gasp-standard": { "command": "npx", "args": ["-y", "gasp-standard-mcp"] } } }Map your warehouse. standard/gasp-adapter-schema.json describes the adapter file, standard/gasp-ossie-extension-v1.json the GASP payloads in the Ossie documents GASP writes, and standard/exports/gasp-adapter-template.json lists every field to fill in. validate_mapping (also validate_adapter) checks a mapping and generate_query compiles a metric against it.
Load it into a semantic layer. standard/exports/ossie/ holds the Apache Ossie ontology, semantic model and mapping. docs/ossie-spike.md explains what the files contain and how the formulas were compiled into them.
Load the graph. standard/exports/gasp-knowledge-graph.cypher imports into Neo4j.
Work on it
cd gasp-wiki-mcp
npm ci
npm run build
npm test # parser, compiler, every formula executed on PGlite, Ossie export
npm run derive # regenerate standard/exports and the derived parts of ontology.json after editing the canonThe formula grammar is documented at the top of gasp-wiki-mcp/src/formula.ts. Every formula in standard/formulas.json has to parse, resolve against the ontology and compile; the tests check each one. CONTRIBUTING.md lists the rest of the rules.
About this repository
GASP is written and maintained by Gareth O'Shea. Contributions are welcome: issues for proposals and questions, pull requests for wording, examples and tooling.
This repository is a mirror of the public parts of the GASP working repository, updated on every change there, so nothing merges here directly. The website's source stays private. Pull requests opened here are reviewed here and applied upstream by the maintainer. The change appears here with the next mirror push. MIRROR names the source commit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Search 20,000+ corporate KPIs and 30,000+ source-attributed industry benchmarks. For any metric, get a plain-language definition, the formula, and how it is computed, then pull benchmark values with citations to compare performance across industries. Built for finance, operations, and analytics teams, and the agents that assemble their dashboards, scorecards, and OKRs. Free to search; benchmark values require a free account.
116 marketing, RevOps and SaaS calculators with benchmarks, guided reviews, content search, booking.
Read-only SaaS business intelligence from GA4, Stripe, and Google Search Console.
Read-only Recharge store analytics: metrics, dimensions, and governed queries in plain language.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides accurate SaaS metrics calculations (LTV, CAC, runway, health score, etc.) with formulas and interpretations for AI agents and founders, ensuring no hallucinated numbers.MIT
- FlicenseNot gradedqualityDmaintenanceEnables data teams to define and validate metrics through conversation, inspect trust scores and lineage, and export definitions to Looker, Tableau, and dbt.-
- AlicenseAqualityBmaintenanceDeterministic marketing math for AI agents: 62 engines that compute LTV:CAC, CAC payback, pipeline coverage, A/B test significance, budget allocation, pricing and retention from your own numbers. Runs locally with Node 18+, makes no network calls and stores no data.51MIT
- AlicenseNot gradedqualityCmaintenanceEnables teams to structure metric definitions, compare semantic differences, detect JOIN fanout and drift, reconcile mismatched numbers layer by layer, and persist metric contracts as YAML.MIT