Global Weather MCP Server
Click on "Install 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., "@Global Weather MCP ServerWhat's the weather forecast for latitude 40.71, longitude -74.01?"
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.
Global Weather MCP Server
A Model Context Protocol (MCP) server that gives AI assistants access to weather data without API keys.
US weather alerts from the National Weather Service API
US point forecasts from the National Weather Service
Global 5-day forecasts from Open-Meteo, including India
Requirements
Requirement | Version |
Python | 3.14+ |
uv | Latest |
Claude Desktop or another MCP client | Latest |
Check your local versions:
python --version
uv --versionRelated MCP server: weather
Installation
git clone https://github.com/YOUR-USERNAME/global-weather-mcp-server.git
cd global-weather-mcp-server
uv syncNo API keys are required.
Connect to Claude Desktop on Windows
For the Microsoft Store/package install of Claude Desktop, open this config file:
%LOCALAPPDATA%\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude\claude_desktop_config.jsonAdd only this server entry inside the mcpServers object:
{
"mcpServers": {
"global-weather": {
"command": "uv",
"args": [
"--directory",
"C:\\path\\to\\weather-mcp",
"run",
"global_weather_mcp_server.py"
]
}
}
}If the config file already has other MCP servers, keep them and add only the global-weather block. Restart Claude Desktop after saving the file. The server should expose these tools:
get_alertsget_forecastget_forecast_global
Tools
get_alerts
Get active weather alerts for a US state.
Example:
What are the active weather alerts in California?get_forecast
Get a detailed National Weather Service forecast for a US location by latitude and longitude.
Example:
What's the weather forecast for latitude 40.71, longitude -74.01?get_forecast_global
Get current conditions and a 5-day forecast for any location worldwide by latitude and longitude.
Examples:
What's the weather forecast for latitude 19.0760, longitude 72.8777?
Get the weather for latitude 28.6139, longitude 77.2090.Useful Indian city coordinates:
City | Latitude | Longitude |
New Delhi | 28.6139 | 77.2090 |
Mumbai | 19.0760 | 72.8777 |
Bangalore | 12.9716 | 77.5946 |
Chennai | 13.0827 | 80.2707 |
Kolkata | 22.5726 | 88.3639 |
Hyderabad | 17.3850 | 78.4867 |
Pune | 18.5204 | 73.8567 |
Test Locally
Run the MCP server directly:
uv run global_weather_mcp_server.pyIf it starts and waits silently, the server is ready for an MCP client.
Project Structure
global-weather-mcp-server/
|-- global_weather_mcp_server.py
|-- pyproject.toml
|-- uv.lock
|-- README.md
`-- .gitignoreAvailable Tools
3 toolsget_alertsA
Get weather alerts for a US state.
Args: state: Two-letter US state code (e.g. CA, NY)
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided; description is minimal. Does not disclose behavioral aspects like idempotency, rate limits, or security. However, 'get' implies read-only, so borderline acceptable.
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?
Extremely concise: two sentences. Purpose is stated first, then parameter description. No wasted words.
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?
Given the tool's simplicity (one parameter, output schema present), the description is nearly complete. Could mention the expected output type or that alerts are for severe weather, but not necessary.
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?
Parameter 'state' is described with format 'Two-letter US state code' and examples, which adds significant meaning beyond the schema's type string.
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?
Clear verb 'Get' and resource 'weather alerts' for a specific scope 'US state'. Distinguishes from siblings get_forecast and get_forecast_global which likely provide forecasts, not alerts.
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 vs alternatives. The name and description imply alerts for warnings, but no direct comparison or when-not.
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?
No annotations are provided, so the description carries the full burden. It only states the action (get) but does not disclose behavioral traits such as data freshness, units, rate limits, or whether it is read-only (implicitly yes but not explicit). Minimal transparency.
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 very short and front-loaded with the purpose. However, it is under-specified for a tool with two parameters and no annotation support. It could include more context without losing conciseness.
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?
Given the tool's simplicity (2 parameters, output schema exists), the description covers the basic purpose and parameters. But it lacks usage context, error conditions, or clarification on output (though output schema covers that). Adequate but not complete for an agent to use without ambiguity.
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 coverage is 0% (no descriptions in schema), so the description must compensate. It merely restates parameter names ('latitude: Latitude of the location') without adding format, units, valid ranges, or any extra meaning. This provides negligible 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 the tool gets a weather forecast for a location via 'Get weather forecast for a location.' This differentiates from sibling 'get_alerts' (alerts vs forecast) and implies location-specific vs 'get_forecast_global'. However, it does not explicitly call out the differentiation.
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 versus siblings (e.g., get_alerts or get_forecast_global). The description only states what it does, not when or when not to use it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_forecast_globalA
Get weather forecast for any location worldwide including India.
Uses the Open-Meteo API (free, no API key required).
Args: latitude: Latitude of the location (e.g. 28.6139 for New Delhi) longitude: Longitude of the location (e.g. 77.2090 for New Delhi)
| 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, the description discloses that the tool uses a free API requiring no authentication, which is positive. However, it does not mention rate limits, error handling for invalid coordinates, or response structure. Still, it provides useful 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 extremely concise: two short paragraphs with no unnecessary words. It front-loads the purpose and includes essential usage notes. Every sentence is earned.
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?
Given the low complexity (2 params, no nested objects) and the presence of an output schema, the description is fairly complete. It explains the API source and coordinate examples. Minor gaps like timezone or units are acceptable for a simple forecast tool.
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?
The input schema has 0% description coverage, so the description's 'Args' section adds value by providing example values (e.g., 28.6139 for New Delhi). This compensates for the lack of schema descriptions and clarifies the coordinate format.
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 weather forecast for any location worldwide including India', which specifies the verb and resource. The name 'get_forecast_global' and the sibling 'get_forecast' hint at a regional distinction, but the description does not explicitly differentiate usage, so it's not a 5.
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 description mentions it uses the free Open-Meteo API with no API key, but does not provide explicit when-to-use or when-not-to-use guidance relative to siblings. This is minimal but adequate.
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. Dates show when Glama detected each change.
3 tool updates
v0.1.0- First observed
get_alerts - First observed
get_forecast - First observed
get_forecast_global
TDQS
get_alerts is distinct for US alerts, but get_forecast and get_forecast_global both provide forecasts; their regional scope is unclear from descriptions, causing potential confusion.
All tools follow a consistent verb_noun snake_case pattern (get_alerts, get_forecast, get_forecast_global).
With only 3 tools, the server is minimal but covers basic weather needs; it's borderline but not extreme.
Covers alerts and forecasts, but lacks current conditions, historical data, and other common weather features, leaving notable gaps.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Get US weather forecasts, active alerts, and current observations.
US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
61US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.
Free, keyless real-time weather and 7-day forecasts for any city worldwide.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides weather alerts and forecasts for US locations using the National Weather Service API.80GPL 3.0
- FlicenseNot gradedqualityDmaintenanceProvides weather forecasts, current conditions, and alerts for US locations using the National Weather Service API.1-
- AlicenseNot gradedqualityDmaintenanceProvides weather alerts and forecasts for US locations using the National Weather Service API.GPL 3.0
- AlicenseNot gradedqualityCmaintenanceProvides weather alerts and forecasts for US locations using the National Weather Service API.80GPL 3.0
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/VenkatAdena/Weather-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server