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.
Platform-specific configuration:
{
"mcpServers": {
"env-diff": {
"command": "npx",
"args": [
"-y",
"env-diff"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
[](https://github.com/AdametherzLab/env-diff/actions) [](https://www.npmjs.com/package/@adametherzlab/env-diff) [](https://www.typescriptlang.org/) [](LICENSE) []()
> Compare .env files across environments, branches, and runtimes. Catch missing variables, type mismatches, and configuration drift before deployment.
Built by AdametherzLab with Claude.
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.
PORT=3000 (number) becomes PORT="3000" (string)env-diff .env:main .env:staging compares across branches.env.example from your source code.envdiffrc.json| Feature | env-diff | dotenv-linter |
Loading reviews...