The `open-meteo-mcp-server` package provides a comprehensive Model Context Protocol (MCP) server designed to interface Large Language Models (LLMs) with the various Open-Meteo weather APIs. It currently stands at stable version `1.6.1` and releases are frequent, typically addressing bug fixes, schema updates, and security enhancements as seen in the recent changelog. Key differentiators include its full support for a wide array of Open-Meteo APIs (Forecast, Archive, Air Quality, Marine, Geocoding, Elevation, and specialized models like DWD ICON, NOAA GFS, ECMWF, etc.) and its robust implementation of the Model Context Protocol, enabling structured interaction with LLMs. The server offers features like cryptographic session IDs, authentication middleware, rate limiting, and trusted-proxy IP validation for enhanced security. It is primarily consumed as a standalone Node.js server, often orchestrated via `npx` or Docker, but also provides a programmatic API for embedding within applications.
npm install open-meteo-mcp-serverVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to programmatically start the Open-Meteo MCP server using `startMcpServer`, configuring its host and port through environment variables or defaults.
Upgrade your Node.js environment to version 22.0.0 or later using a tool like nvm (Node Version Manager).
Review the documentation for `v1.4.0` regarding security configurations. Ensure your environment variables like `TRUSTED_PROXY_CIDR` are correctly set if the server is behind a proxy to ensure correct IP-based security features function as intended.
Keep the `open-meteo-mcp-server` package updated to the latest version to ensure alignment with current Open-Meteo API schemas. When developing clients, refer to the Open-Meteo API documentation and the server's expected request bodies.
Adjust client-side error handling to expect structured MCP error responses instead of raw HTTP client (Axios) errors when interacting with the server. Refer to the Model Context Protocol specification for expected error formats.
This package is an ES Module. Ensure your project is configured for ESM (e.g., `"type": "module"` in `package.json`) and use `import` statements. If you must use CommonJS, consider dynamic `import()`: `const module = await import('open-meteo-mcp-server');`Ensure `createMcpServer` is imported as a named export: `import { createMcpServer } from 'open-meteo-mcp-server';`Update your Node.js installation to version 22.0.0 or newer. Tools like `nvm` (Node Version Manager) can help manage multiple Node.js versions.
Verify that your client-side requests include all necessary parameters as defined by the Open-Meteo API documentation and the MCP server's validation schemas. Consult the `open-meteo-mcp` GitHub repository for the latest schema definitions.
No dependency data recorded yet.