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 Server what's the forecast for New York City?"
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.
How the LLM Uses These Tools
Example 1: Weather Alerts
You: "Are there any weather alerts in California?"
Claude's process:
Recognizes it needs weather alert info
Calls
get_alerts(state="CA")Gets the formatted response
Presents it to you in natural language
Example 2: Weather Forecast
You: "What's the weather forecast for San Francisco?"
Claude's process:
Knows SF coordinates (or looks them up)
Calls
get_forecast(latitude=37.7749, longitude=-122.4194)Gets 5-period forecast
Summarizes it for you
Run the mcp server
uv run weather.py
Update the claude config file claude_desktop_config.json to below content
{ "mcpServers": { "weather": { "command": "/Users/santhosh.sharma/.local/bin/uv", "args": [ "--directory", "/Users/santhosh.sharma/Repositories/mcp-weather", "run", "weather.py" ] } } }
Reference : https://modelcontextprotocol.io/docs/develop/build-server#python
Analyze logs in ~/Library/Logs/Claude/mcp.log
When you ask Claude (with this MCP server connected):

Docstring best practises:
First line = One-line summary (imperative mood: "Get", "Format", "Calculate")
Use present tense ("Returns the sum" not "Will return")
Be specific about parameter types and expected values
Include examples for complex functions
Keep it updated when code changes
Available Tools
2 toolsget_alertsB
Get weather alerts for a US state.
Args:
state: Two-letter US state code (e.g. CA, NY)
Inputs: state (required). Returns: result
get_forecastC
Get weather forecast for a location.
Args:
latitude: Latitude of the location
longitude: Longitude of the location
Inputs: latitude (required), longitude (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: get_alerts retrieves alerts for US states, while get_forecast provides forecasts for geographic coordinates. There is no overlap in functionality or ambiguity between them.
Both tools follow a consistent verb_noun pattern (get_alerts, get_forecast) with identical verb usage and snake_case formatting. The naming is perfectly predictable across the tool set.
With only 2 tools, the server feels thin for a weather domain. While alerts and forecasts are core features, obvious gaps like current conditions, historical data, or radar imagery suggest the tool count is too low for comprehensive weather coverage.
The tool surface is severely incomplete for weather services. It lacks essential operations such as getting current conditions, historical weather data, radar maps, or air quality information. Agents will face significant limitations when trying to perform common weather-related tasks.
Related MCP Connectors
Get US weather forecasts, active and recent alerts, and current observations.
US NWS weather alerts and 5-day forecasts for AI agents. $0.01 per call.
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.