loaditout.ai
SkillsPacksTrendingLeaderboardAPI DocsBlogSubmitRequestsCompareAgentsXPrivacyDisclaimer
{}loaditout.ai
Skills & MCPPacksBlog

env-diff

MCP Tool

AdametherzLab/env-diff

Compare .env files across environments, branches, and runtimes. Type-aware diffing, secret masking, git branch comparison, MCP server for AI agents. Zero dependencies.

Install

$ npx loaditout add AdametherzLab/env-diff

Platform-specific configuration:

.claude/settings.json
{
  "mcpServers": {
    "env-diff": {
      "command": "npx",
      "args": [
        "-y",
        "env-diff"
      ]
    }
  }
}

Add the config above to .claude/settings.json under the mcpServers key.

About

[](https://github.com/AdametherzLab/env-diff/actions) [](https://www.npmjs.com/package/@adametherzlab/env-diff) [](https://www.typescriptlang.org/) [](LICENSE) []()

env-diff

> Compare .env files across environments, branches, and runtimes. Catch missing variables, type mismatches, and configuration drift before deployment.

Built by AdametherzLab with Claude.

Why env-diff?

Environment variable mismatches are one of the most common causes of deployment failures. A missing DATABASE_URL, a PORT that changed from number to string, a secret that exists in development but not production — these bugs are silent until they break production.

env-diff catches them all.

Features
  • Type-aware diffing — Catches when PORT=3000 (number) becomes PORT="3000" (string)
  • Git branch comparison — env-diff .env:main .env:staging compares across branches
  • Secret masking — Automatically detects and masks API keys, tokens, and passwords
  • Multi-file matrix — Compare dev, staging, and prod simultaneously
  • Codebase scanning — Auto-generate .env.example from your source code
  • Sync mode — Generate patches to fix environment drift
  • Watch mode — Live drift detection during development
  • CI/CD ready — GitHub Action, strict mode, JSON output for automation
  • MCP server — Native integration for AI coding agents (Claude Code, Cursor)
  • Zero dependencies — Pure TypeScript, runs on Bun or Node.js 20+
  • Config file — Persistent settings via .envdiffrc.json
How env-diff compares

| Feature | env-diff | dotenv-linter |

Tags

ai-toolsbunci-cdcliconfigurationdeveloper-toolsdevopsdiffdotenvenvenvironment-driftenvironment-variablesmcpsecretstypescript

Reviews

Loading reviews...

Quality Signals

1
Stars
0
Installs
Last updated27 days ago
Security: AMCP ConfigREADME

Safety

Risk Levelmedium
Data Access
read
Network Accessnone

Details

Sourcegithub-crawl
Last commit3/22/2026
View on GitHub→

Embed Badge

[![Loaditout](https://loaditout.ai/api/badge/AdametherzLab/env-diff)](https://loaditout.ai/skills/AdametherzLab/env-diff)