About io.github.JaviMaligno/vitamind
io.github.JaviMaligno/vitamind is an MCP server published by JaviMaligno in the Developer Tools category: know when the sun can make vitamin D where you are, for your skin type. Live UV data. Conduid read 9 tools from its source: estimate_sun_session, get_my_cities, get_my_profile, get_sun_times, get_vitamin_d_window, log_sun_session and 3 more. No package is published for it, so it installs from a source checkout.
The repository has 2 stars and 0 forks, and its last commit was on 22 Nov 2026. Conduid has no tagged release on record for it. Its topics include devtools.
Install
git clone https://github.com/JaviMaligno/vitamindTools (9)
estimate_sun_sessionEstimate 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.| Parameter | Type | Description |
|---|---|---|
| minutes * | number | Session length in minutes |
| startTime | string | Local HH:MM the session starts; defaults to the day's best hour |
get_my_citiesThe 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).get_my_profileThe 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.get_sun_timesSunrise, 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.get_vitamin_d_windowThe 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.| Parameter | Type | Description |
|---|---|---|
| atTime | string | Local HH:MM the user plans to go out — adds minutesNeeded and UV at that exact time |
log_sun_sessionSets 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).| Parameter | Type | Description |
|---|---|---|
| confirmed | boolean | true (default) the user went out; false they had sun but stayed in; null clears the answer |
| date | string | Day to set, YYYY-MM-DD; defaults to today |
| minutes | number | Minutes the user reports having spent in the sun (acknowledged, not stored) |
search_cityFind 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.| Parameter | Type | Description |
|---|---|---|
| query * | string | City name, e.g. 'Madrid', 'London', 'Nueva York' |
set_history_locationRecords 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).| Parameter | Type | Description |
|---|---|---|
| cityId | string | City id from search_city, e.g. 'builtin:londres' |
| from * | string | First day of the stretch, YYYY-MM-DD |
| lat | number | Latitude, for a place not in the database |
| lon | number | Longitude, paired with lat |
| to * | string | Last day of the stretch, YYYY-MM-DD; same as `from` for one day |
update_my_profileSave 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.| Parameter | Type | Description |
|---|---|---|
| age | number | Age in years, or null for the adult baseline |
Security checks
6 checks have not been run yet.