How maraboinavamshi/weather-mcp works
Weather MCP serves current weather for configured Indian cities through REST, MCP, and a browser dashboard, with a one-tool-at-a-time CLI client. The main weather flow parses a city or question, resolves its configured coordinates, requests current conditions from Open-Meteo, and returns normalized weather data; city listing is a separate capability. The graph also includes configuration and the dashboard. Relationships are based on the shown source and README; the dashboard’s internal behavior is not shown.
Main entry points: main.py REST API · weather.py Weather service · config.py City configuration · city_parser.py City matching
Components 12
User interfaces
- CLI client
client.py - REST API
app/main.py - MCP transport
app/main.py - Browser dashboard
app/dashboard.html
Weather service
- Weather service
app/weather.py - City matching
app/city_parser.py
City configuration
- City configuration
app/config.py - Default city data
app/cities.json
Other components
- Weather user
- REST caller
- MCP client
- Open-Meteo
Connections 13
- Weather user → REST API: requests weather
README.md - REST caller → REST API: calls REST
README.md - REST API → Weather service: calls weather
app/main.py - REST API → City configuration: lists cities
app/main.py - REST API → Browser dashboard: loads page
app/main.py - MCP client → MCP transport: invokes tools
README.md - CLI client → MCP transport: calls tool
client.py - MCP transport → REST API: exposes operations
app/main.py - Weather service → City matching: resolves city
app/weather.py - Weather service → City configuration: reads coordinates
app/weather.py - City matching → City configuration: matches configured cities
app/city_parser.py - City configuration → Default city data: loads defaults
app/config.py - Weather service → Open-Meteo: requests conditions
app/weather.py