mugilu MCP Server
Any place in India now: air, heat, cold, rain, wind, fog, dust, smoke, UV and official warnings.
mugilu scores 65 (Good), licensed MIT and written in TypeScript. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under Maps and location, Cloud. GitHub shows 3 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
65 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 65 comes from
22 + 20 + 2 + 10 + 4 + 7 = 65. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 2 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "urbanmorph-mugilu": { "url": "https://mugilu.live/mcp" } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
mugilu
The open sky of India, one coordinate at a time. Air, heat, cold, rain, wind, fog, dust, smoke, UV and official warnings for any place in India, as a web page, an API and an MCP server for AI assistants.

ಮುಗಿಲು (mugilu) is Kannada for cloud or sky. It is the third tool in a small commons, alongside bharatlas (open geo data for India) and mdshare. Live at mugilu.live.
[!IMPORTANT] mugilu is informational and educational only. It is not for medical, emergency or safety-critical decisions, and there is no warranty or accuracy guarantee. For official hazard warnings, NDMA and IMD are the authoritative channels.
Contents
- What it does
- Features
- Screenshots
- Use it on the web or as an API
- Use it from an AI assistant (MCP)
- Data sources and attribution
- How it works
- Project layout
- Development
- Deploy
- Contributing
- Principles
- Licence
What it does
Give mugilu a place in India (a name in any script, or a lat,lon) and it tells you what the sky is doing to you right now. Air apps show air, weather apps show weather, and the government's own data sits in separate apps that do not talk to each other. mugilu puts these into one location-addressable layer for India.
Readings are current, not a forecast. They recompute on a cycle of about 15 minutes.
Features
- Conditions at any point. Air quality from real ground stations (modelled where no station is within 50 km, and labelled so), heat with feels-like and wet-bulb, today's high against the 1991-2020 normal, cold, rain, UV, dust, wind, fog and visibility, fire and crop-burn smoke, and active official warnings.
- Readings against their limits. Each reading is drawn against the limits it is judged by (for example the CPCB limit for each pollutant), in the order that matters to you now.
- Ambient read. One line that names the single worst hazard for you and what to do about it.
- Weighted for who is asking. Pass a persona (asthma, older adults, children, outdoor workers, heart condition) and the Ambient read is weighted for that group.
- India now. A national map with layers for official warnings (the warned areas, by the level IMD gives), what is worst, air, heat and rain, and the hottest, dustiest and worst-air places.
- Many formats. HTML for people, JSON for apps, Markdown for LLMs, a timestamped PNG, an embeddable card, a self-refreshing display for a wall screen, and an MCP server for agents.
- Three languages. English, Hindi and Kannada pages; place search accepts native scripts (ಬೆಂಗಳೂರು, दिल्ली, சென்னை).
- Installable web app. It keeps the last reading of places you opened for offline use, refreshes itself when it comes back on screen, and can send opt-in alerts for official warnings at a place.
- Plain HTML. Every page reads without JavaScript.
Screenshots
| A city page (/c/delhi) | Homepage on a phone |
|---|---|
![]() |
Use it on the web or as an API
Open and keyless. Please send a User-Agent that names your app (for example my-app/1.0). We read it only to tell apps, AI tools and crawlers apart, so our counts of how each mode is used stay honest. We don't store it, and we don't track who you are.
- mugilu.live: type any place, in any language.
- A point: /c/12.97,77.59. A place: /c/bengaluru. For someone: /c/delhi?as=asthma.
# JSON, by coordinate or by name, optionally weighted for a vulnerability
curl https://mugilu.live/c/12.97,77.59.json
curl "https://mugilu.live/c/delhi.json?as=asthma"
A trimmed response (the full layers are air, heat, heat_vs_normal, rain, uv, dust, wind, visibility, smoke, warnings and nearby_warnings; ambient.order lists the readings in the order every surface shows them):
{
"schema": "mugilu/conditions",
"version": 1,
"place": "Delhi, Delhi",
"ambient": {
"risk_band": "severe",
"driver": "heat",
"persona": "asthma",
"summary": "The heat is dangerous. Go to a cool place out of the sun. Drink water.",
"order": ["heat", "air", "sun", "rain", "dust"]
},
"air": { "kind": "measured", "aqi": 140, "band": "moderate" },
"heat": { "apparent_c": 46, "wet_bulb_c": 27 },
"attribution": "… via mugilu",
"disclaimer": "Informational only, not for medical, emergency, or safety-critical decisions. For official hazard warnings consult NDMA / IMD."
}
Routes
| Route | Returns |
|---|---|
/c/{lat},{lon} (+ .json .md .png) | Conditions at a point: HTML, JSON, Markdown, or a timestamped image |
/c/{slug} | A named place, for example /c/bengaluru |
?as= (asthma, elderly, child, outdoor, heart) | Weight the Ambient read for a vulnerability |
/hi/…, /kn/… | The same pages in Hindi or Kannada |
/display, /c/{place}?kiosk | Set up a wall screen; the self-refreshing display |
/warnings, /places | Active warnings across India; every district and city, marked when under an official warning |
/near, /suggest | Nearest air stations; place search (native scripts work) |
/index.json, /warnings.json | National air leaderboard; active NDMA/IMD warnings |
/embed/{lat},{lon} | Embeddable card, one line of HTML |
/mcp, /openapi.json, /llms.txt | MCP server; OpenAPI 3.1 spec; LLM manifest |
/methodology, /terms | Every threshold used; terms and per-source credits |
?ref=your-site.com | Count an API or embed call under your site's domain (only a domain is kept, never a name) |
Refresh rate
Air and official warnings change hourly; weather at most every 15 minutes. Each conditions response carries every metric with its own as_of, and a refresh_after_seconds field mirrored by the Cache-Control max-age on the JSON, Markdown and /embed surfaces. Poll at most once every 15 minutes per place; faster returns identical data. If you embed the card, refresh the iframe every 15 minutes or so, or use /c/{place}?kiosk, which refreshes itself.
Use it from an AI assistant (MCP)
mugilu runs a remote MCP server (JSON-RPC 2.0 over Streamable HTTP, protocol version 2025-06-18). No key or install is needed. We count MCP calls by the app name your client sends, and keep nothing else.
https://mugilu.live/mcp
It is published in the official MCP Registry as io.github.sathya-sankaran/mugilu (version 1.0.2; the entry is in server.json) and is listed on Glama.
-
Claude or Cursor: add
https://mugilu.live/mcpas a custom connector, then ask, for example, "is it safe for my asthmatic kid to play outside in Indiranagar right now?" -
Claude Code:
claude mcp add --transport http mugilu https://mugilu.live/mcp -
MCP Inspector: list the tools from the command line:
npx @modelcontextprotocol/inspector --cli https://mugilu.live/mcp --transport http --method tools/list
Tools
All tools are read-only and cover India only.
| Tool | What it does | Inputs |
|---|---|---|
conditions_at | What the sky is doing at a place right now (not a forecast): air quality (CPCB AQI, pollutants), heat (feels-like, wet-bulb, WBGT), cold, rain, wind, fog and visibility, dust, fire smoke, UV, and any official NDMA warning over that spot, plus an Ambient read naming the single worst hazard and the readings in order of risk (ambient.order). Today's modelled daily high against the 1991-2020 normal (heat_vs_normal, with notable when it stands out). | place (name or "lat,lon", required); persona (everyone, asthma, elderly, child, outdoor, heart) |
search_place | Resolves an Indian place name to candidates (name, detail, coordinate). Covers cities, districts and air-monitoring stations. Use it to disambiguate before conditions_at. | query (required) |
nearest_stations | The nearest real (measured) air-quality stations to a place, with distance and current AQI. Shows how close hard measurement is. | place (required); n (1 to 20, default 5) |
active_warnings | Official NDMA/IMD hazard warnings active across India, optionally filtered by a region or state name (matched against the headline and the districts and states the warning covers). | region (optional) |
national_now | The national picture right now: the worst-air, hottest and dustiest spots in India. | kind (all, air, heat, dust; default all) |
place_history | A named place's last 7, 30 or 90 days, a day at a time: air (measured), heat, cold, rain, wind, fog, UV and dust (modelled) and fires, with each hazard's days at each level and its peak. Records start 22 Aug 2026; a coordinate borrows the nearest named place within 25 km. | place, days (7, 30 or 90; default 30) |
Every response carries attribution and disclaimer fields; please show them to the user.
mugilu does not resolve sub-city wards, hospitals, forests, rivers, highways or administrative boundaries. For those, pair it with the bharatlas MCP: let bharatlas find the feature and its coordinate, then pass the coordinate to conditions_at.
Data sources and attribution
mugilu's code is MIT. The data is not relicensed: each source keeps its own licence and terms. Credits ride with every response; see the per-page attribution and /terms. This table follows apps/worker/src/sources.ts, the single source of truth.
| Layer | Source |
|---|---|
| Air (measured) | CPCB (Central Pollution Control Board, Govt. of India), Airnet (CSTEP), Aurassure and Google AirView+, via the OAQ broker (oaq.notf.in) |
| Modelled air (no station within 50 km), heat, rain, UV, dust, wind | Open-Meteo (CC-BY 4.0) |
| Heat compared with normal | 1991-2020 normals of ERA5 reanalysis (Copernicus Climate Change Service) via Open-Meteo |
| Official warnings | NDMA / IMD (SACHET) |
| Fire and crop-burn smoke | NASA FIRMS (VIIRS) |
| Cyclone tracks | JTWC (US Navy and Air Force; public domain) |
| Geography and place names | Place search from OpenStreetMap contributors (ODbL) and GeoNames (CC-BY 4.0, via the Open-Meteo geocoder); admin boundaries from bharatlas |
The heat normals are built offline on a 1° grid by apps/worker/scripts/build-heat-normals.ts and shipped in apps/worker/data/heat-normals.json, covering 388 of the 389 1° cells over India. The full methodology, with every threshold, is at /methodology.
How it works
mugilu is a single Cloudflare Worker (apps/worker).
- Crons (
wrangler.toml): hourly jobs refresh the air snapshot (each hour also kept in an air archive), NASA FIRMS fires, JTWC cyclone tracks and NDMA/SACHET warnings into R2, fetch each new warning's area once (cached per alert, resumed across runs), compose the national map, and send opt-in warning alerts; every four hours a national heat, rain, UV and dust grid is sampled and kept in a conditions archive (/health/archivesshows when each archive last grew); a daily job refreshes the place hierarchy, prunes old referrer rows and pings IndexNow (paused until 21 Nov 2026, then at most weekly and only for pages not yet announced). - Requests:
/c/{lat},{lon}assembles the nearest-station air, live Open-Meteo weather, fires and point warnings into one normalized schema, so each source is a swappable adapter. - Caching: pages that are the same for everyone are cached at the edge for a few minutes; degraded builds are never stored.
- Storage: R2 holds the refreshed snapshots. D1 holds only aggregate usage metrics and opt-in alert subscriptions, and is never on the read path.
- Client: pages are rendered by the Worker from template strings, with little client JS (the offline worker, install, auto-refresh and alerts).
Project layout
apps/worker/ the product: one Cloudflare Worker
src/index.ts the whole route surface in one place
src/mcp.ts MCP server (JSON-RPC over Streamable HTTP)
src/mcptools.ts MCP tool definitions
src/sources.ts data sources, licences and attribution
src/meta.ts llms.txt, sitemap and the OpenAPI 3.1 spec (served live at /openapi.json)
src/pages/ one module per page (home, place, places, warnings, display, text pages)
src/ui/ the shell, components, the map, and standard.ts (the one stylesheet)
src/palette.ts every colour, for both themes
src/sachet.ts official warnings from SACHET; src/warnareas.ts their areas
src/i18n.ts English, Hindi and Kannada strings
test/ node:test suite (run with tsx)
scripts/ offline builders (heat normals, sampling grid)
data/ shipped data (heat normals, sampling grid, India outline, state lines)
migrations/ D1 migrations
wrangler.toml bindings (KV, R2, D1, Analytics Engine) and crons
apps/site/ the retired static site from the OAQ days, kept for reference
scripts/ gazetteer and state-line builders (Python)
docs/ README images
server.json MCP Registry entry
PDGI.md how mugilu follows the PDGI principles
Development
Needs Node 22+ and pnpm. Deploying needs a Cloudflare account.
git clone https://github.com/urbanmorph/mugilu.git
cd mugilu
pnpm install
cp apps/worker/.dev.vars.example apps/worker/.dev.vars # fill in the keys it lists
cd apps/worker
pnpm dev # wrangler dev on http://localhost:8787
.dev.vars.example lists OAQ_API_KEY, ADMIN_KEY (gates the admin routes), FIRMS_MAP_KEY (optional, for the fire layer) and CLOUDFLARE_API_TOKEN.
The air snapshot, national grid, fires and warnings are filled by crons into R2, so a fresh fork is empty until the first cron runs (or you call the admin /collect routes with ADMIN_KEY).
Checks
Run these inside apps/worker. CI runs the same three on every pull request.
npx tsx --test test/*.test.ts # tests (or: pnpm test)
npx tsc --noEmit # typecheck (or: pnpm typecheck)
npx --yes prettier@3 --check "src/**/*.ts" "test/**/*.ts" # formatting
Deploy
The CI/CD workflow typechecks, tests and checks formatting on every pull request and push to main. A push to main deploys the Worker with Wrangler once those pass, through the production environment.
To deploy your own fork, create the KV, R2 and D1 resources named in apps/worker/wrangler.toml on your Cloudflare account, then run pnpm deploy in apps/worker.
A separate workflow rebuilds the place gazetteer from OpenStreetMap monthly and uploads it to R2. It is a data refresh only and does not deploy code.
Contributing
Issues and pull requests are welcome. Read CONTRIBUTING.md for setup and ground rules, and the Code of Conduct.
In short:
- Write the failing test first. All three checks above must pass.
- A new data source is a new adapter into the normalized schema, with its credit added to
src/sources.ts. - Every user-facing string goes through
t(), with Hindi and Kannada insrc/i18n.ts. - No medical advice: exposure steps only, with the disclaimer on every surface.
Principles
- Free, open, MIT. For individuals. Non-commercial, always.
- Whole sky, never air alone. Heat, cold, rain, wind, fog, dust, smoke, UV and official warnings are first-class.
- Honest about the data. The value is in the stitching, the openness and the interface, not the data. The data belongs to others and is credited. Measured and modelled are labelled; thin-coverage layers are marked or left out.
- Minimal and fast. One Worker, plain HTML readable without JavaScript, nothing heavy on the read path.
How mugilu follows the People's Digital Goods & Infrastructure principles is tracked in PDGI.md.
Licence
Code: MIT. Data is not relicensed: each upstream source's licence and attribution apply (see Data sources and attribution).
Ownership, privacy and conduct
Built by urbanmorph, led by Sathya Sankaran. The code is under the MIT licence. The privacy policy, the laws mugilu follows and how to report wrong or illegal content are on /terms. Contributors follow the Code of Conduct; security issues go by SECURITY.md.
Made by urbanmorph. A digital commons. pdgi.org
Frequently asked questions
What is mugilu MCP Server?
Any place in India now: air, heat, cold, rain, wind, fog, dust, smoke, UV and official warnings.
How do I install mugilu MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. mugilu MCP Server connects to the remote endpoint https://mugilu.live/mcp, so there is nothing to install locally.
Is mugilu MCP Server free and open source?
Yes. mugilu MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does mugilu MCP Server support remote (HTTP) connections?
Yes. mugilu MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
How is mugilu MCP Server's trust score calculated?
mugilu MCP Server scores 65 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.
