WeatherAPI MCP Server
weatherapi-mcp
Official MCP (Model Context Protocol) server for WeatherAPI.com. Gives AI agents like Claude direct access to real-time weather, forecasts, historical data, astronomy, marine weather, air quality, and more.
Quick Start
# Run directly with npx (no install needed)
WEATHERAPI_KEY=your_api_key npx weatherapi-mcpGet a free API key at weatherapi.com/signup.aspx
Related MCP server: Weather MCP Server
Setup in Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"weatherapi": {
"command": "npx",
"args": ["-y", "weatherapi-mcp"],
"env": {
"WEATHERAPI_KEY": "your_api_key_here"
}
}
}
}Config file locations:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Restart Claude Desktop after editing.
Setup in Cursor
Add to .cursor/mcp.json in your project root:
{
"mcpServers": {
"weatherapi": {
"command": "npx",
"args": ["-y", "weatherapi-mcp"],
"env": {
"WEATHERAPI_KEY": "your_api_key_here"
}
}
}
}Available Tools
Tool | Description |
| Real-time conditions — temp, wind, humidity, UV, pressure, AQI |
| Up to 14-day forecast with hourly breakdown and alerts |
| Historical weather from 1 Jan 2010 onwards |
| Long-range forecast 14–300 days ahead (Pro+ plan) |
| Wave height, swell, tide data for coastal/ocean points |
| Sunrise, sunset, moonrise, moon phase, illumination |
| IANA timezone and local time for any location |
| Autocomplete city/town search with coordinates |
| Geolocate an IP address or auto-detect caller's location |
| Government weather warnings (USA, UK, Europe, worldwide) |
| Upcoming football, cricket, and golf events |
Location Formats
The q parameter accepts:
City name:
London,New York,TokyoCoordinates:
51.5,-0.1US zip:
10001UK postcode:
SW1A 1AAIATA airport:
iata:LHRIP address:
100.0.0.1Auto-detect:
auto:ip
Example Prompts
Once connected, ask Claude:
"What's the weather like in Glasgow right now?"
"Will it rain in London this weekend? Show me hourly."
"What was the weather in Paris on 15 June 2024?"
"What time does the sun rise in Tokyo tomorrow?"
"Are there any weather warnings active for New York?"
"What's the wave height off the coast of Cornwall today?"
"What timezone is Sydney in and what time is it there now?"
Plans
Plan | Price | Calls/month |
Free | $0 | 100,000 |
Starter | $7/mo | 3,000,000 |
Pro+ | $25/mo | 5,000,000 |
Business | $65/mo | 10,000,000 |
Enterprise | Custom | Custom |
Links
License
MIT
Available Tools
11 toolsget_alertsA
Get active government weather alerts and warnings for a location. Covers USA, UK, Europe, and rest of world. Returns headline, severity, urgency, affected areas, and full description.
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Location query — city name, lat/lon, zip, postcode, IATA, or IP. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden. It discloses the tool's behavior by specifying the geographic coverage and return fields, but lacks details on rate limits, authentication needs, error handling, or whether it's read-only (implied by 'Get' but not explicit). It adds some context but leaves gaps in behavioral traits.
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 front-loaded with the core purpose in the first sentence, followed by additional details in a second sentence. Every sentence earns its place by adding geographic scope and output specifics without redundancy, making it appropriately sized and efficient.
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 moderate complexity (1 parameter, no output schema, no annotations), the description is fairly complete. It covers purpose, scope, and return fields, but lacks output format details (e.g., structure of returned data) and error scenarios. Since there's no output schema, more detail on returns would be beneficial, but it's adequate for basic use.
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 100% description coverage, with the parameter 'q' documented as 'Location query — city name, lat/lon, zip, postcode, IATA, or IP.' The description does not add meaning beyond this, as it only mentions 'for a location' without elaborating on parameter usage. Baseline 3 is appropriate since the schema does the heavy lifting.
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 specific verb ('Get') and resource ('active government weather alerts and warnings for a location'), with explicit geographic scope ('USA, UK, Europe, and rest of world') and output details ('headline, severity, urgency, affected areas, and full description'). It distinguishes from siblings like get_current_weather or get_forecast by focusing on alerts/warnings rather than general weather data.
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 provides clear context for when to use this tool ('for a location' and geographic coverage), implying it's for alert retrieval rather than other weather data. However, it does not explicitly state when not to use it or name alternatives among siblings (e.g., no comparison to get_current_weather for non-alert weather info), so it falls short of a perfect score.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_astronomyB
Get astronomy data for a location and date: sunrise, sunset, moonrise, moonset, moon phase, and moon illumination percentage.
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Location query — city name, lat/lon, zip, postcode, IATA, or IP. | |
| dt | Yes | Date in yyyy-MM-dd format. |
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 states what data is returned but doesn't mention critical behavioral aspects like whether this is a read-only operation, if it requires authentication, rate limits, error conditions, or response format. For a tool with no annotations, this leaves significant gaps in understanding how it behaves.
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 a single, efficient sentence that front-loads the core purpose and lists all returned data points without any wasted words. Every element serves a clear purpose, making it highly concise and well-structured.
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 moderate complexity (2 required parameters, no output schema, no annotations), the description is partially complete. It clearly states what data is returned but lacks behavioral context and output details. Without annotations or an output schema, the description should do more to compensate, but it at least defines the core purpose adequately.
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 schema description coverage is 100%, with both parameters (q and dt) fully documented in the schema. The description adds minimal value beyond the schema by mentioning 'location and date' but doesn't provide additional syntax, format details, or constraints. This meets the baseline of 3 when the schema does the heavy lifting.
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's purpose with a specific verb ('Get') and resource ('astronomy data'), and lists the specific data points returned (sunrise, sunset, moonrise, moonset, moon phase, moon illumination percentage). It distinguishes itself from siblings like get_current_weather or get_forecast by focusing exclusively on astronomical events.
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 provides no guidance on when to use this tool versus alternatives. While it implicitly suggests use for astronomical data, it doesn't mention when not to use it (e.g., for weather data) or refer to sibling tools like get_timezone for time-related queries or get_history for past data. Usage context is implied but not explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_current_weatherA
Get real-time current weather for any location. Returns temperature, wind speed and direction, humidity, pressure, UV index, visibility, feels-like temperature, and weather condition. Optionally includes air quality (AQI) data.
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Location query. Accepts: city name (London), lat/lon (51.5,-0.1), US zip (10001), UK postcode (SW1), IATA airport code (iata:LHR), IP address, or auto:ip for caller's location. | |
| aqi | No | Include air quality data (CO, NO2, O3, SO2, PM2.5, PM10). Default: no. |
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 describes the return data (temperature, wind, etc.) and optional air quality, but lacks details on rate limits, authentication needs, error handling, or data freshness. This is a significant gap for a tool with no annotation coverage.
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 front-loaded with the core purpose in the first sentence, followed by details on returns and optional features. Both sentences earn their place by adding value, with zero wasted words, making it highly efficient.
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 no annotations and no output schema, the description partially compensates by listing return data fields. However, it lacks details on response structure, error cases, or operational constraints, leaving gaps for a tool with two parameters and no structured safety or output information.
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 100%, so the schema fully documents both parameters. The description adds minimal value beyond the schema by mentioning 'any location' and 'optionally includes air quality (AQI) data,' but does not provide additional syntax or format details. Baseline 3 is appropriate when the schema does the heavy lifting.
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's purpose with specific verbs ('Get real-time current weather') and resources ('for any location'), distinguishing it from siblings like get_forecast or get_history by focusing on current conditions rather than predictions or past data.
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 implies usage for current weather data but does not explicitly state when to use this tool versus alternatives like get_forecast or get_history. It mentions optional air quality inclusion, which provides some context but lacks explicit guidance on tool selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_forecastA
Get weather forecast for 1 to 14 days. Returns daily summaries (max/min/avg temp, rain chance, UV, wind) and hourly breakdowns. Also returns current conditions, astronomy data (sunrise/sunset/moon phase), and optionally weather alerts and air quality.
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Location query — city name, lat/lon, zip, postcode, IATA, or IP. | |
| days | No | Number of forecast days (1–14). Default: 3. | |
| alerts | No | Include government weather alerts. Default: no. | |
| aqi | No | Include air quality data. Default: no. |
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 effectively describes the tool's behavior by specifying the forecast range (1-14 days), return data types (daily summaries, hourly breakdowns, current conditions, etc.), and optional inclusions (alerts, air quality). However, it lacks details on rate limits, authentication needs, error handling, or data freshness.
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 efficiently structured in two sentences with zero waste. The first sentence states the core purpose and key details (forecast range, return data). The second adds supplementary information (optional alerts and air quality). Every element serves a clear purpose.
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 moderate complexity (4 parameters, no output schema, no annotations), the description is adequate but has gaps. It covers the core functionality and data returns well, but lacks usage guidance relative to siblings and doesn't address behavioral aspects like rate limits or error handling. Without an output schema, more detail on return structure would be helpful.
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 100% description coverage, so the schema already documents all parameters thoroughly. The description adds marginal value by implying the 'days' parameter range (1-14) and mentioning optional alerts and air quality, but doesn't provide additional syntax or format details beyond what the schema specifies. Baseline 3 is appropriate when schema does the heavy lifting.
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's purpose with specific verbs ('Get weather forecast') and resources ('daily summaries', 'hourly breakdowns', 'current conditions', etc.). It distinguishes from siblings by specifying the comprehensive forecast scope (1-14 days with multiple data types), unlike more specialized tools like get_current_weather or get_astronomy.
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 provides no guidance on when to use this tool versus its siblings. While it implies a comprehensive forecast, it doesn't explicitly state when to choose this over get_current_weather for current data only, get_future_weather for future forecasts, or get_astronomy for astronomy data alone. No exclusions or prerequisites are mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_future_weatherA
Get future weather forecast for a date between 14 and 300 days from today. Returns 3-hourly data. Available on Pro+ plan and above.
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Location query — city name, lat/lon, zip, postcode, IATA, or IP. | |
| dt | Yes | Future date in yyyy-MM-dd format. Must be between 14 and 300 days from today. |
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 adds useful context about the return format ('Returns 3-hourly data') and access restrictions ('Pro+ plan and above'), but doesn't cover other behavioral aspects like error conditions, rate limits, authentication needs, or what happens with invalid dates beyond the range.
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 (three short sentences) with zero wasted words. Each sentence adds distinct value: purpose, return format, and access restrictions. It's perfectly front-loaded with the core functionality.
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 moderate complexity (future weather forecasting), no annotations, and no output schema, the description does well by covering purpose, timeframe, return granularity, and access tier. However, it lacks details about response format, error handling, and how it differs from similar siblings like get_forecast, leaving some gaps for an agent.
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 100%, so the schema already fully documents both parameters. The description reinforces the date range constraint for 'dt' but doesn't add meaningful semantic context beyond what the schema provides. Baseline 3 is appropriate when the schema does the heavy lifting.
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 specific action ('Get future weather forecast'), resource ('weather'), and scope ('for a date between 14 and 300 days from today'). It distinguishes from siblings like get_current_weather (present) and get_forecast (likely short-term) by specifying the long-range future timeframe.
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 provides clear context on when to use this tool (for dates 14-300 days ahead) and mentions availability constraints ('Pro+ plan and above'), which helps differentiate from other weather tools. However, it doesn't explicitly state when not to use it or name specific alternatives among siblings.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_historyA
Get historical weather data for a specific date from 1 January 2010 onwards. Returns daily summary and full hourly breakdown. Useful for past weather lookups, analytics, and backtesting.
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Location query — city name, lat/lon, zip, postcode, IATA, or IP. | |
| dt | Yes | Date in yyyy-MM-dd format. Must be on or after 2010-01-01. | |
| end_dt | No | Optional end date for a date range (Pro+ plan only). Max 30 days range. yyyy-MM-dd. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden. It discloses the temporal scope ('from 1 January 2010 onwards') and return format ('daily summary and full hourly breakdown'), which are useful behavioral traits. However, it doesn't mention rate limits, authentication requirements, error conditions, or pagination behavior that would be valuable for a data retrieval tool.
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 efficiently structured in two sentences. The first sentence states the core functionality and constraints, while the second provides usage context. Every phrase earns its place with no redundant information.
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 data retrieval tool with no annotations and no output schema, the description provides good context about what data is returned and temporal constraints. However, it could be more complete by mentioning authentication requirements, rate limits, or error handling. The 100% schema coverage helps compensate for some gaps.
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 100%, so the schema already documents all parameters thoroughly. The description adds minimal value beyond the schema - it mentions the date constraint but doesn't provide additional semantic context about parameter usage or interactions. Baseline 3 is appropriate when the schema does the heavy lifting.
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's purpose with specific verbs ('Get historical weather data') and resources ('daily summary and full hourly breakdown'). It distinguishes from siblings by specifying historical data from 2010 onward, unlike get_current_weather or get_forecast which focus on current/future data.
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 provides clear context for when to use this tool ('past weather lookups, analytics, and backtesting'), which implicitly distinguishes it from siblings focused on current, future, or specialized weather data. However, it doesn't explicitly state when NOT to use it or name specific alternatives among siblings.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_marine_weatherB
Get marine and sailing weather forecast including significant wave height, swell height, swell direction, swell period, and optionally tide data. Useful for nautical and coastal planning.
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Coastal or ocean coordinates as lat,lon (e.g. 51.5,-1.8). | |
| days | No | Forecast days (1–7 depending on plan). Default: 1. | |
| tides | No | Include tide data (Pro+ plan and above). Default: no. |
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 mentions that tide data requires 'Pro+ plan and above,' which adds useful context about access restrictions. However, it does not disclose other behavioral traits such as rate limits, authentication needs, response format, or whether this is a read-only operation, leaving significant gaps for a tool with no annotation coverage.
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 concise and front-loaded, stating the purpose in the first sentence and adding context in the second. Both sentences earn their place by specifying forecast elements and usage scenario, with no wasted words, though it could be slightly more structured for clarity.
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 no annotations and no output schema, the description provides basic purpose and some context but is incomplete. It covers what the tool does and a usage hint, but lacks details on behavior, response format, and full parameter guidance. For a tool with 3 parameters and no structured support, this is adequate but has clear gaps.
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 100% description coverage, so the schema already documents all parameters well. The description adds minimal value by mentioning tide data as optional, but does not provide additional semantics beyond what the schema specifies (e.g., it doesn't explain the significance of 'days' or 'q' beyond the schema's descriptions). Baseline 3 is appropriate given high schema coverage.
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's function: 'Get marine and sailing weather forecast' with specific elements like wave height, swell, and tide data. It distinguishes from general weather tools by focusing on marine aspects, though it doesn't explicitly differentiate from all siblings like 'get_current_weather' or 'get_forecast' which might also provide some overlapping data.
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 implies usage context with 'Useful for nautical and coastal planning,' which suggests when to use it. However, it lacks explicit guidance on when to choose this tool over alternatives like 'get_forecast' or 'get_current_weather,' and does not mention any exclusions or prerequisites beyond the optional tide data note.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_sportsB
Get upcoming sports events (football/soccer, cricket, golf) for a location, with stadium, country, tournament name, and start time.
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Location query — city name, lat/lon, zip, postcode, or IATA. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It implies a read-only operation but doesn't disclose behavioral traits like rate limits, authentication needs, error handling, or data freshness. The description adds minimal context beyond the basic function, leaving gaps in understanding how the tool behaves in practice.
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 a single, efficient sentence that front-loads the core function and details. It wastes no words, clearly stating what the tool does, the sports covered, and the returned data fields. Every element earns its place.
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 moderate complexity (location-based sports event lookup), no annotations, and no output schema, the description is minimally adequate. It covers the purpose and data fields but lacks behavioral details, usage context, and output format. It meets the baseline for a simple query tool but doesn't fully compensate for missing structured information.
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 100% description coverage, with the single parameter 'q' documented as a location query. The description adds no additional parameter semantics beyond what the schema provides, such as format examples or constraints. With high schema coverage, the baseline score of 3 is appropriate.
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's purpose: retrieving upcoming sports events for specific sports (football/soccer, cricket, golf) with location-based filtering. It specifies the data fields returned (stadium, country, tournament name, start time). However, it doesn't explicitly differentiate from sibling tools like 'get_alerts' or 'get_current_weather' which serve different domains.
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 provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, limitations, or compare it to sibling tools that might overlap in functionality (like 'search_locations' for location data). The user must infer usage from the purpose alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_timezoneA
Get timezone and current local time for any location. Returns IANA timezone ID (e.g. Europe/London), local time string, and unix epoch.
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Location query — city name, lat/lon, zip, postcode, IATA, or IP. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden. It discloses the return format (IANA timezone ID, local time string, unix epoch) and that it queries locations, but lacks details on error handling, rate limits, authentication needs, or data sources. It adds some behavioral context but not comprehensively.
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 front-loaded and concise with a single sentence that efficiently conveys purpose and return values, with no wasted words. Every part earns its place by specifying what is retrieved and the output format.
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 low complexity (1 parameter, no annotations, no output schema), the description is reasonably complete: it states purpose, usage scope, and return format. However, it could improve by adding more behavioral details (e.g., error cases) since there's no output schema to define returns.
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 100%, so the schema already documents the single parameter 'q' with its description. The description does not add meaning beyond this, as it does not explain parameter usage further. Baseline 3 is appropriate when schema handles parameter documentation.
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's purpose with specific verbs ('Get timezone and current local time') and resources ('for any location'), and distinguishes it from siblings like get_current_weather or ip_lookup by focusing on timezone data rather than weather, alerts, or IP information.
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 implies usage by stating it works 'for any location', but does not explicitly guide when to use this tool versus alternatives like ip_lookup (which might provide timezone via IP) or search_locations. No exclusions or specific contexts are provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ip_lookupA
Look up geolocation data for an IP address: city, region, country, coordinates, timezone, and whether it's in the EU. Pass 'auto:ip' to geolocate the caller's own IP address.
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | IPv4 address, IPv6 address, or 'auto:ip' for caller's IP. |
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 discloses that the tool returns geolocation data and supports 'auto:ip' for self-geolocation, but it lacks details on behavioral traits like rate limits, authentication needs, error handling, or data freshness. The description does not contradict any annotations, but it could be more informative.
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 appropriately sized and front-loaded, with two concise sentences that directly state the tool's purpose and parameter usage. Every sentence adds essential information without redundancy, making it efficient and easy to understand.
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 moderate complexity (single parameter, no output schema, no annotations), the description is somewhat complete but has gaps. It explains what the tool does and parameter usage but lacks details on output format, error cases, or limitations. Without an output schema, more information on return values would be helpful for full completeness.
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 100% description coverage, so the baseline is 3. The description adds value by explaining the semantics of the 'q' parameter beyond the schema: it clarifies that 'auto:ip' geolocates the caller's own IP, which is not obvious from the schema alone. This enhances understanding but doesn't fully compensate for missing output details.
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's purpose with a specific verb ('Look up') and resource ('geolocation data for an IP address'), and it distinguishes itself from siblings by focusing on IP geolocation rather than weather, time, sports, or other location-based queries. The inclusion of specific data fields (city, region, etc.) further clarifies its function.
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 provides clear context on when to use this tool by specifying it's for IP geolocation and mentioning the 'auto:ip' option for the caller's own IP. However, it does not explicitly state when not to use it or name alternatives among siblings, such as using other tools for non-IP-based location data.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_locationsA
Search for cities and towns by partial name or postcode. Returns an array of matching locations with their coordinates, region, country, and URL slug. Useful for building location pickers or resolving ambiguous place names.
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Partial city name, postcode, or coordinates to search. E.g. 'lond', 'SW1', 'paris'. |
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 does well by specifying what data is returned ('coordinates, region, country, and URL slug') and the format ('array of matching locations'), but doesn't mention important behavioral aspects like rate limits, authentication requirements, or error conditions that would be crucial for an agent.
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 perfectly structured with two sentences: the first states the core functionality and return data, the second provides practical use cases. Every word earns its place with zero redundancy or wasted space.
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 single-parameter search tool with no output schema, the description does well by specifying the return format and content. However, without annotations and with no output schema, it could benefit from more detail about response structure (e.g., pagination, error cases) to be fully complete for agent use.
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 schema description coverage is 100%, so the input schema already documents the single parameter thoroughly. The description adds marginal value by mentioning 'partial name or postcode' and providing usage examples, but doesn't significantly enhance understanding beyond what the schema provides.
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 specific action ('Search for cities and towns'), the resource ('locations'), and the method ('by partial name or postcode'). It distinguishes this tool from siblings like weather or timezone tools by focusing on geographic lookup rather than meteorological or temporal data.
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 provides clear context about when to use this tool ('useful for building location pickers or resolving ambiguous place names'), giving practical application scenarios. However, it doesn't explicitly state when NOT to use it or mention specific alternatives among the sibling tools.
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.
11 tool updates
v1.0.0- First observed
get_alerts - First observed
get_astronomy - First observed
get_current_weather - First observed
get_forecast - First observed
get_future_weather - First observed
get_history - First observed
get_marine_weather - First observed
get_sports - First observed
get_timezone - First observed
ip_lookup - First observed
search_locations
TDQS
Every tool has a clearly distinct purpose with no overlap; each targets a specific weather or location-related function (e.g., current weather, alerts, astronomy, marine, sports, timezone), making misselection unlikely. The descriptions reinforce unique scopes, such as separating forecast from history or marine from general weather.
All tools follow a consistent verb_noun pattern (e.g., get_alerts, get_astronomy, get_current_weather), with no deviations in style or convention. This predictability aids in easy identification and usage across the tool set.
With 11 tools, the count is well-scoped for a weather API server, covering diverse aspects like current conditions, forecasts, history, marine data, and location utilities. Each tool earns its place without feeling excessive or insufficient for the domain.
The tool set provides comprehensive coverage for weather and location services, including CRUD-like operations (e.g., get, search) across current, forecast, historical, marine, and astronomy data, plus utilities like timezone and IP lookup. No obvious gaps exist for typical agent workflows in this domain.
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
Weather data, forecast API, climate data, historical weather, alerts, agricultural & travel weather.
Global weather API: forecasts, historical data, marine, ski, astronomy and timezone.
MET Norway weather (api.met.no behind yr.no) — global forecast, sunrise, ocean
Real-time weather conditions and multi-day forecasts via Open-Meteo — free, no API key required
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides live weather data and forecasts for any location worldwide through both REST API and MCP endpoints. Supports current weather, multi-day forecasts, and various location formats including city names, coordinates, ZIP codes, and airport codes.1-
- AlicenseNot gradedqualityDmaintenanceProvides real-time, historical, and forecasted weather data for any location worldwide using the Open-Meteo API. It includes specialized tools for agricultural growing conditions, weather alerts, and up to 16 days of forecasts across multiple transport modes.21MIT
- AlicenseNot gradedqualityDmaintenanceProvides real-time weather information and multi-day forecasts for global locations using city names, coordinates, or ZIP codes. It includes tools for current conditions, forecasting, and weather summaries designed for activity planning.22MIT
- AlicenseNot gradedqualityDmaintenanceGlobal weather intelligence for AI assistants providing 10 weather tools — forecasts, historical data, air quality, marine, geocoding, elevation, and climate projections at 1km resolution with 80+ years of archive.1MIT
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/weatherapicom/weatherapi-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server