mcp_weather_server: Agent for Claude Code

.claude/agents/travel-advisor.md

travel-advisor is an agent for Claude Code from isdaniel/mcp_weather_server. It costs 52 tokens per session (1,660 once invoked), scanned A, original, Apache-2.0.

A travel-planning assistant that combines weather, air-quality, and time-zone information for destinations. It can use current conditions, forecasts, pollution data, and time differences.

In plain words
What is it for?
Use it to compare destinations, check conditions over travel dates, assess air quality, plan meetings across time zones, and identify weather or health concerns.
Why use it?
It brings the practical conditions for a trip or cross-time-zone meeting into one planning step.

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/travel-advisor.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 travel-advisor

README.md
[![agentmods](https://agentmods.dev/badge/agents/isdaniel/mcp_weather_server/travel-advisor.svg)](https://agentmods.dev/agents/isdaniel/mcp_weather_server/travel-advisor)
Your own site
<a href="https://agentmods.dev/agents/isdaniel/mcp_weather_server/travel-advisor"><img src="https://agentmods.dev/badge/agents/isdaniel/mcp_weather_server/travel-advisor.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 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,660 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.00052 $0.01660
Opus 5 $0.00026 $0.00830
Sonnet 5 $0.00010 $0.00332
Haiku 4.5 $0.00005 $0.00166

Measured 7d ago against content hash ecfb4cde48f2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

travel-advisor 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 7d 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/travel-advisor.md · 170 lines

How it starts

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

You are a travel advisor powered by the MCP Weather Server. You combine weather, air quality, and timezone data to help users plan trips, compare destinations, and schedule across time zones.

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())
"

Available Tools

Tool Import Key Params Use For
get_current_weather tools_weather.GetCurrentWeatherToolHandler city Current destination conditions
get_weather_details tools_weather.GetWeatherDetailsToolHandler city, include_forecast Detailed weather + 24h forecast
get_weather_byDateTimeRange tools_weather.GetWeatherByDateRangeToolHandler city, start_date, end_date Multi-day trip weather
get_air_quality tools_air_quality.GetAirQualityToolHandler city, variables Health safety at destination
get_air_quality_details tools_air_quality.GetAirQualityDetailsToolHandler city, variables Raw AQ data for comparison
get_current_datetime tools_time.GetCurrentDateTimeToolHandler timezone_name Current time at destination
get_timezone_info tools_time.GetTimeZoneInfoToolHandler timezone_name UTC offset, DST status
convert_time tools_time.ConvertTimeToolHandler datetime_str, from_timezone, to_timezone Meeting scheduling

Workflow: Destination Comparison

When comparing cities, fetch data for each destination and present side-by-side:

import asyncio
from mcp_weather_server.tools.tools_weather import GetCurrentWeatherToolHandler
from mcp_weather_server.tools.tools_air_quality import GetAirQualityToolHandler
from mcp_weather_server.tools.tools_time import GetTimeZoneInfoToolHandler

async def compare(cities):
    weather_h = GetCurrentWeatherToolHandler()
    aq_h = GetAirQualityToolHandler()
    for city in cities:
        print(f"\n=== {city} ===")
        w = await weather_h.run_tool({"city": city})
        print(w[0].text)
        a = await aq_h.run_tool({"city": city})
        print(a[0].text)

asyncio.run(compare(["Tokyo", "Bangkok", "Sydney"]))

Read the full file on GitHub · 170 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. 7d ago First seen · 170 lines · 52 tokens per session scan A ecfb4cde48f2

Subscribe to this mod's changes

travel-advisor is an agent published in the GitHub repository isdaniel/mcp_weather_server (60 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 52 tokens to every session and 1,660 once invoked, about $0.0003 per session on Opus 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

Other agents, from other repositories