infoclimat-mcp
Click on "Deploy 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., "@infoclimat-mcpwhat's the current weather in Paris?"
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.
infoclimat-mcp
A FastMCP server that exposes Infoclimat weather data via the Model Context Protocol (MCP). The server proxies requests to the Infoclimat API, injecting your API token server-side so clients never see it.
Tools
Tool | Description |
| List stations with optional filters (département, pays, genre, active_only) |
| Search stations by name or département — use this to resolve a place name to station IDs |
| Find stations within a radius of a lat/lon point |
| Observations for one or more stations over a date range — raw (~10 min resolution) or aggregated daily ( |
| Latest observation for each requested station |
| Precipitation totals over a period, with lat/lon for mapping |
Related MCP server: meteo-swiss-mcp
Installation
With uv (recommended)
git clone <repo>
cd infoclimat-mcp
uv syncWith pip
pip install fastmcp httpx cachetools python-dotenvConfiguration
Copy .env.example to .env and fill in your token:
cp .env.example .envINFOCLIMAT_TOKEN=your_token_here
MCP_HOST=0.0.0.0 # optional, default 0.0.0.0
MCP_PORT=8000 # optional, default 8000Get a token at infoclimat.fr.
Running
uv run python main.pyThe server starts an SSE endpoint at http://0.0.0.0:8000/sse.
Docker
The image is published automatically to GitHub Container Registry on every push to master and on version tags.
docker pull ghcr.io/cmer81/infoclimat-mcp:latestRun the server:
docker run -d \
-e INFOCLIMAT_TOKEN=your_token_here \
-p 8000:8000 \
ghcr.io/cmer81/infoclimat-mcp:latestOptional environment variables:
Variable | Default | Description |
| (required) | Your Infoclimat API token |
|
| Host to bind |
|
| Port to listen on |
The SSE endpoint is available at http://localhost:8000/sse.
Note: Never pass
INFOCLIMAT_TOKENas a build argument — always supply it at runtime via-e.
MCP Client Configuration
The Docker image exposes the same SSE endpoint (
/sse) on port 8000. The configuration below applies whether you're running the server directly or via Docker.
Claude Desktop (remote server via SSE)
Note: Claude Desktop natively uses stdio for local MCP servers. The config below assumes the server is deployed remotely (e.g., behind a reverse proxy with TLS).
{
"mcpServers": {
"infoclimat": {
"transport": "sse",
"url": "https://your-server.example.com/sse"
}
}
}Generic HTTP/SSE MCP client
SSE endpoint: https://your-server.example.com/sseReverse proxy (TLS)
Example Caddyfile for TLS termination:
your-server.example.com {
reverse_proxy localhost:8000
}Daily Aggregation
get_observations accepts an optional aggregate parameter:
Value | Behaviour |
| Returns all raw ~10-minute observations |
| Returns compact per-day statistics — suitable for injecting into LLM context |
Example daily response per station:
{
"STATIC0183": {
"station_name": "Sainte-Radegonde",
"period": { "start": "2026-03-01", "end": "2026-03-21" },
"daily": [
{
"date": "2026-03-01",
"temp_min": 2.2,
"temp_mean": 6.9,
"temp_max": 13.8,
"humidity_mean": 79.0,
"wind_mean_kmh": 7.2,
"wind_gust_max_kmh": 63.7,
"pressure_mean": 1023.8,
"precip_mm": 0.0
}
],
"summary": {
"temp_min_abs": -4.1,
"temp_max_abs": 21.4,
"temp_mean": 8.2,
"precip_total_mm": 29.8,
"days_count": 21
}
}
}Fields with all-null source values are omitted. precip_mm is the last pluie_cumul_0h value of the day (cumul since midnight).
Caching
Station list: cached 1 hour in memory
Observations: cached 10 minutes per (stations, start, end) key
Cache is lost on server restart
This server cannot be deployed
Maintenance
Related MCP Connectors
OpenWeather MCP — wraps the OpenWeatherMap API (openweathermap.org)
Hosted MCP server for Xweather weather data: conditions, forecasts, alerts, and more.
WeatherAPI.com MCP — wraps WeatherAPI.com (api.weatherapi.com)
Search NOAA climate stations and datasets, fetch historical weather observations.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides real-time weather information for any location using FastMCP.-
- AlicenseAqualityAmaintenanceExposes Swiss weather forecast data as MCP tools, including rainfall, sunshine, temperature, wind, and more, with local caching.91Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables to interact with comprehensive weather data through the MCP protocol, including current conditions, multi-day forecasts, hourly forecasts, and geocoding.6 npmMIT
- AlicenseNot gradedqualityCmaintenanceProvides Finnish Meteorological Institute weather data including forecasts, observations, and warnings through the MCP protocol.2 npmMIT