GitHub - solo-founders/sf-microclimates: Free hyperlocal weather API for 50 San Francisco neighborhoods. No API key required. Claude Code and Clawdbot Skills
Navigation Menu
Search code, repositories, users, issues, pull requests...
Provide feedback
We read every piece of feedback, and take your input very seriously.
Saved searches
Use saved searches to filter your results more quickly
To see all available qualifiers, see our documentation.
Free hyperlocal weather API for 50 San Francisco neighborhoods. No API key required. Claude Code and Clawdbot Skills
License
solo-founders/sf-microclimates
Folders and files
Latest commit
History
Repository files navigation
SF Microclimates API
Real weather for 50 San Francisco neighborhoods. Free API. No key required.
🌐 Live API: microclimates.solofounders.com
Example website: view weather in all regions of San Francisco
Use with Claude Code, Clawdbot, or build into your apps.
Built by Solo Founders.
Why This Exists
SF has the most dramatic microclimates of any US city.
Weather apps say "San Francisco: 58°F" — but that's useless. It can be 52°F and foggy in the Outer Sunset while it's 65°F and sunny in the Mission, just 3 miles apart.
This API aggregates 150+ outdoor sensors and groups them by neighborhood, so you get actual local temperatures — not some airport reading from SFO.
Try It Instantly
No API key. No signup. Just use it.
Add to Claude Code or Clawdbot
Copy and paste this into your skills folder:
Use Cases
Endpoints
50 Neighborhoods
From Marina to Noe Valley, Presidio to Twin Peaks — every SF neighborhood mapped.
Includes: mission, castro, marina, soma, haight, noe_valley, outer_sunset, inner_richmond, north_beach, pacific_heights, potrero, dogpatch, bayview, twin_peaks, presidio, tenderloin, chinatown, japantown, cole_valley, glen_park, and 30 more.
Response Format
Single Neighborhood
All Neighborhoods
Air Quality
Each response includes real-time air quality data from PurpleAir sensors.
Response Fields
AQI Categories
Calculation Method
AQI is calculated from PM2.5 using the US EPA formula:
This gives you accurate, hyperlocal air quality — not a city-wide average from a distant monitoring station.
Self-Hosting
Want to run your own instance?
1. Clone & Install
2. Get a PurpleAir API Key
This API uses PurpleAir sensors. Sign up at develop.purpleair.com — free for personal use.
3. Create KV Namespace
Add the output to wrangler.toml:
4. Set Your API Key
5. Deploy
Local Development
Configuration
How It Works
Fork for Your City
LA, Seattle, NYC, Chicago, Austin — every city has microclimates.
The neighborhood bounding boxes are in src/index.ts. To adapt:
PRs welcome! We'd love to see la-microclimates, nyc-microclimates, etc.
Credits
License
MIT — use it however you want.
About
Free hyperlocal weather API for 50 San Francisco neighborhoods. No API key required. Claude Code and Clawdbot Skills
Resources
License
Uh oh!
There was an error while loading. Please reload this page.
Stars
Watchers
Forks
Releases
Packages
0
Contributors
3
Languages
Footer
Footer navigation