
Weatherkit
Apple Weather data access package covering forecasts, alerts, historical context, and required attribution for iOS apps.
- skills.sh installs
- 3.7K
- GitHub stars
- 1.3K
- last updated
- Aug 21, 2026
What it does
- Covers current, minute, hourly, and daily forecasts, weather alerts, iOS 18+ change and historical comparison queries, and summaries and statistics
- Includes
WeatherServicesetup, selectiveWeatherQueryfetches, a query-type reference table, and an attribution section - Notes date-range rules: daily and hourly ranges are inclusive-start and exclusive-end, with forecasts limited to 10 days ahead
- Designed for iOS developers integrating weather data, showing alerts, caching responses, or reviewing WeatherKit query limits
Install
$ npx -y skills add dpearson2699/swift-ios-skills --skill weatherkit -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
WeatherKit
Fetch current conditions, hourly and daily forecasts, weather alerts, and
historical statistics using WeatherService. Display required Apple Weather attribution.
Contents
- Setup
- Fetching Current Weather
- Forecasts
- Weather Alerts
- Selective Queries
- Context Queries
- Attribution
- Availability
- Common Mistakes
- Review Checklist
- References
Setup
Project Configuration
- Enable the WeatherKit capability in Xcode (adds the entitlement)
- Enable WeatherKit for your App ID in the Apple Developer portal
- Add
NSLocationWhenInUseUsageDescriptionto Info.plist if using device location - WeatherKit requires an active Apple Developer Program membership
Import
import WeatherKit
import CoreLocation
Creating the Service
Use the shared singleton or create an instance. WeatherService conforms to
Sendable; keep app cache and UI state isolated separately.
Details
- Repository
- github.com/dpearson2699/swift-ios-skills
- Categories
- Mobile Apps, Backend & APIs
- First seen
- Apr 16, 2026
More from dpearson2699/swift-ios-skills
All 94- Activitykit3.6K
- Cloudkit3.5K
- Photokit3.5K
- Realitykit3.5K
- Mapkit3.5K
- Swiftui Webkit3.5K
- Avkit3.4K
- Spritekit3.4K
- Cryptokit3.4K
- Metrickit3.4K
- Pdfkit3.4K
- Gamekit3.4K
- Swift Architecture3.4K
- Eventkit3.4K
- Musickit3.3K
- Pencilkit3.3K
- Ios Simulator3.3K
- Carplay3.3K
- Scenekit3.3K
- Accessorysetupkit3.3K
- Homekit3.3K
- Callkit3.3K
- Cryptotokenkit3.3K
- Financekit3.3K
Similar to Weatherkit
More Mobile Apps
ios-data-framework-skillsPlugindpearson2699/swift-ios-skills1.3K starsData and service frameworks: CloudKit, HealthKit, EventKit, Contacts, MusicKit, PassKit, WeatherKit, FinanceKit
energykitSkilldpearson2699/swift-ios-skills3.8K installsApple's EnergyKit framework for querying grid cleanliness forecasts and submitting managed-device load events in smart home apps.
ExMachina Weather WindowsMCP serversystems-exmachinaPaid x402 access to US weather windows and worldwide hourly forecasts, with a free preview.
weatherSkillchandima/agent-skills184 installsFetches current conditions and forecasts from free weather services without requiring any API key.
tianqiSkillaahl/skills2.7K installsWeather forecast lookup for China covering 15-day, hourly, and minute-level data with life indices.
Weather AutomationSkillclaude-office-skills/skills590 starsAutomated weather data retrieval, forecast reporting, and threshold-based alerts that trigger notifications across connected tools.