EMY Weather MCP Server
Provides live Greek weather data from EMY, including forecasts, alerts, marine bulletins, warnings, and climate records. Supports location-based queries by name, ID, or coordinates without requiring an API key.
README
emy-mcp
An MCP server for Greek weather data from EMY — the Hellenic National Meteorological Service (Εθνική Μετεωρολογική Υπηρεσία).
It wraps EMY's public (api.emy.gr) endpoints as MCP tools. No API key is
required, and nothing is hardcoded — locations and data are always fetched
live from EMY.
Tools
| Tool | What it returns |
|---|---|
list_locations |
The live directory of ~1035 forecast locations (id, Greek/English name, prefecture, coordinates). Optional name/prefecture filter. |
get_forecast |
Today + up to 3 days for one location, resolved by name, id, or coordinates (nearest point). Temp max/min (°C), wind, precipitation probability, sky condition. |
get_alerts |
Structured CAP alerts (event, severity, urgency, onset/expiry, area). |
get_marine |
Marine bulletin for Greek seas (METAREA 3): forecast + warnings text. |
get_warnings |
National emergency weather bulletins (text, Greek only — EMY publishes no English variant). |
get_climate_records |
All-time Greek climate extremes (temperature, precipitation, wind). |
Resolving a location
This is the tricky part. EMY stores names transliterated from Greek with a
prefecture suffix, e.g. KORINTHOS (M. KORINTHIAS). Three independent problems:
- Exonyms vs transliteration — "Corinth" ≠ "Korinthos", "Corfu" ≠ "Kerkyra".
- Prefecture suffix on every name —
(m. Korinthias). - Greek script + accents —
ΚόρινθοςvsKORINTHOS.
How they're handled:
- Greek or Latin name →
get_forecast(location=...)orlist_locations(query=...). Names are accent-folded, suffix-stripped, and Greek is transliterated to Latin using EMY's own scheme, soΚόρινθος,korinthosandKORINTHOSall match. Fuzzy ranking handles typos and returns alternatives. - English exonyms / anything ambiguous → resolve the place to coordinates
and call
get_forecast(latitude=..., longitude=...). This returns the nearest forecast point regardless of spelling or language (e.g. Corinth's coordinates → Korinthos, 5 km away). An LLM client typically knows the coordinates already.
Live data, caching & resilience
Everything is fetched live. Per endpoint:
- Fresh window — cached payload is served without refetch for 30 minutes (EMY's forecasts update ~twice daily).
- After the window, a refetch is attempted.
- If EMY is unreachable, the last-known-good copy is served for up to
24 hours, flagged
stalewith its age. - After 24 hours with no successful fetch, the call fails with a clear error.
Every tool response includes a source block with fetched_at, age_minutes
and stale.
TLS note
api.emy.gr serves a valid *.emy.gr certificate but omits the intermediate CA
from the handshake, so standard clients fail with "unable to get local issuer
certificate". The client fetches the intermediate (RapidSSL TLS RSA CA G1)
from the certificate's own AIA URL on first use and caches it under
~/.cache/emy-mcp/. Because a fetched cert is installed as a trusted anchor,
it is pinned by SHA-256 fingerprint — a fetched or cached cert is only
trusted if its fingerprint matches the known-good value, which makes the fetch
safe against tampering and self-heals a corrupt cache. Certificate verification
is not disabled; if EMY ever rotates this CA the pin must be updated.
Data caveats
- Sky condition comes from a small icon set (6 values): Sunny, Hot, Partly cloudy, Scattered showers, Cloudy with rain, Thunderstorms — so it's coarse.
- Wind speed units are reported by EMY as a bare number; they appear to be m/s and are labelled as such, but EMY does not document this.
- There is no live "current observations" feed in EMY's public API — only forecasts, alerts, marine and climate. This server reflects that.
Install & run
pip install -e . # or: pip install httpx certifi "mcp>=1.2"
# stdio (Claude Desktop, Claude Code, local assistants)
python -m emy_mcp
# streamable-HTTP (hostable)
python -m emy_mcp --http --host 0.0.0.0 --port 8000
Claude Desktop / Claude Code config (stdio)
{
"mcpServers": {
"emy-weather": {
"command": "python",
"args": ["-m", "emy_mcp"]
}
}
}
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。