UV Index Today MCP

io.github.theluckystrikePublished by GitHub account theluckystrikev1.0.0Updated Nov 5, 2026

Today's UV Index forecast by US ZIP code or city, with hourly peak and UV Alert, from EPA and NWS.

VerifiedStreamable HTTPWeb executableLocation & Lifestyle

Overview

AI-generated overview

Remote MCP server that gives an assistant live US UV Index forecasts by ZIP code or city, read from EPA/NWS data at call time.

What you can do
  • Look up today's UV Index for a US ZIP code or city and state, with EPA category, protection advice, UV Alert status, hourly peak and the hours when UV is 3 or higher
  • Get an hour-by-hour UV forecast in the place's local time, with each hour's EPA band, the peak hour and the protection window
  • Explain what a UV Index number means on the EPA scale, the EPA advice for it and the NWS UV Alert rule, without a network call
When to use it
Useful when someone asks about today's UV level, the best or safest hours to be outside, sunscreen timing, or whether a UV Alert is in effect for a US location, where a model's training data cannot supply current values.
Requirements
A remote streamable HTTP endpoint; no API key, token or sign-up is needed. The server calls the EPA Envirofacts UV Index service at call time, so it needs network access. Coverage is US ZIP codes and cities only.
Before you install
Read-only lookups; no accounts, credentials or writes are involved. Results are forecasts, and clouds, altitude, snow, sand and water change real exposure. When EPA has no forecast or is unavailable, the tool returns an error rather than a remembered number.

Installation

In SourceWeft

  1. Open UV Index Today MCP in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.theluckystrike%2Fuv-index-today-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "uv-index-today": {
      "type": "http",
      "url": "https://uv-index-today-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

README

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

ToolWhat it returns
get_uv_index_todayToday'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.
get_uv_index_hourlyHour 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.
explain_uv_indexWhat 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).

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/mcp

Claude Code

claude mcp add --transport http uv-index https://uv-index-today-mcp.lipmichal.workers.dev/mcp

Claude Desktop

Claude Desktop adds remote servers under Settings, Connectors, Add custom connector. Paste the URL above.

Cursor

Add to ~/.cursor/mcp.json:

json
{  "mcpServers": {    "uv-index": { "url": "https://uv-index-today-mcp.lipmichal.workers.dev/mcp" }  }}

VS Code

Add to .vscode/mcp.json:

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-mcp

Example 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.

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 installnpm test                              # builds, then runs the fixture tests and an offline stdio testnode scripts/stdio-transcript.mjs     # live stdio round trip, writes .live/stdio-transcript.jsonl

License

MIT

Source: README.md at commit cc6de68

Tools

3

get_uv_index_today

Get UV index today

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.

Parameterszipcitystate

get_uv_index_hourly

Get hourly UV index forecast

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.

Parameterszipcitystate

explain_uv_index

Explain a UV index value

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.

Parametersuv_indexrequired

Version history

1
  1. v1.0.0LatestNov 5, 2026

Score

100% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts