Back to Browse

Uv Index Today MCP Server

Developer ToolsModerate5.8MCP RegistryLocalRemote
Free

Server data from the Official MCP Registry

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

About

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

Remote endpoints: streamable-http: https://uv-index-today-mcp.lipmichal.workers.dev/mcp

Security Report

5.8
Moderate5.8Moderate Risk

This is a keyless, read-only UV Index forecast MCP server that calls only the EPA Envirofacts UV Index service and has no shell execution, file access, or credential handling in the reviewed code. Its network access matches its stated purpose, and the findings are limited to minor quality notes such as the hardcoded as_of date in explainUvIndex and the unauthenticated public endpoint, which is intentional and documented. Supply chain analysis found 6 known vulnerabilities in dependencies (0 critical, 4 high severity).

12 files analyzed · 10 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

system_info

Check that this permission is expected for this type of plugin.

How to Install & Connect

Available as Local & Remote

This plugin can run on your machine or connect to a hosted endpoint. during install.

Documentation

View on GitHub

From the project's GitHub 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:

{
  "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-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 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.jsonl

License

MIT

Reviews

No reviews yet

Be the first to review this server!