Weather MCP Server
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., "@Weather MCP Serverwhat's the weather in San Francisco?"
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.
Weather MCP Server Powered by the Open-Meteo API
This MCP server interfaces with the Open-Meteo API and offers tools to fetch current weather conditions and weather forecasts for any location worldwide.
Requirements
Claude.ai account (MCP support is available for all account types)
Claude Desktop app, available for macOS and Windows
uv:
macOS via Homebrew:
brew install uvWindows via WinGet:
winget install --id=astral-sh.uv -e
A code editor like Visual Studio Code
Related MCP server: Weather MCP Server
Installation
uv runDevelopment
Start the virtual environment
source .venv/bin/activateNOTE: To stop the virtual environment:
deactivateRun MCP server in dev mode with the MCP Inspector:
mcp dev server.pyRun MCP server in Claude Desktop
Open claude_desktop_config.json in an editor:
File location:
MacOS / Linux:
~/Library/Application/Support/Claude/claude_desktop_config.jsonWindows:
AppData\Claude\claude_desktop_config.json
Find the full path to uv:
MacOS / Linux:
which uvWindows:
where uv
In claude_desktop_config.json:
{
"mcpServers": {
"weather": {
"command": "/absolute/path/to/uv",
"args": [
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"/absolute/path/to/mcp-server-weather/server.py"
]
}
}
}Reboot Claude Desktop and use a prompt that will trigger your MCP.
Usage
In Claude Desktop:
request current weather information for a specified location
request a weather forecast for a specified location and time
ask if it's going to rain tomorrow
ask if you need to put on sunscreen if you're going for a walk later
Available Tools
2 toolsget_current_weatherB
Get current weather for a location.
Args:
latitude: Latitude of the location
longitude: Longitude of the location
| Name | Required | Description | Default |
|---|---|---|---|
| latitude | Yes | ||
| longitude | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must carry the behavioral disclosure burden. It does not mention idempotency, side effects, rate limits, or any behavioral traits beyond the basic operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is brief but includes a redundant 'Args' section that repeats schema information. It is somewhat concise but could be more streamlined.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With an output schema indicated, the description does not need to explain return values. However, for a two-parameter tool, it lacks completeness by not providing details on coordinate systems or units.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the description only restates parameter names without adding any meaning about formats, ranges, or units. The 'Args' section adds no value beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'Get current weather for a location' which is a specific verb+resource. It distinguishes from the sibling tool 'get_forecast' by explicitly targeting current weather.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance on when to use this tool versus alternatives. The description implies usage for current weather, but does not mention when not to use or provide alternative scenarios.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_forecastC
Get weather forecast for a location.
Args:
latitude: Latitude of the location
longitude: Longitude of the location
| Name | Required | Description | Default |
|---|---|---|---|
| latitude | Yes | ||
| longitude | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It doesn't disclose how many days of forecast are returned, data freshness, caching behavior, rate limits, or what units (Celsius/Fahrenheit) are used. The description only restates the parameters without adding behavioral context.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is brief but under-specified rather than appropriately concise. The Args section is mostly unnecessary given the input schema repeats the same parameter names and types. The single opening sentence is useful, but the parameter documentation is redundant with the schema.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
There is an output schema present, which helps, but the description still fails to communicate what the forecast contains or how comprehensive it is. For a tool that returns weather data, the agent has no sense of forecast length, granularity, or data fields without inspecting the output schema. The description is minimally sufficient for a basic 2-param lookup tool but leaves key context undocumented.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, meaning the description must compensate. The description merely restates that latitude/longitude are coordinates of the location, which adds marginal value over the schema. It doesn't explain valid ranges (e.g., -90 to 90, -180 to 180), precision requirements, or format expectations. Minimal semantic addition.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states 'Get weather forecast for a location' with a clear verb+resource. It doesn't distinguish from its sibling tool get_alerts, and 'forecast' vs 'alerts' distinction is implied but not explicit. The purpose is clear but missing scope details (time range, units).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool vs get_alerts. The description doesn't explain the distinction between getting a forecast and getting alerts, nor does it mention any special circumstances (e.g., use get_alerts for severe weather warnings). No when/when-not guidance is provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
2 tool updates
v0.1.0- First observed
get_current_weather - First observed
get_forecast
TDQS
Scored across 2 tools
Both tools target distinct weather data: current conditions vs. forecast. No overlap in purpose.
Both tools follow the consistent 'get_<type>_weather' naming pattern.
Only 2 tools for a weather server is minimal but covers the core functionality; could be expanded.
Current and forecast cover basic needs but lack alerts, historical data, or location metadata.
Maintenance
Related MCP Connectors
Global weather via Open-Meteo: forecast, ERA5 archive, marine, air quality, geocoding, elevation.
Real-time weather conditions and multi-day forecasts via Open-Meteo — free, no API key required
Current weather and forecasts for any coordinates, backed b… — paid per call (x402/credits), 1 tools
Weather forecasts from MET Norway (Yr): geocoding plus hourly forecasts worldwide.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables real-time weather information and forecasts using the Open-Meteo API. Provides current weather conditions and forecast data for any location specified by latitude and longitude coordinates.1-
- AlicenseNot gradedqualityDmaintenanceProvides weather data including current conditions, daily forecasts up to 16 days, and hourly forecasts up to 7 days, using the free Open-Meteo API with no API key required.1MIT
- FlicenseNot gradedqualityDmaintenanceProvides real-time weather and forecasts via Open-Meteo, supporting queries by coordinates or city name.-
- FlicenseNot gradedqualityBmaintenanceProvides current weather, forecasts, and travel recommendations via Open-Meteo, enabling natural language queries about weather conditions.-