Vitamind

io.github.JaviMalignoPublished by GitHub account JaviMalignov1.0.0Updated Oct 29, 2026

Know when the sun can make vitamin D where you are, for your skin type. Live UV data.

VerifiedStreamable HTTPWeb executableLocation & LifestyleData & Analytics

Overview

AI-generated overview

Remote MCP server that tells an assistant when and where sunlight can produce vitamin D, using solar geometry, live UV data and a personal skin profile.

What you can do
  • Look up cities and get sun times: sunrise, sunset, golden hour, day length, polar cases
  • Compute vitamin D synthesis windows for a day, a whole year, or several days of forecast
  • Compare the vitamin D season of two to five places side by side
  • Estimate a sun session's vitamin D output and time to burn, and check current conditions
  • Read and update the signed-in user's profile, favourite cities and sun history calendar
When to use it
Useful when someone asks when to go outside for vitamin D, which city or season offers usable sun, how long a session should last for their skin type, or wants to track and correct their sun history.
Requirements
Remote streamable HTTP endpoint at getvitamind.app; no local install. Personal tools (profile, cities, history) need an OAuth sign-in with profile:read, profile:write or history:write scopes. Forecast and current-status tools use live Open-Meteo data and fall back to a clear-sky model when unreachable.
Before you install
Personal tools read and write account data: update_my_profile changes saved profile values, log_sun_session sets a day's answer, and set_history_location records past locations. Location and profile data go to the service, and UV/cloud data is fetched from Open-Meteo. Output is an estimate, not medical advice.

Installation

In SourceWeft

  1. Open Vitamind 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.JaviMaligno%2Fvitamind/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": {
    "vitamind": {
      "type": "http",
      "url": "https://getvitamind.app/api/mcp/mcp"
    }
  }
}

README

VitaminD Explorer

Solar vitamin D calculator PWA — know when and where you can synthesize vitamin D from sunlight, based on solar elevation, real-time UV index, skin type, body exposure and age.

Live: https://getvitamind.app

Stack

Next.js (App Router) · next-intl (es/en/fr/de/ru/lt) · Tailwind CSS v4 · D3 · Supabase (auth, profiles, city search, push subscriptions) · Web Push · Vercel (hosting + daily cron).

Development

bash
npm installcp .env.example .env.local   # fill in valuesnpm run dev                  # localhost:3000

Quality gate (all must pass, enforced by CI on every push/PR):

bash
npm run lint && npm run typecheck && npm test && npm run build

Docs

  • AGENTS.md — architecture, deployment runbook, operational gotchas and incident history (CLAUDE.md imports it).
  • docs/PRODUCTION_READINESS.md — production-readiness assessment and the practices that keep it that way.

License

MIT

Source: README.md at commit 6aedc0a

Tools

15

search_city

Find a city in the app's database by name (any of the app's six languages works) and get its coordinates, IANA timezone and elevation — feed those into the other tools.

Parametersqueryrequired

get_sun_times

Sunrise, sunset, solar noon, civil dawn/dusk, morning AND evening golden hour, and day length (with day-over-day trend) for a location and date. Handles midnight sun and polar night. Pure sun times — for vitamin D questions use the vitamin_d tools instead.

Parameterslatrequiredlonrequireddatetimezone

get_vitamin_d_window

The solar vitamin D synthesis window for ONE specific day at a location, for a personal profile: when UV is strong enough (index ≥ 3), the best hour, the clear-sky minutes needed to reach the target IU, and (with atTime) the minutes at the specific hour the user plans to go out. Returns synthesisPossible=false when the sun never gets high enough that day. Only for single-day questions — for months, seasons or 'when during the year', call get_vitamin_d_year instead of calling this once per date.

ParametersagelatrequiredlonrequireddateatTimeskinTypetargetIUtimezoneelevationMexposedSkinFraction

get_vitamin_d_year

The WHOLE YEAR of solar vitamin D for a location in a single call. monthsWithSun lists every month with at least one viable day (season edges count as partial months, see byMonth[].viableDays); solidMonths lists months where most days work; exactViableSpan gives the exact season boundaries; summary carries per-year aggregates for comparing places. Use this for any question about months, seasons, winter/summer or 'when during the year can I…' — never probe individual dates with get_vitamin_d_window for that.

