
AI assistants are great at analysis, but they don't know what the weather is, was, or will be. Our new Meteosource MCP server fixes that: it plugs Claude, Codex, Cursor and other AI tools straight into the Meteosource Weather API, giving them MCP weather data from real forecasts, 20 years of weather history and solar and wind production.
What is an MCP server?
MCP (Model Context Protocol) is an open standard that lets AI tools connect to external apps and data sources. Ours turns the Meteosource API into a weather API for AI agents: it guides the AI to the right endpoints, fetches only the data it needs and returns it in a compact form. You just ask in plain language, add your own data if you like (for example a CSV of sales, production logs or a list of sites) and get complex analyses without needing to write a line of code. It's useful whether you're a developer or someone responsible for company results.
Why use MCP instead of calling the API directly?
- Your API key stays safe. You never paste your key into a chat. It travels in a request header straight to the Meteosource server and never enters the conversation with the AI.
- It fits in the AI's memory. Raw API responses, especially years of hourly history, are often too large for an AI's context window, and the analysis fails. The MCP server aggregates the data to days or months and returns compact tables that use 4 to 7 times fewer tokens than the raw API.
- It saves quota and tokens. Results are cached, so repeating a question shortly after usually costs little.
- No coding needed. Skip the integration work and export results straight into a report, table or summary for your team.
What can you do with it?
A few examples of what teams use weather data for, by industry:
Solar and wind energy
- Farm operations. Forecast tomorrow's and this week's output for trading and planning, then compare actual production with the prediction to spot underperformance (dirty panels, faults).
- Site selection for new projects. Use up to 20 years of history to compare candidate locations and estimate annual production for a planned solar or wind farm.
- Battery and consumption planning. Decide when to charge storage, run heavy loads, or buy from the grid based on forecast production.
- Maintenance windows. Find the time when downtime costs the least and the weather is safe for work.
Travel, outdoor work and events
- Travel planning. Plan trips around the forecast and avoid unpleasant surprises: pick the sunniest days for a city break, the best week for skiing, or a backup plan when rain is coming.
- Outdoor work. Find the best window for spraying, harvesting, concreting or roofing.
- Events. Get a go/no-go for an outdoor event, from the long-range outlook down to minute-by-minute precipitation on the day.
- Weather along a route. Check forecasts for points along a delivery route or trip (ice, crosswind, snow on a pass).
Insurance and risk
- Proving past weather. Document what happened, where and when, to verify insurance claims or justify a construction delay.
- Early warnings. Alert clients before hail, storms or frost hit so they can protect property and prevent damage.
- Site risk profile. See how often frost, storms or heavy rain historically hit a location and how many workable days to expect, useful for underwriting, investment and project pricing.
Business and retail
- Sales and demand analysis. Pull historical weather and let AI find how it affects your sales, then use the forecast to plan orders and shifts.
- Weather-based marketing. Time campaigns to the forecast and promote what people actually need right now: umbrellas before a rainy weekend, heaters before the first frost, ice cream before a heatwave.
- Explaining anomalies. A drop in revenue or a spike in energy use? Check whether weather explains it by comparing with long-term normals.
Weather-aware workflows and agents
- Alerts for your sites. Get notified when frost, hail, strong wind or smog crosses your threshold at any of your locations, or when an official warning is issued.
- Daily morning briefing. An automatic summary across all your locations: what to watch today and where to prepare.
Weather forecast, history and energy tools in the MCP server
The server provides 7 tools, all built on publicly documented Meteosource API endpoints:
| Tool | What it does |
|---|---|
search_places |
Finds a location by name, postal code or coordinates |
get_forecast |
Current weather, minutely, hourly (up to 168 h) and daily (up to 30 days) forecasts, plus warnings, for up to 20 locations in one call |
get_alerts |
Official severe weather warnings for the USA, EU and Canada; returns only locations with an active warning |
get_weather_history |
Up to 20 years of history, aggregated to hours, days or months, with optional long-term normals, records and wind speed distribution |
get_air_quality |
Hourly air quality for about 4 days ahead: AQI, PM10, PM2.5, NO₂, SO₂, O₃ and more |
get_solar_production |
PV output for your installation (panel and inverter power, tilt, orientation), from 20 years back to 4 days ahead |
get_wind_production |
Wind farm output for a chosen turbine (67 models), hub height and terrain, same time range |
What makes this MCP weather server different?
Most weather MCP servers are community-built wrappers around a single API: one location per call and raw JSON. Ours is the official server from Meteosource:
- Up to 20 locations in one call, built for companies with many branches, construction sites or power plants.
- 20 years of history aggregated on the server, with normals and records in the same row. "Was this month warmer than normal?" is one call and one line.
- Compact output: 4 to 7 times fewer tokens than the raw API.
- Energy data most weather servers don't have: solar and wind farm production, irradiance and wind speed distribution.
How it works
Add https://mcp.meteosource.com/mcp to your AI tool and send your Meteosource API key in the request header. The server is hosted by Meteosource, so there's nothing to install. It recognizes your plan from the key and offers the tools your plan includes.
How to add Meteosource weather data to Claude, Claude Code, Cursor or Codex
To use it as an MCP server for Claude or any other AI tool, all you need is a Meteosource API key.
Claude (web and desktop app): go to Customize > Connectors > Add custom connector, name it Meteosource and paste https://mcp.meteosource.com/mcp. Set Authentication to No sign-in and add the request header Authorization with the value Bearer YOUR_API_KEY.
Claude Code:
claude mcp add --transport http meteosource https://mcp.meteosource.com/mcp \
--header "Authorization: Bearer YOUR_API_KEY"
Setup for Codex, Antigravity and other AI tools is in the documentation.
Does it work on the free plan?
Yes. The free plan is enough to try the forecast tools. Historical data is available as an add-on to any paid plan, and solar and wind production come with the Renewables plan. Compare plans.
Which AI tools are supported?
Claude (web, desktop and Claude Code), ChatGPT, Codex, Antigravity, Cursor, VS Code and any other AI tool that supports remote MCP servers. It works as an MCP server for Claude and as an MCP server for ChatGPT, but also as a weather API for AI agents you build yourself. You don't need to wait for an app directory listing: just add the URL and your key.
Try it
Once connected, ask your AI things like:
- "What's the weather in London this weekend?"
- "Are there any weather warnings for Prague, Vienna and Munich right now?"
- "Compare last January in Berlin with the long-term normal, day by day."
- "How much would a 10 kWp south-facing roof in Milan have produced last week?"
Get started
- Create an account and get your API key at meteosource.com.
- Follow the setup guide at mcp.meteosource.com.
- Ask your AI a weather question.
Questions or comments? Write to us at support@meteosource.com.











