# variety/variety

Variety: a MongoDB schema analyzer

Repository: https://github.com/variety/variety
Canonical: https://ross.abutalabs.com/products/variety
Language: JavaScript
License: MIT
License Family: permissive
Topics: database-tools, mongodb, mongodb-schema, mongosh, schema-analyzer, cli, nodejs
Last push: 2026-08-20T19:36:56+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 35, longevity 100
- inputs: {"age_days": 5280, "days_push": 13, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1764, forks 242 (observed 2026-08-28T04:05:33.035706+00:00)

## What it is
Variety is a lightweight schema analyzer for MongoDB that runs via the mongosh/mongo shell or Node.js. It scans collections to reveal the document structure, field frequencies, value types, and rare keys or schema outliers.

## Use cases
- analyze the schema of an unknown MongoDB collection
- discover rare or outlier fields in a MongoDB database
- learn the data structure of an inherited codebase's data dump
- profile BSON types present in MongoDB documents
- document field coverage across a MongoDB collection

## When to choose
- you work with MongoDB and need a quick, lightweight schema overview without a GUI
- you inherited a dataset and want to understand its structure fast
- you need to find rare keys or inconsistent fields across documents

## When to avoid
- you use a database other than MongoDB
- you need a persistent GUI-based schema explorer or data modeling tool
- you need continuous schema validation or enforcement rather than one-off analysis

## Facets
- artifact type: cli-tool
- maturity: active
- function: database, developer-tools, cli
- domain: databases, developer-tools, data-science
- platform: cli, cross-platform
- tags: mongodb, schema-analyzer, mongosh, bson, database-introspection, nodejs

## Member repositories
- variety/variety (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:33.035706+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:26:41.669242+00:00, confidence not recorded.
  - readme: https://github.com/variety/variety (fetched 2026-08-28T04:05:33.035706+00:00, sha af56de179cbb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
