python-dotenv (MCP Server)

GitHub

Reads key-value pairs from a .env file and can set them as environment variables. It helps in developing applications following the 12-factor principles.

Claude Desktop Configuration

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "python-dotenv": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-python-dotenv"
      ]
    }
  }
}