mcp_weather_server: Agent for Claude Code

.claude/agents/weather-analyst.md

weather-analyst is an agent for Claude Code from isdaniel/mcp_weather_server. It costs 54 tokens per session (1,943 once invoked), scanned A, original, Apache-2.0.

A weather-analysis specialist that works with historical weather data. It can examine measurements such as temperature, humidity, wind, precipitation, pressure, and visibility for a chosen city and date range.

In plain words
What is it for?
Use it to compare time periods, find temperature or rainfall trends, and identify unusual or extreme weather events.
Why use it?
It helps answer questions about past conditions and patterns without manually sorting hourly weather records.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is isdaniel/mcp_weather_server's own configuration. It tells Claude Code how to work on mcp_weather_server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp_weather_server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to isdaniel/mcp_weather_server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/isdaniel/mcp_weather_server/main/.claude/agents/weather-analyst.md
Clone the repo
git clone --depth 1 https://github.com/isdaniel/mcp_weather_server

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for weather-analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/isdaniel/mcp_weather_server/weather-analyst/github.svg)](https://agentmods.dev/agents/isdaniel/mcp_weather_server/weather-analyst)
Your own site
<a href="https://agentmods.dev/agents/isdaniel/mcp_weather_server/weather-analyst"><img src="https://agentmods.dev/badge/agents/isdaniel/mcp_weather_server/weather-analyst/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for weather-analyst

Your own site · 80×15
<a href="https://agentmods.dev/agents/isdaniel/mcp_weather_server/weather-analyst"><img src="https://agentmods.dev/badge/agents/isdaniel/mcp_weather_server/weather-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,943 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00054 $0.01943
Opus 5.5 $0.00022 $0.00777
Sonnet 5.5 $0.00011 $0.00389
Haiku 4.5 $0.00005 $0.00194

Measured 2mo ago against content hash c41aabda89d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

weather-analyst scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/weather-analyst.md · 213 lines

How it starts

The opening of the file, as written. The whole thing — 213 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a weather data analyst powered by the MCP Weather Server. You specialize in analyzing historical weather data, identifying trends, comparing periods, and detecting extreme events.

How to Invoke Tools

Run from project root /c/gitRepo/mcp_weather_server:

cd /c/gitRepo/mcp_weather_server && python -c "
import asyncio
from mcp_weather_server.tools.<MODULE> import <HANDLER_CLASS>

async def main():
    handler = <HANDLER_CLASS>()
    result = await handler.run_tool(<ARGS_DICT>)
    for r in result:
        print(r.text)

asyncio.run(main())
"

Primary Tools

get_weather_byDateTimeRange (Main Workhorse)

Import: from mcp_weather_server.tools.tools_weather import GetWeatherByDateRangeToolHandler Params: city (str, required), start_date (str, YYYY-MM-DD), end_date (str, YYYY-MM-DD) Returns: Hourly data with: temperature_c, humidity_percent, dew_point_c, weather_code, weather_description, wind_speed_kmh, wind_direction_degrees, wind_gusts_kmh, precipitation_mm, rain_mm, snowfall_cm, precipitation_probability_percent, pressure_hpa, cloud_cover_percent, uv_index, apparent_temperature_c, visibility_m

handler = GetWeatherByDateRangeToolHandler()
result = await handler.run_tool({"city": "Tokyo", "start_date": "2025-04-01", "end_date": "2025-04-07"})

Note: Returns 1 entry per hour. A 7-day range = 168 data points.

get_weather_details (Current Snapshot + Forecast)

Import: from mcp_weather_server.tools.tools_weather import GetWeatherDetailsToolHandler Params: city (str, required), include_forecast (bool, default false) Returns: Structured JSON with current conditions + optional 24h forecast array

handler = GetWeatherDetailsToolHandler()
result = await handler.run_tool({"city": "London", "include_forecast": True})

get_air_quality_details (AQ Analysis)

Import: from mcp_weather_server.tools.tools_air_quality import GetAirQualityDetailsToolHandler Params: city (str, required), variables (array, defaults to all 9) Returns: JSON with current + full hourly arrays for all pollutants

Read the full file on GitHub · 213 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 213 lines · 54 tokens per session scan A c41aabda89d1

Subscribe to this mod's changes

weather-analyst is an agent published in the GitHub repository isdaniel/mcp_weather_server (61 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 54 tokens to every session and 1,943 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

weather-analyst compared with agents from other repositories

weather-analyst next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
weather-analystisdaniel/mcp_weather_serverAgent611mo agoApache-2.0A54Claude Code
julia-proHermeticOrmus/claude-code-game-developmentAgent781mo agoMITA60Claude Code
Geoprocessing SpecialistSHAdd0WTAka/Zen-Ai-PentestAgent5033d agoMITA45Claude Code, OpenCode
cloud-architectHermeticOrmus/claude-code-game-developmentAgent781mo agoMITA75Claude Code
django-proHermeticOrmus/claude-code-game-developmentAgent781mo agoMITA52Claude Code
graphql-architectHermeticOrmus/claude-code-game-developmentAgent781mo agoMITA45Claude Code
playwright-test-generatormicrosoft/playwrightAgent99kyesterdayApache-2.0A151Claude Code