Skip to content
PluginStats

@makerkit/env-inspector weekly downloads statistics

By makerkit (4 listings) · npm · MCP servers

Shows coding agents which .env file each variable comes from, and which variables are missing or invalid for each mode, without exposing secret values.

View on npm Stale · Dec 4, 2026

@makerkit/env-inspector has 9,299 recorded weekly downloads on npm, an increase of 29.7% over the past 30 days, ranking #1293 of 3,247 tracked listings.

Weekly downloads
9,299
Official API · Dec 5, 2026
7-day growth
-15.8%
-1.7K weekly downloads
30-day growth
+29.7%
+2.1K weekly downloads
90-day growth
—
Insufficient history
Rank
#1293
Among tracked npm listings

About @makerkit/env-inspector

@makerkit/env-inspector

Lets coding agents check a project's environment variables without seeing secret values. For each mode (development, production, test) an agent gets every variable, the .env file its value comes from, the files it is overridden in, and which variables are missing or invalid.

  • Precedence: resolves the value of each variable the way Next.js (default) or Vite loads .env files.
  • Validation: checks values against a variable model you pass in (required, format, rules that depend on other variables). Without a model, every variable is still listed with its source file.
  • Redaction: values of secret variables are returned as [REDACTED] by default.
  • Editing: sets one variable in the right file, or reads and writes a whole .env file. Only the configured .env file names can be read or written.

Works with single-app projects and monorepos. Apps are not detected automatically: without the apps setting the project root is read as one app, and monorepos list their apps.

Tools

ToolDoes
env_schemaLists the variables of the model by group: description, type, required, secret, dependencies. Contains no values.
env_readReturns every variable of an app for a mode: value, source file, override chain, validation errors, dependency status. Required variables that no file sets are listed with source MISSING.
env_updateSets one variable in one .env file, replacing its line or appending it. Without file, secrets go to the mode's .local file and other variables to the mode's committed file.
env_raw_readReturns the content of one .env file.
env_raw_writeReplaces the content of one .env file.

registerEnvInspectorTools(server, service, { prefix, omit }): prefix is prepended to every name ('kit_' gives kit_env_read); omit leaves tools out by unprefixed name, e.g. ['env_raw_write'] when agents must change env files one key at a time.

mode accepts the configured modes (default development). file accepts only the configured .env file names. app selects the app when more than one is configured (default: the first).

Precedence

Files are listed from lowest to highest precedence. A file later in the list overrides the ones before it.

ModeNext.js (NEXTJS_ENV_FILES, default)Vite (VITE_ENV_FILES)
development.env, .env.development, .env.local, .env.development.local.env, .env.local, .env.development, .env.development.local
production.env, .env.production, .env.local, .env.production.local.env, .env.local, .env.production, .env.production.local
test.env, .env.test, .env.test.local.env, .env.local, .env.test, .env.test.local

Variables set in the shell or by the hosting platform are not read; only the files are.

In env_read:

  • source is the file the effective value comes from.
  • isOverridden is true when more than one definition exists, and overrideChain lists all of them, lowest precedence first.
  • When one file defines a variable twice, the last definition in that file wins and validation fails with the line numbers. source ends with (conflict) only when the duplicates are in the file the effective value comes from (the highest-precedence file that sets it).

Parsing follows dotenv:

  • # comment lines and blank lines are skipped, and export KEY=value is accepted. A key is letters, digits, _, . and -; other lines are not assignments. LF and CRLF files read the same.
  • An unquoted value is trimmed and ends at the first #, so KEY=a#b reads a.
  • A value in ", ' or ` is read whole, up to its closing quote, keeping spaces. A comment may follow it. Only double quotes unescape \" and \\. Single quotes, backticks and unquoted values are literal.
  • A quoted value that does not close on its line continues until a line ending with the closing quote (for example a PEM key).

Writing (env_update, setEnvValue): a plain value is written unquoted. A value with #, quotes, a newline or leading or trailing spaces is written in the first of ', " and ` that reads it back exactly. Carriage returns, and values containing all three quotes, are refused: no dotenv loader would read them back. A file that would not read back as written (every other variable unchanged, the new value exact) is not written: for example, an unclosed quote a person left on another line would otherwise pull the lines below it into one value.

Variable model

The model is an array of variables. Only name is required.

import type { EnvVariableModel } from '@makerkit/env-inspector';
import { z } from 'zod';

export const model: EnvVariableModel[] = [
  {
    name: 'DATABASE_URL',
    description: 'Postgres connection string',
    category: 'Database',
    required: true,
    secret: true,
    type: 'url',
    validate: ({ value }) => z.string().startsWith('postgres://').safeParse(value),
  },
  {
    name: 'STRIPE_SECRET_KEY',
    category: 'Billing',
    secret: true,
    contextualValidation: {
      dependencies: [
        {
          variable: 'BILLING_PROVIDER',
          condition: (value) => value === 'stripe',
          message: 'STRIPE_SECRET_KEY is required when BILLING_PROVIDER is "stripe"',
        },
      ],
      validate: ({ value }) => z.string().startsWith('sk_').safeParse(value),
    },
  },
];
```…

Description from the npm listing.

  • ai-agents
  • dotenv
  • env
  • mcp
  • nextjs

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@makerkit/env-inspector weekly downloads on npm, last 90 days: 9,299 weekly downloads as of Dec 5, 2026.@makerkit/env-inspectorWeekly downloads on npm · Last 90 days9,299downloads / week02K4K6K8K10K12KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@makerkit/env-inspector weekly downloads on npm, last 90 days: 9,299 weekly downloads as of Dec 5, 2026.

7/30/90-day growth

@makerkit/env-inspector weekly downloads growth on npm: -15.8% over 7 days, +29.7% over 30 days, 90-day growth unavailable.@makerkit/env-inspectorWeekly downloads growth on npm9,299downloads / week now7-day growth-1,743 weekly downloads-15.8%30-day growth+2,130 weekly downloads+29.7%90-day growth+9,299 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@makerkit/env-inspector weekly downloads growth on npm: -15.8% over 7 days, +29.7% over 30 days, 90-day growth unavailable.

Ranking history

@makerkit/env-inspector npm ranking history: currently #1293 (by weekly downloads).@makerkit/env-inspectornpm ranking · by weekly downloads · Last 90 days#1293current rank#1160#1180#1200#1220#1240#1260#1280#1300Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankDec 4, 2026 – Dec 6, 2026 · 3 observations · Updated Dec 5, 2026pluginstats.com
@makerkit/env-inspector npm ranking history: currently #1293 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 65, #13 (overall #1,293)
All npm: every listing in weekly downloads order

Listing placement

MCP servers468 listings · 24 pages · page 15, #8 (overall #288)
MCP servers: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (121)
Recent weekly downloads observations for @makerkit/env-inspector
Date (UTC)Weekly downloadsChange vs. previous
9,299-1.5K
10,848+32
10,816+371
10,445+211
10,234-505
10,739-64
10,803-239
11,042+123
10,919-86
11,005+187
10,818-267
11,085-268
11,353-373
11,726—

Similar npm MCP servers plugins

All 20 @makerkit/env-inspector alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@makerkit/env-inspector. First seen Dec 4, 2026; last successful collection Dec 4, 2026. See the methodology.