uv-index-today-mcp
Fetches live US UV Index forecasts from the EPA and explains UV risk.
Get today's UV Index by ZIP code or city/state, including EPA category, sun protection advice, UV Alert status, peak hour, and hours with UV ≥3.
Get an hour-by-hour local-time UV forecast with EPA bands, peak hour, and protection window.
Explain any UV Index value using the EPA scale and advice plus the NWS UV Alert rule offline.
Returns structured JSON, a summary, as_of, source, and more link; US forecasts only and no API key.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@uv-index-today-mcp What's the UV index today in 33101?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
uv-index-today-mcp
Today's UV Index for AI assistants, by US ZIP code or city, read live from the EPA UV Index forecast that the National Weather Service issues each day.
This is a Model Context Protocol (MCP) server. It calls the EPA Envirofacts UV Index service at call time. It needs no API key.
Tools
Tool | What it returns |
| Today's UV Index for a ZIP code or city and state, the EPA category and sun protection advice, whether a UV Alert is in effect, the hourly peak and the local hours when UV is 3 or higher. |
| Hour by hour UV Index forecast in the local time of the place, each hour with its EPA band, plus the peak hour and the protection window. |
| What a UV Index number means on the EPA scale and the EPA advice for it, plus the NWS UV Alert rule. Works offline. |
Every result has structured JSON, a one-paragraph summary, as_of, source (the exact EPA request) and more (a page on mcpstamp.com).
Related MCP server: Weather MCP Server
What it knows that your model does not
Today's UV Index for your ZIP code. It changes every day with season, cloud cover and ozone, so a model's training data cannot know it.
The hour when the sun is strongest today and the hours when EPA says protection is needed.
Whether NWS and EPA have issued a UV Alert for the place today.
Install
Hosted (Claude.ai custom connector, ChatGPT developer mode)
Paste this URL. No token, no sign-up. It works now.
https://uv-index-today-mcp.lipmichal.workers.dev/mcpClaude Code
claude mcp add --transport http uv-index https://uv-index-today-mcp.lipmichal.workers.dev/mcpClaude Desktop
Claude Desktop adds remote servers under Settings, Connectors, Add custom connector. Paste the URL above.
Cursor
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"uv-index": { "url": "https://uv-index-today-mcp.lipmichal.workers.dev/mcp" }
}
}VS Code
Add to .vscode/mcp.json:
{
"servers": {
"uv-index": { "type": "http", "url": "https://uv-index-today-mcp.lipmichal.workers.dev/mcp" }
}
}Local stdio (after npm release)
The npm package is not published yet. After it is, run it locally with Node 20 or newer:
claude mcp add uv-index -- npx -y uv-index-today-mcpExample prompts
"What is the UV index today in 33101?"
"When is the UV highest in Phoenix today, and when do I need sunscreen?"
"Is there a UV alert for Denver today?"
"Is a UV index of 7 high?"
Data sources
Full list with fetch dates in DATA_SOURCES.md.
Daily and hourly UV Index forecasts from the EPA Envirofacts UV Index web service. The forecasts are produced by the National Weather Service Climate Prediction Center.
Category bands and advice from the EPA UV Index scale, which follows the WHO guidelines.
The UV Alert rule from the NWS Climate Prediction Center.
Limitations
US ZIP codes and cities only. EPA does not cover every small town by name. Use the ZIP code or the nearest larger city.
These are forecasts. Clouds, altitude, snow, sand and water change the real exposure.
Hourly times are local time for the place, as EPA publishes them.
When EPA is down or has no forecast for a place, the tool returns a clear error instead of a remembered number.
More
More MCP servers that answer questions your assistant cannot answer alone are on mcpstamp.com.
Part of the Zovo MCP collection: https://mcp.zovo.one
Built by theluckystrike.
Development
npm install
npm test # builds, then runs the fixture tests and an offline stdio test
node scripts/stdio-transcript.mjs # live stdio round trip, writes .live/stdio-transcript.jsonlLicense
MIT
More from zovo
All free zovo VS Code extensions — file viewers, database clients, formatters. Offline, no telemetry, no sign-up.
Full MCP server catalogue — local-first MCP servers for back-office work: invoices, VAT, PDFs, spreadsheets, payroll.
Hosted no-install MCP endpoints — paste a URL in Claude / Cursor, nothing to install.
Available Tools
3 toolsexplain_uv_indexExplain a UV index valueARead-onlyIdempotentInspect
What a UV Index number means on the EPA scale (0 to 2 Low, 3 to 7 Moderate to High, 8 and above Very High to Extreme) and the EPA sun protection advice for it, plus the NWS UV Alert rule. No network call.
Inputs: uv_index (required).
get_uv_index_hourlyGet hourly UV index forecastARead-onlyIdempotentInspect
Hour by hour UV Index forecast for a US ZIP code or city and state, in the local time of that place, read now from EPA. Returns each hour with its EPA band, the peak hour and the window when UV is 3 or higher. Use it for "when is the sun strongest today" and "what time is safe to be outside" questions.
Inputs: zip, city, state.
get_uv_index_todayGet UV index todayARead-onlyIdempotentInspect
Today's UV Index forecast for a US ZIP code or city and state, read now from EPA (the NWS daily forecast). Returns the UV Index, the EPA category and sun protection advice, whether a UV Alert is in effect, the hourly peak and the local hours when UV is 3 or higher. Your training data cannot know today's UV Index.
Inputs: zip, city, state.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
The three tools are mostly distinct: one gives today's summary, one gives hourly detail, and one explains the scale. There is some overlap because get_uv_index_today includes peak-hour and UV-window information that also appears in the hourly tool, but the descriptions make the intended use cases clear.
All names use snake_case and lead with a verb, giving a predictable structure around the uv_index resource. The only minor deviation is explain_uv_index versus the get_uv_index_* tools, which is still readable and appropriate.
Three tools is well-scoped for a narrow UV-index server. Each tool has a clear, non-redundant role: daily summary, hourly forecast, and educational explanation.
For a server focused on today's UV index, the surface covers the key workflows: current daily forecast, hourly timing, protection guidance, UV alerts, and explanation of the EPA scale. No obvious lifecycle or operational gaps are apparent within the stated purpose.
Maintenance
Related MCP Connectors
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
Know when the sun can make vitamin D where you are, for your skin type. Live UV data.
US NWS weather alerts and 5-day forecasts for AI agents. $0.01 per call.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to access real-time US weather forecasts and alerts through the National Weather Service API.2ISC
- FlicenseBqualityDmaintenanceProvides real-time US weather alerts and forecasts by integrating with the National Weather Service API. It enables AI assistants to fetch state-specific alerts and detailed local forecasts using geographic coordinates.21-
- AlicenseNot gradedqualityDmaintenanceProvides weather forecasts and alerts for US locations via the National Weather Service API, enabling AI assistants to deliver real-time weather information.ISC
- FlicenseNot gradedqualityDmaintenanceEnables querying current weather, 7-day forecast, UV index, and air quality for any city using the free Open-Meteo API, without requiring an API key.-