A weather intelligence MCP server built following the Navteca template tutorial.
Three tools for weather-based decisions:
- outdoor_activity_check - Score conditions (0-100) for running, hiking, cycling
- surf_conditions - Wave height, swell period, safety assessment for water sports
- garden_watering_advisor - Should you water today based on soil moisture and rain forecast
Uses Open-Meteo (free, no API key required):
- Weather API
- Air Quality API
- Marine API
- Geocoding API
- Input validation with prompt injection detection
- Secure HTTP client with URL allowlisting
- TLS enforcement
- Response size limiting
- Retry with exponential backoff
This project includes baseline guardrails to reduce accidental secret exposure:
.gitignoreexcludes.envfiles and private key material.pre-commit-config.yamlrunsgitleaksbefore commitsmake scan-secretsperforms a full workspace scan (--no-git)
- Install
gitleaks - Install
pre-commit - Run:
pre-commit install
pre-commit run --all-files
make scan-secretspip install -e .
# or
uv syncweather-intelligence-server
# or
python -m weather_intelligence.server