Real-Time 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., "@Real-Time 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.
๐ค๏ธ Real-Time Weather MCP Server
A Model Context Protocol (MCP) server that provides real-time weather information to Claude Desktop and any other MCP-compliant client. Built using FastMCP.
โจ Features
Live Weather Data: Real-time conditions, temperatures, and forecasts.
Zero API Key Requirement: Uses
wttr.inwithout requiring sign-up or paid subscription keys.FastMCP Powered: High-performance asynchronous tool handling over standard input/output (
stdio).Claude Desktop Ready: One-click registration using the
mcpCLI or manual JSON configuration.
Related MCP server: mcp-weather-server
๐ Project Structure
real_time_weather-mcp/
โโโ main.py # FastMCP server entry point & tool registration
โโโ tools/
โ โโโ __init__.py # Tools package initializer
โ โโโ weather.py # Weather fetching logic & API handler
โโโ pyproject.toml # Modern Python packaging & dependencies
โโโ requirements.txt # Standard pip requirements file
โโโ .gitignore # Git ignore configuration
โโโ LICENSE # MIT License
โโโ README.md # Project documentation๐ ๏ธ Prerequisites
Python:
>= 3.10uv (recommended) or standard
pipClaude Desktop (optional, for LLM integration)
๐ Quick Start
1. Clone the repository
git clone https://github.com/<your-username>/real_time_weather-mcp.git
cd real_time_weather-mcp2. Set up environment & install dependencies
Using uv (recommended):
uv venv
.venv\Scripts\activate # On Windows (or 'source .venv/bin/activate' on macOS/Linux)
uv pip install -e .Using standard pip:
python -m venv .venv
.venv\Scripts\activate # On Windows (or 'source .venv/bin/activate' on macOS/Linux)
pip install -r requirements.txt๐ Installing into Claude Desktop
Automatic Installation
Run the FastMCP installer from your activated virtual environment:
mcp install main.pyNote for Windows Store Claude users: If your Claude app was installed from the Microsoft Store, ensure
AppData\Roaming\Claudepoints or links to your local package cache.
Manual Configuration
Add the following to your claude_desktop_config.json:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"Live Weather": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"/absolute/path/to/real_time_weather-mcp/main.py"
]
}
}
}Restart Claude Desktop to activate the tool.
๐งช Testing & Debugging
You can test the MCP server using the official MCP Inspector:
npx @modelcontextprotocol/inspector uv run main.pyOr run the server directly in stdio mode:
python main.py๐ ๏ธ Available MCP Tools
Tool | Parameters | Description |
|
| Fetches real-time weather information for a specified location. If |
๐ License
This project is licensed under the MIT License.
Available Tools
1 toolcheck_weatherB
Get real-time weather information for a specified location (e.g., "Paris", "New York", "Tokyo").
Args: location: City or location name. detailed: If True, includes feels-like temperature, humidity, wind, and precipitation.
| Name | Required | Description | Default |
|---|---|---|---|
| detailed | No | ||
| location | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden. It conveys one useful trait ('real-time', i.e. current conditions), but says nothing about units, coverage limits, what happens for an unrecognized location, or whether the call has any cost/auth/rate-limit implications. For a tool with zero annotation coverage, this is a significant gap.
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 purpose is front-loaded in the first sentence with examples, followed by a compact Args block. It is appropriately sized for a two-parameter tool, though the Args listing partially duplicates what the schema already shows.
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?
For a simple two-parameter tool with no output schema, the description is roughly adequate: it says what is returned in detailed mode and what the inputs mean. It omits units, failure behavior for invalid locations, and any description of the default (non-detailed) return shape, leaving noticeable gaps given the absence of annotations and output schema.
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%, so the description must compensate, and it does: it names both parameters and explains that 'detailed' adds feels-like temperature, humidity, wind, and precipitation. That is real meaning beyond the bare boolean in the schema. It stops short of stating the expected format/units for 'location', so not a full 5.
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?
States a specific verb and resource ('Get real-time weather information') plus concrete example locations, so the agent immediately knows what the tool produces. There are no sibling tools to distinguish from, so the ceiling for sibling differentiation cannot be reached, but the purpose itself is unambiguous.
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?
The 'real-time' wording implies this is for current conditions rather than forecasts or historical data, which is soft usage guidance. However, there is no explicit statement of when to use this tool, no prerequisites, and no alternatives named (there are no siblings, so alternatives are moot).
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.
1 tool update
v0.1.0- First observed
check_weather
TDQS
Scored across 1 tool
There is only one tool, so there is no risk of confusing it with another. Its purpose is clearly stated and distinct.
The single tool follows a clear verb_noun pattern: check_weather. There are no competing conventions to create inconsistency.
A single tool is thin for a server, even one focused on real-time weather. The detailed flag helps, but the surface feels minimal.
For current real-time weather, the tool covers essential output including optional detailed metrics. It lacks features like forecasts, alerts, or multiple locations, but those may be outside the stated real-time scope.
Maintenance
Related MCP Connectors
Hosted MCP server for Xweather weather data: conditions, forecasts, alerts, and more.
The official Model Context Protocol server for Ambee. It gives any MCP-compatible AI assistant โ Claude, ChatGPT, Cursor, VS Code, Ollama, and more direct access to live air quality, pollen, and weather data. To get started, including information on signing up and obtaining your Ambee key, check out the Ambee documentation on https://docs.ambeedata.com
OpenWeather MCP โ wraps the OpenWeatherMap API (openweathermap.org)
Real-time weather conditions and multi-day forecasts via Open-Meteo โ free, no API key required
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides current weather and multi-day forecasts for any location worldwide, integrable with MCP clients like Claude.4Apache 2.0
- FlicenseNot gradedqualityDmaintenanceEnables MCP clients like Kiro and Claude to access current weather conditions and forecasts for any location using the OpenWeatherMap API.-
- AlicenseNot gradedqualityBmaintenanceProvides weather data including current conditions, forecasts, and summaries via Open-Meteo with no API key required, enabling natural language queries through an MCP interface.MIT
- AlicenseNot gradedqualityCmaintenanceEnables Claude to access real-time weather data via MCP, including forecasts and alerts for US locations.55 npmGPL 3.0