D Fetcher
Official3 toolsby dfetcher
Vitamin D synthesis calculator: sun position, UV, IU/min, time to dose, sunburn risk, daily window.
Calculates vitamin D synthesis from sun exposure based on UV, position, and time.
Captured live from the server via tools/list.
calculate
Calculate vitamin D synthesis at a given location and time. Returns sun position, UV index, IU/min, minutes to reach the target dose, MED (sunburn threshold), the peak window, and optional 15-min day / monthly year curves. UV index uses a live satellite-driven forecast where available, with a clear-sky fallback.
Parameters (10)
- latnumberrequired
Latitude in degrees.
- lonnumberrequired
Longitude in degrees.
- skininteger
Fitzpatrick skin type 1–6. Use describe_skin_types if unknown.
- areanumber
Exposed body fraction. 0.10 face+hands, 0.25 arms+face, 0.40 t-shirt+shorts, 0.85 near-full body.
- scalpstring
Scalp coverage. "bald" adds ~3.5% BSA.
- ageinteger
Age in years (used for the age factor).
- targetinteger
Daily vitamin D target in IU.
- datestring
ISO 8601 timestamp or epoch ms. Defaults to now.
- dayboolean
Include 15-min samples through the local day.
- yearboolean
Include monthly solar-noon samples with cloud climatology.
geocode
Turn a place name, postal code, or "code, CC" string into { lat, lon, label }. Auto-detects US/CA/GB/NL/JP/BR postal patterns; ambiguous digit-only codes default to US unless the caller appends a country code (e.g. "10115, DE"). Falls back to Open-Meteo place-name search for everything else.
Parameters (1)
- querystringrequired
City name, postal code, or "CODE, CC" (e.g. "75001, FR").
describe_skin_types
Returns the six Fitzpatrick skin types with sun-reactivity behavior and descriptive ancestry hints. Call this when the user's skin type is unknown so you can pick the closest match before calling calculate.
No parameters.
README not available yet.
Install
Remote endpoint
Streamable HTTPHosted server - connect over the network, no local install.
https://dfetcher.com/mcpclaude_desktop_config.json
{
"mcpServers": {
"vitamin-d": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://dfetcher.com/mcp"
]
}
}
}Desktop config is stdio-only; this bridges via mcp-remote. Native remote: Settings > Connectors.