MCP server for weather forecasts: GeoSphere Austria high-resolution data (AROME/INCA/C-LAEF) for Austria and the Alps, Open-Meteo worldwide.
Project description
geosphere-mcp-server
MCP server for weather: current conditions, hourly forecasts, and multi-day outlooks for any location worldwide, via the Model Context Protocol.
In Austria and the Alpine region it serves high-resolution GeoSphere Austria data — the AROME numerical forecast, the INCA analysis/nowcast, and the C-LAEF ensemble for precipitation probability. Everywhere else it falls back automatically to Open-Meteo, so it is a drop-in worldwide weather source. Every response states which source produced it.
Output is compact emoji-markdown with metric units — built for smart-home and voice-assistant LLM pipelines where a terse, readable answer beats a JSON blob. Weather conditions are derived from physical parameters and reported with the Home Assistant condition vocabulary (sunny, partlycloudy, rainy, snowy, …).
Coverage
| Where | get_current_weather |
get_hourly_forecast |
get_daily_forecast |
|---|---|---|---|
| Austria | GeoSphere INCA + nowcast + AROME | GeoSphere AROME (≤60 h) + C-LAEF probability | Open-Meteo (1–16 days) |
| Alps (non-AT) | GeoSphere AROME only | GeoSphere AROME (≤60 h) + C-LAEF probability | Open-Meteo (1–16 days) |
| Rest of world | Open-Meteo | Open-Meteo (≤48 h) | Open-Meteo (1–16 days) |
Coverage is detected automatically: the server tries GeoSphere first and falls back to Open-Meteo when the point is outside the AROME grid — no bounding box to configure. The daily forecast always uses Open-Meteo (GeoSphere publishes no forecasts beyond ~60 h).
Installation
Pass decimal latitude/longitude to every tool. There is no geocoder in the server — the calling LLM geocodes city names to coordinates itself.
Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"geosphere": {
"command": "uvx",
"args": ["geosphere-mcp-server"]
}
}
}
Claude Code
claude mcp add geosphere -- uvx geosphere-mcp-server
From source (development)
{
"mcpServers": {
"geosphere": {
"command": "uvx",
"args": ["--from", "/path/to/geosphere-mcp-server", "geosphere-mcp-server"]
}
}
}
Home Assistant
It is a standard stdio MCP server, so it runs anywhere an stdio MCP server can be hosted — including alongside Home Assistant's Assist pipeline (register it the same way as any other stdio MCP server). Give the voice agent the coordinates of the places it should answer for, or let it geocode names.
Tools
get_current_weather
Current conditions for a point. GeoSphere (INCA/AROME) inside coverage, Open-Meteo elsewhere.
| Parameter | Type | Default | Description |
|---|---|---|---|
latitude |
float | required | Decimal latitude (e.g. 48.2208) |
longitude |
float | required | Decimal longitude (e.g. 16.3738) |
# Current Weather at 48.2208, 16.3738
🌡️ Temperature: 24.7°C (feels like 24.2°C)
🌤️ Condition: partlycloudy
💧 Humidity: 52%
💨 Wind: 2.9 m/s from 135° (gusts 7 m/s)
🌧️ Precipitation (last hour): 0 mm
📊 Pressure: 1016 hPa
☁️ Cloud cover: 30%
🕐 Timezone: Europe/Vienna (CEST)
📡 Source: GeoSphere (INCA + nowcast + AROME) — observed 15:20
Outside GeoSphere coverage the same tool answers from Open-Meteo (sunrise/sunset and the point's own timezone included):
# Current Weather at 38.7223, -9.1393
🌡️ Temperature: 26.1°C (feels like 27.0°C)
🌤️ Condition: cloudy
💧 Humidity: 58%
💨 Wind: 4.5 m/s from 315° (gusts 9 m/s)
📊 Pressure: 1014 hPa
☁️ Cloud cover: 90%
🌅 Sunrise: 06:24
🌇 Sunset: 20:52
🕐 Timezone: Europe/Lisbon (WEST)
📡 Source: Open-Meteo — observed 14:00
get_hourly_forecast
Hour-by-hour forecast. GeoSphere AROME (with C-LAEF precipitation probability) up to ~60 h inside coverage; Open-Meteo up to 48 h elsewhere.
| Parameter | Type | Default | Description |
|---|---|---|---|
latitude |
float | required | Decimal latitude (e.g. 48.2208) |
longitude |
float | required | Decimal longitude (e.g. 16.3738) |
hours |
int | 24 | Forecast hours (clamped to 1–60 on GeoSphere, 1–48 on the fallback) |
start |
string | now | Optional ISO 8601 start (e.g. 2026-07-22T15:00); forecast begins at/after this instant |
# 3-Hour Forecast for 48.2208, 16.3738
AROME model, reference 2026-07-22 12:00 CEST · Source: GeoSphere (AROME + C-LAEF ensemble)
15:00: 24.7°C — partlycloudy, wind 3 m/s
16:00: 23.9°C — rainy, 1.2 mm (70% chance), wind 4 m/s
17:00: 22.5°C — cloudy, wind 3 m/s
Requesting more hours than the AROME horizon provides appends a note suggesting get_daily_forecast for days further ahead. Dry hours omit the precipitation and probability parts.
get_daily_forecast
Multi-day outlook, always from Open-Meteo (worldwide, including Austria).
| Parameter | Type | Default | Description |
|---|---|---|---|
latitude |
float | required | Decimal latitude (e.g. 48.2208) |
longitude |
float | required | Decimal longitude (e.g. 16.3738) |
days |
int | 7 | Forecast days (clamped to 1–16) |
# 3-Day Forecast for 48.2208, 16.3738
Source: Open-Meteo (Europe/Vienna)
Wed 2026-07-22: 16–27°C — partlycloudy, wind up to 9 m/s
Thu 2026-07-23: 15–22°C — rainy, 4.2 mm (80% chance), wind up to 15 m/s
Fri 2026-07-24: 14–26°C — sunny, wind up to 8 m/s
Data sources & attribution
- GeoSphere Austria Dataset API — AROME forecast, INCA analysis/nowcast, C-LAEF ensemble. Data licensed under CC-BY 4.0. © GeoSphere Austria.
- Open-Meteo — worldwide forecast API. Data licensed under CC-BY 4.0. © Open-Meteo.
Both APIs are keyless and intended for non-commercial use. When you redistribute their data, keep the attribution.
Rate limits
The GeoSphere Dataset API allows 5 requests/second and 240 requests/hour. Each current/hourly call issues a small burst of concurrent requests; on an HTTP 429 the server retries once (when the API asks for a short wait) and otherwise returns a rate-limit notice — get_daily_forecast keeps working through Open-Meteo in that case. Open-Meteo has its own generous free-tier limits.
Development
# Install dependencies (creates .venv from the locked versions)
uv sync
# Lint & format
ruff check .
ruff format .
# Run unit tests
pytest -m "not integration"
# Run integration tests (hits the live GeoSphere + Open-Meteo APIs)
pytest -m integration
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file geosphere_mcp_server-0.1.1.tar.gz.
File metadata
- Download URL: geosphere_mcp_server-0.1.1.tar.gz
- Upload date:
- Size: 130.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8cb603d061150cdbd6fff83450c47a7f59f83b38d4f90632959705422a9d72a3
|
|
| MD5 |
b3d9b4d03d07a5e2ac1d6d9dacd9bb49
|
|
| BLAKE2b-256 |
189b201a4e09bbe186f1225ec4dc9e9ea3ca2cf10c964ce7810076f2e41a6ab7
|
Provenance
The following attestation bundles were made for geosphere_mcp_server-0.1.1.tar.gz:
Publisher:
release.yml on slettmayer/geosphere-mcp-server
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
geosphere_mcp_server-0.1.1.tar.gz -
Subject digest:
8cb603d061150cdbd6fff83450c47a7f59f83b38d4f90632959705422a9d72a3 - Sigstore transparency entry: 2217827248
- Sigstore integration time:
-
Permalink:
slettmayer/geosphere-mcp-server@99941920bd30d272365e563ee5d1cfea642eb30e -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/slettmayer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@99941920bd30d272365e563ee5d1cfea642eb30e -
Trigger Event:
push
-
Statement type:
File details
Details for the file geosphere_mcp_server-0.1.1-py3-none-any.whl.
File metadata
- Download URL: geosphere_mcp_server-0.1.1-py3-none-any.whl
- Upload date:
- Size: 27.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ccced29e788fb298e06c817b80967d12fbb74c9c8635d5c8f1a93e73bdf7fed
|
|
| MD5 |
d7b0f8c75cbdd6e4121c9f708ddf1d82
|
|
| BLAKE2b-256 |
312f613954670f1ae4e5d1d59a4774b1403366e81c3ebb362491527cea4766a7
|
Provenance
The following attestation bundles were made for geosphere_mcp_server-0.1.1-py3-none-any.whl:
Publisher:
release.yml on slettmayer/geosphere-mcp-server
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
geosphere_mcp_server-0.1.1-py3-none-any.whl -
Subject digest:
6ccced29e788fb298e06c817b80967d12fbb74c9c8635d5c8f1a93e73bdf7fed - Sigstore transparency entry: 2217827692
- Sigstore integration time:
-
Permalink:
slettmayer/geosphere-mcp-server@99941920bd30d272365e563ee5d1cfea642eb30e -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/slettmayer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@99941920bd30d272365e563ee5d1cfea642eb30e -
Trigger Event:
push
-
Statement type: