MCP Weather Service
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Weather Servicewhat's the weather in Singapore right now?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Weather Service
A FastMCP-based weather service for Singapore that provides current weather conditions and forecasts from the National Environment Agency (NEA) APIs.
Features
Current Weather Data: Temperature, rainfall, humidity, wind speed, and wind direction from all weather stations
Weather Forecasts: 2-hour, 24-hour, and 4-day forecasts for all areas in Singapore
Comprehensive API Integration: All data from official NEA weather APIs
Robust Error Handling: Retry logic, timeouts, and graceful degradation
Async Implementation: Efficient concurrent API calls
Related MCP server: Malaysian Weather MCP Server
Available Tools
1. get_sg_weather_forecast
Fetches comprehensive weather forecasts including:
2-hour weather forecast for all areas in Singapore
24-hour weather forecast with detailed period breakdowns
4-day weather outlook with temperature, humidity, and wind information
2. get_sg_current_weather
Fetches current weather data from all weather stations:
Temperature readings (°C)
Rainfall measurements (mm)
Humidity levels (%)
Wind speed (m/s)
Wind direction (degrees)
3. health_check
Simple health status check for the weather service.
API Endpoints Used
2-Hour Forecast:
https://api-open.data.gov.sg/v2/real-time/api/two-hr-forecast24-Hour Forecast:
https://api-open.data.gov.sg/v2/real-time/api/twenty-four-hr-forecast4-Day Outlook:
https://api-open.data.gov.sg/v2/real-time/api/four-day-outlookTemperature:
https://api-open.data.gov.sg/v2/real-time/api/air-temperatureRainfall:
https://api-open.data.gov.sg/v2/real-time/api/rainfallHumidity:
https://api-open.data.gov.sg/v2/real-time/api/relative-humidityWind Speed:
https://api-open.data.gov.sg/v2/real-time/api/wind-speedWind Direction:
https://api-open.data.gov.sg/v2/real-time/api/wind-direction
Installation
# Install dependencies
pip install -e .Usage
Start the server:
python server.pyThe service will be available at http://localhost:3002
Robustness Features
Retry Logic: Automatic retries for failed API calls (3 attempts with 2s delay)
Timeout Handling: Configurable timeouts (20s) for all API requests
Error Recovery: Graceful degradation when data is unavailable
Logging: Comprehensive logging for debugging and monitoring
Health Check: Built-in health status endpoint
Requirements
Python 3.13+
FastMCP 3.4.7+
httpx 0.28.1+
License
MIT
This server cannot be installed
Maintenance
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
- FlicenseBqualityDmaintenanceProvides current weather conditions, multi-day forecasts, and location search capabilities through integration with weather APIs, enabling natural language weather queries and comparisons.3
- Flicense-qualityDmaintenanceProvides real-time weather forecasts for locations across Malaysia by fetching data directly from MET Malaysia's API. It enables AI assistants to query today's conditions and seven-day forecasts for states, districts, and towns.
- Alicense-qualityDmaintenanceReal-time Singapore government data for AI agents. Weather forecasts, air quality (PSI/PM2.5), HDB carpark availability, and taxi supply from data.gov.sg.71ISC
- Flicense-qualityBmaintenanceWraps NEA's 2-hour weather forecast API to provide rain alerts for central Singapore areas, enabling automations for rain detection.1
Related MCP Connectors
US weather, alerts, earthquakes and elevation for AI agents, from NWS/NOAA and USGS. No API keys.
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
Singapore property & financial data APIs for AI agents. 27 MCP tools. x402 micropayments.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/LMWCoding/MCPWeather'
If you have feedback or need assistance with the MCP directory API, please join our Discord server