Skip to main content
Glama
vaishak10

Weather India MCP

by vaishak10

Weather India MCP

A Model Context Protocol (MCP) server that provides real-time weather forecasts and alerts for India's major metro cities, powered by the Open-Meteo API (free, no API key required).

Tools

Tool

Description

get_forecast

Current weather + 5-day forecast for any location by latitude/longitude

get_india_city_forecast

Current weather + 5-day forecast for a named Indian metro city

get_india_weather_alerts

Scans all Indian metros and returns active severe weather alerts

share_weather_via_email

Fetches weather for a city or coordinates and emails a formatted summary to any address

Supported Cities

Mumbai, Delhi, Bengaluru, Hyderabad, Chennai, Kolkata, Ahmedabad, Pune, Jaipur, Lucknow, Chandigarh, Bhopal, Thiruvananthapuram, Guwahati, Patna

Alert Severity Levels

  • Extreme — temperature ≥ 45°C, cyclonic winds ≥ 90 km/h, violent rain/hail/thunderstorms

  • Severe — temperature ≥ 42°C, winds ≥ 60 km/h, heavy rain, dangerous heat+humidity

  • Moderate — temperature ≥ 40°C, winds ≥ 40 km/h, moderate rain/snow

Related MCP server: Weather Union MCP Server

Prerequisites

Setup

1. Clone and install dependencies

git clone https://github.com/YOUR_USERNAME/weather.git
cd weather
npm install

2. Build

npm run build

This compiles TypeScript to build/index.js and makes it executable.

3. Configure Cursor

Add the server to your Cursor MCP config at ~/.cursor/mcp.json:

{
  "mcpServers": {
    "weather": {
      "command": "node",
      "args": ["/absolute/path/to/weather/build/index.js"]
    }
  }
}

Replace /absolute/path/to/weather with the actual path where you cloned the repo (e.g. /Users/yourname/weather).

4. Restart Cursor

After saving mcp.json, restart Cursor or reload the window (Cmd+Shift+PReload Window). The three weather tools will appear under Settings → MCP.

Usage Examples

Once configured, you can ask your AI assistant things like:

  • "What's the weather in Mumbai right now?"

  • "Are there any severe weather alerts across Indian cities today?"

  • "Give me the 5-day forecast for Chennai."

  • "What's the weather at latitude 28.6, longitude 77.2?"

  • "Share the Bengaluru weather summary to myemail@gmail.com"

Demo

1. City Forecast — get_india_city_forecast

Ask for the weather in any supported Indian city and get current conditions plus a structured 5-day forecast.

Email share prompt in Cursor


2. Email Sharing — share_weather_via_email

Ask the assistant to share weather details to an email address. It fetches live data and dispatches a formatted summary instantly.

Weather email in Gmail inbox


3. Email Received

The recipient gets a clean HTML email with the city name, current conditions, and the full 5-day forecast — including any active weather alerts in the subject line.

City forecast for Bengaluru

Development

# Watch mode — auto-recompiles on save
npm run watch

Email Setup (for share_weather_via_email)

The email tool sends weather summaries via SMTP. Configure it in ~/.cursor/mcp.json under the weather server's env block:

"env": {
  "SMTP_HOST": "smtp.gmail.com",
  "SMTP_PORT": "587",
  "SMTP_USER": "your-gmail@gmail.com",
  "SMTP_PASS": "your-app-password",
  "SMTP_FROM": "Weather India MCP <your-gmail@gmail.com>"
}

For Gmail: Generate an App Password (requires 2FA enabled) and use it as SMTP_PASS. Your regular Gmail password will not work.

Works with any SMTP provider — just change SMTP_HOST and SMTP_PORT accordingly (e.g. Outlook, Zoho, custom SMTP).

No API Key Required

This server uses Open-Meteo, which is completely free and requires no authentication.

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Provides comprehensive weather information including current conditions, 7-day forecasts, and air quality data for any city worldwide using the Open-Meteo API. Features real-time weather data, hourly forecasts, sunrise/sunset times, and European Air Quality Index with human-readable descriptions.
    Last updated
    3
    11
    1
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    Provides real-time, historical, and forecasted weather data for any location worldwide using the Open-Meteo API. It includes specialized tools for agricultural growing conditions, weather alerts, and up to 16 days of forecasts across multiple transport modes.
    Last updated
    28
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Provides real-time weather information and multi-day forecasts using the Open-Meteo API through a robust, enterprise-grade architecture. It enables AI assistants to retrieve current conditions, 7-day forecasts, and contextual weather data for any location.
    Last updated
    11
    MIT

View all related MCP servers

Related MCP Connectors

  • Global weather via Open-Meteo: forecast, ERA5 archive, marine, air quality, geocoding, elevation.

  • Weather data, forecast API, climate data, historical weather, alerts, agricultural & travel weather.

  • Open-Meteo MCP — weather forecast + historical reanalysis + sister APIs

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vaishak10/weather-india-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server