irm-kmi-mcp
Provides official Belgian weather data from the Royal Meteorological Institute (IRM/KMI), including current conditions, daily and hourly forecasts, and weather warnings.
README
irm-kmi-mcp
An MCP server exposing official Belgian weather data from the Royal Meteorological Institute of Belgium (IRM/KMI): observed conditions, daily and hourly forecasts, and weather warnings, for MCP clients such as Claude, Hermes or Openclaw.
"What's the weather in Namur?" → current_conditions("Namur")
"Forecast for Oostende, 5 days, in Dutch" → daily_forecast("Oostende", days=5, language="nl")
"Any warnings in Belgium right now?" → warnings()
Features
- Observed conditions: temperature, condition, UV index, sunrise/sunset from the nearest IRM weather station.
- Daily forecast (1–8 days): min/max temperature, condition, wind, precipitation, plus the official IRM text bulletin in fr/nl/en/de.
- Hourly forecast (1–49 h): temperature, precipitation, pressure, wind and gusts.
- Official weather warnings: yellow/orange/red alerts, either for a single municipality (with level and validity period) or for the whole country.
- Municipality resolution by name: "Namur", "Bruxelles", "Oostende", … resolved through the IRM's own city search.
- Caching: weather data is cached for 10 minutes, city lookups for 24 hours.
Tools
| Tool | Parameters | Returns |
|---|---|---|
current_conditions |
commune |
temperature, condition (ww code + canonical English label), UV index, day/night, sunrise/sunset |
daily_forecast |
commune, days (1–8, default 3), language (fr/nl/en/de) |
per day: temps, condition (ww code + label), wind, precipitation, official text |
hourly_forecast |
commune, hours (1–49, default 24) |
per hour: temperature, condition (ww code + label), precipitation, pressure, wind |
warnings |
commune (optional), language |
alert type, text; level + validity for a municipality, per-region level/validity otherwise |
Data source & disclaimer
⚠️ Unofficial. This project is not affiliated with the IRM/KMI. It works by calling the same backend service that powers the official IRM mobile app. That service was never meant for public use: it is undocumented and it can break or disappear without notice. Please use it for personal, low-frequency purposes only.
The API surface was reverse-engineered and documented by
Jules Dejaeghere in
jdejaegh/irm-kmi-api and
jdejaegh/irm-kmi-ha. Many thanks for the groundwork.
This project is not affiliated with, sponsored or endorsed by the IRM/KMI.
Installation
From PyPI:
pip install irm-kmi-mcp
…or run it zero-install on every invocation with
uvx (recommended for MCP clients —
no venv to manage):
uvx irm-kmi-mcp
See Development below for installing from source.
Usage
Run the server (stdio transport):
irm-kmi-mcp
# or
python -m irm_kmi_mcp
Claude Desktop
Zero-install with uvx (recommended):
{
"mcpServers": {
"irm-kmi-mcp": {
"command": "uvx",
"args": ["irm-kmi-mcp"]
}
}
}
Or, after pip install irm-kmi-mcp:
{
"mcpServers": {
"irm-kmi-mcp": {
"command": "irm-kmi-mcp"
}
}
}
To set a default language (see Configuration), add an "env"
key to either form, e.g. "env": { "IRM_LANG": "fr" }.
Hermes Agent
After pip install irm-kmi-mcp (so the irm-kmi-mcp command is on PATH):
# config.yaml
mcp_servers:
irm-kmi-mcp:
command: "irm-kmi-mcp"
enabled: true
# env:
# IRM_LANG: "fr" # optional: default language for official texts
No API keys or configuration required. The daily request key is derived automatically.
Configuration
IRM_LANG: default language for official texts (bulletins, warning texts, day names, wind directions):fr,nl,enorde. Unset or invalid values fall back to English. Read once at server startup; set it before launching the server.
Development
Install from source in an editable dev environment:
git clone https://github.com/kthys/irm-kmi-mcp.git
cd irm-kmi-mcp
python3 -m venv .venv
.venv/bin/pip install -e ".[dev]"
.venv/bin/pytest
.venv/bin/ruff check .
Tests run against recorded API responses (tests/fixtures/) with a mocked HTTP transport,
so no network access is required. Re-record fixtures after upstream API changes.
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。