# What is a weather MCP server? 5-minute intro and examples

If you use Claude, ChatGPT or Cursor, you've probably seen "MCP" everywhere lately. The idea is simple: MCP lets your AI assistant use outside tools and data, instead of answering only from what it learned in training. Here's what it is, why it's useful and how to try it in a few minutes with a free weather API.

## The problem MCP solves

You ask a question in plain language. The assistant picks the tool, fills in the parameters, calls it and answers from real data. If you need industry-specific data, it's a way to save work and improve your workflows.

## MCP vs calling the API yourself

The data is the same, so what's the difference?

- **No code.** You don't write the request, the parsing or the formatting.
- **The assistant plans the calls.** "Compare Saturday in five cities" becomes one call with five locations, not five scripts.
- **Your API key stays out of the chat.** It goes in a request header when you connect, and the model never sees it.
- **Smaller responses.** A good MCP server returns compact data instead of raw JSON, so longer conversations don't run out of context.

It doesn't replace the API. For a dashboard or a scheduled job you still call the API directly. MCP is for questions.

## Try it: weather in Claude in 5 minutes

I'll use the [Meteosource MCP server](https://mcp.meteosource.com/?utm_source=hashnode&utm_medium=article&utm_campaign=mcp-intro), because its forecast tools work on the free plan (400 calls a day, no credit card needed).

**1\. Get an API key.** [Sign up for free](https://www.meteosource.com/client/sign-up?utm_source=hashnode&utm_medium=article&utm_campaign=mcp-intro) and copy your key from the dashboard.

**2\. Connect it.** In Claude Desktop or [claude.ai](http://claude.ai), add a custom connector:

- Name: `Meteosource`
- URL: `https://mcp.meteosource.com/mcp`
- Authentication: No sign-in
- Request header: `Authorization` with the value `Bearer YOUR_API_KEY`

In Claude Code, it's one command:

```bash
claude mcp add --transport http meteosource https://mcp.meteosource.com/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"
```

Other clients (Codex, Antigravity and more) are in the [README](https://github.com/Meteosource/meteosource-weather-mcp#connect). The server is hosted, so there's nothing to install.

**3\. Ask something.**

> I'm going to Munich for the weekend. What will the weather be like, what should I pack and what can I do there?
>
> Which day this week is best to mow the lawn in my garden in Prague?
>
> Can I expect snow in the Alps any time soon?

For the first one, the assistant does two things behind the scenes:

1. It looks up "Munich" with the `search_places` tool to get the location.
2. It calls `get_forecast` with that location for Friday to Sunday.

Then it reads the temperature, rain and wind for all three days and answers like a friend who checked the forecast: what the weekend looks like, what to pack and what to do.

![Claude answers a Munich weekend question with a Friday to Sunday forecast, a packing list and things to do](https://cdn.hashnode.com/uploads/covers/6a743c293dbb845b4c3d72c0/ab528a5c-5199-40ae-a6c4-dcd516219cf9.gif align="center")

The answer: grey, freezing and dry all weekend, between −3 and 1 °C. Pack a warm coat, hat, gloves and boots with grip. A good weekend for Christmas markets, the Deutsches Museum and a foggy walk in the Englischer Garten.

## A few more prompts to try

- "Which of these cities will be warmest on Saturday: Lisbon, Rome, Athens, Valencia, Split?"
- "Will it rain during my commute tomorrow, 8:00 and 17:30?"
- "Give me a 7-day forecast for Berlin as a short table."
- "I'm hanging laundry outside. Which day this week dries fastest?"

Notice that none of these says "use the forecast tool" or gives coordinates. That's the point of MCP: you describe what you want, and the assistant works out the calls.

## What else is on the server

The server has seven tools. Besides places and forecasts, there are:

- **Severe weather alerts** for the US, EU and Canada (paid plans)
- **Historical weather**, up to 20 years back with long-term averages for comparison (how far back depends on the plan)
- **Air quality** forecasts
- **Solar and wind production** for PV systems and wind farms (Renewables plan)

## Takeaway

An MCP server is basically an API with a description the AI can read. Once it's connected, the assistant can answer questions with live data that would otherwise need a script. Weather is a good first example because everyone has a question about it, and you see right away whether the answer is real.

What would you ask next?
