Skip to content
BEAD

.env File Parser

Parse a .env file into JSON, with quoted-value and export support — and warn about anything fishy.

KeyValue
DATABASE_URLpost••••••••
DB_POOL_SIZE20
API_KEYsk_t••••••••
TIMEOUT_MS5000
DEBUGtrue
SIGNING_KEY----••••••••
EMPTY(empty)
MESSAGEit's•••••
As JSON
{
  "DATABASE_URL": "postgres://user:pass@localhost:5432/mydb",
  "DB_POOL_SIZE": "20",
  "API_KEY": "sk_test_4eC39HqLyjWDarjtT1zdp7dc",
  "TIMEOUT_MS": "5000",
  "DEBUG": "true",
  "SIGNING_KEY": "-----BEGIN PRIVATE KEY-----\nabcdef1234567890\n-----END PRIVATE KEY-----",
  "EMPTY": "",
  "MESSAGE": "it's fine"
}
</>Use this tool programmaticallycurl · JavaScript · MCP

Same tool, callable from any HTTP client or from Claude (via MCP). Anonymous: 100 req/day per IP. Sign up for 1,000 req/day.

curl
curl https://api.b-e-a-d.com/tools/env-parser/run \
  -H "Content-Type: application/json" \
  -d '{
  "input": "your input here"
}'
JavaScript (fetch)
const res = await fetch("https://api.b-e-a-d.com/tools/env-parser/run", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "input": "your input here"
}),
});
const data = await res.json();
console.log(data.result);
MCP (Claude Desktop / Claude Code)
# In Claude Desktop / Claude Code, add to your MCP config:
{
  "mcpServers": {
    "bead": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.b-e-a-d.com"]
    }
  }
}

# Then ask Claude to call:
mcp__bead__bead_env_parser

Full reference: developer docs · OpenAPI spec

You might also like

Used in these workflows