# Env Linter — MCP tool `findutils:env_linter`

Lint a dotenv file for duplicate keys, unquoted spaces, export prefixes, secret-looking values (masked), and drift against an optional .env.example. Returns issues and a masked key table. Does not execute the file.

- Category: developer
- MCP server: https://mcp.findutils.com/ (Streamable HTTP, no API keys, 120 req/min per IP)
- REST endpoint: POST https://api.findutils.com/api/tools/env-linter/execute (no API keys, 60 req/min per IP)
- Reference page: https://findutils.com/mcp/env-linter/
- Same tool on the other surface: https://findutils.com/api/env-linter/

## Connect

```bash
claude mcp add findutils --transport http https://mcp.findutils.com/
```

Claude Desktop (`claude_desktop_config.json`):

```json
{
  "mcpServers": {
    "findutils": {
      "url": "https://mcp.findutils.com/"
    }
  }
}
```

## Call the tool (verified example)

```bash
curl -X POST https://mcp.findutils.com/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "env_linter",
      "arguments": {
        "env": "FOO=1\nFOO=2\n",
        "example": "FOO=\nBAR=\n"
      }
    }
  }'
```

## Input schema

| Argument | Type | Required | Description |
|---|---|---|---|
| `env` | string | yes | Contents of a .env file. |
| `example` | string | no | Optional .env.example contents for key drift checks. |

Example arguments (verified):

```json
{
  "env": "FOO=1\nFOO=2\n",
  "example": "FOO=\nBAR=\n"
}
```

## Also a REST endpoint

```bash
curl -X POST https://api.findutils.com/api/tools/env-linter/execute \
  -H "Content-Type: application/json" \
  -d '{
    "env": "FOO=1\nFOO=2\n",
    "example": "FOO=\nBAR=\n"
  }'

# Parameter schema
curl https://api.findutils.com/api/tools/env-linter
```

Full REST reference: https://findutils.com/api/env-linter/ · OpenAPI 3.1 spec: https://findutils.com/api/openapi.json

---
Full catalog: POST https://mcp.findutils.com/ with method `tools/list` · https://findutils.com/mcp/ · https://findutils.com/llms.txt