ParametersagelatrequiredlonrequiredskinTypetargetIUtimezoneplaceNameelevationMexposedSkinFraction

configure_sun_profile

Show the user an interactive form for the four values every other tool assumes — Fitzpatrick skin type, fraction of skin exposed, age and target IU — with the minutes they need updating live. Use this when those values are unknown, when the user wants to change them, or instead of asking for them one at a time in conversation. Whatever the user picks comes back into the conversation; pass those values explicitly to the other tools afterwards.

ParametersagelatlonskinTypetargetIUtimezoneplaceNameexposedSkinFraction

get_sun_forecast

The NEXT FEW DAYS of vitamin D sun at a location, using the live Open-Meteo forecast: per day the peak UV, average cloud cover, the synthesis window and the minutes needed, plus bestDay. Use this for any question spanning several days — 'which day this week should I go out', 'will it be better tomorrow', 'when's my next chance' — instead of calling get_vitamin_d_window once per date.

ParametersagelatrequiredlonrequireddaysskinTypetargetIUtimezoneelevationMexposedSkinFraction

compare_vitamin_d_year

Compare the vitamin D year of 2 to 5 places side by side in ONE call — 'Madrid vs Berlin vs Oslo, where do I actually get winter sun?'. Returns each place's months with sun, exact season span and viable days per year, plus rankedByViableDays. Use this instead of calling get_vitamin_d_year once per city: only this tool can draw the years on a shared axis.

ParametersageplacesrequiredskinTypetargetIUexposedSkinFraction

get_current_status

Whether RIGHT NOW is a good moment for vitamin D synthesis at a location, using live Open-Meteo UV/cloud data when reachable (clear-sky model otherwise): current UV index, minutes needed now, and when today's window opens or closes.

ParametersagelatrequiredlonrequiredskinTypetargetIUtimezoneelevationMexposedSkinFraction

estimate_sun_session

Estimate a sun session's outcome: 'I was (or will be) out N minutes — how much vitamin D did I make?' plus 'how long before I'd burn?' for the profile. Takes a start time (defaults to the day's best hour) and session minutes; returns estimated IU (with the physiological cap), average UV and clear-sky minutes-to-sunburn. Use for any 'how much did I get / can I get in X minutes' or 'how long without burning' question.

ParametersagelatrequiredlonrequireddateminutesrequiredskinTypetimezonestartTimeelevationMexposedSkinFraction

get_my_profile

The signed-in user's saved Vitamin D profile: skin type, exposed-skin default, age, target IU and their current city. Requires connecting with OAuth (scope profile:read). Call this FIRST for any personal question, then pass its values to the public tools instead of asking the user.

Takes no parameters.

get_my_cities

The signed-in user's current city and favorite cities with coordinates and timezones, ready to feed into the public tools. Requires OAuth (scope profile:read).

Takes no parameters.

update_my_profile

Save the signed-in user's synthesis profile — skin type, exposed-skin fraction, age and target IU — to their account, so the app and every later call use them. Requires OAuth (scope profile:write). Only these four values are writable; favourites, cities and history are not.

ParametersageskinTypetargetIUexposedSkinFraction

get_my_history

The signed-in user's sun history from the app's calendar: which recent days had viable sun, which they confirmed going outside, and their current streak. Covers the calendar days from `from` to `to`; records exist only for days the app was open, so a date missing from `records` means nothing was measured, not that the sun was insufficient. Requires OAuth (scope history:read). Renders as a calendar the user can tap to confirm a day.

Parametersdays

log_sun_session

Sets a day's answer in the signed-in user's history calendar. Three values: confirmed=true (went out, the default), confirmed=false (had usable sun but stayed in), confirmed=null (clear the answer). Defaults to today. Requires OAuth (scope history:write).

Parametersdateminutesconfirmed

set_history_location

Records where the signed-in user was over a range of past days, so their history stops assuming. Use it when the user corrects a stretch — get_my_history marks inherited days with `locationAssumed`, and the history calendar offers those stretches for correction. Pass a cityId from search_city, or lat/lon. Changes only the location: whether they went outside that day is untouched. Requires OAuth (scope history:write).

ParameterstorequiredlatlonfromrequiredcityId

Version history

1
  1. v1.0.0LatestSep 16, 2026

Score

90% 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

    Declare a license in the repository or the registry entry.