.env.example•1.04 kB
# EPA Envirofacts MCP Server Configuration
# Copy this file to .env and customize as needed
# EPA API Configuration
# Base URL for EPA Envirofacts API
EPA_API_BASE_URL=https://data.epa.gov/efservice/
# Request timeout in seconds (EPA API can be slow, especially for large queries)
REQUEST_TIMEOUT=300
# Number of retry attempts for failed requests
RETRY_ATTEMPTS=3
# Maximum results per API query (prevents overwhelming responses)
MAX_RESULTS_PER_QUERY=1000
# Geocoding Configuration
# Service to use for geocoding addresses to coordinates
# Options: nominatim (free), google (requires API key)
GEOCODING_SERVICE=nominatim
# User agent string for geocoding requests (required for Nominatim)
GEOCODING_USER_AGENT=epa-envirofacts-mcp/1.0
# API key for geocoding service (optional for Nominatim, required for Google)
# GEOCODING_API_KEY=your_api_key_here
# Logging Configuration
# Log level: DEBUG, INFO, WARNING, ERROR
LOG_LEVEL=INFO
# Optional: Redis for caching (not implemented in current version)
# REDIS_URL=redis://localhost:6379/0