Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Tools

Functions exposed to the LLM to take actions

NameDescription
get_station_info

Get AMeDAS station information by station code.

Args: code: Station code (e.g., '44132' for Tokyo)

Returns: Station information including name, location, and type

search_stations

Search AMeDAS stations by name (Japanese, Kana, or English).

Args: name: Station name to search

Returns: List of matching stations

search_nearby_stations

Search AMeDAS stations within a radius from given coordinates.

Args: lat: Latitude in decimal degrees lon: Longitude in decimal degrees radius_km: Search radius in kilometers (default: 50)

Returns: List of nearby stations sorted by distance

get_stations_of_type

Get all AMeDAS stations of a specific type.

Args: station_type: Station type - A (Staffed), B (Special Regional), C (AMeDAS), D (Rain Gauge), E (Snow Depth), F (Regional Rain)

Returns: List of stations of the specified type

list_stations

List all AMeDAS stations (1286 stations) with pagination.

Args: limit: Maximum number of stations to return (default: 100) offset: Number of stations to skip (default: 0)

Returns: Paginated list of stations

get_current_weather

Get current weather observation data from AMeDAS stations.

Args: station_code: Station code (e.g., '44132' for Tokyo). If not specified, returns data for all stations.

Returns: Weather data including temperature, humidity, pressure, wind, precipitation, etc.

get_weather_by_location

Get current weather from the nearest AMeDAS station to given coordinates.

Args: lat: Latitude in decimal degrees lon: Longitude in decimal degrees

Returns: Weather data from the nearest station

get_forecast

Get weather forecast for a prefecture.

Args: prefecture: Prefecture name in English (e.g., 'tokyo', 'osaka', 'hokkaido_sapporo')

Returns: Weather forecast data

list_prefectures

List all available prefecture codes for weather forecast.

Returns: Dictionary of prefecture names and their codes

get_historical_weather

Get historical weather data for a specific date and time.

Data is available for approximately the past 1-2 weeks.

Args: station_code: Station code (e.g., '44132' for Tokyo) target_datetime: Target datetime in ISO format (e.g., '2025-12-01T12:00:00') or 'YYYY-MM-DD HH:MM' format. Time is in JST.

Returns: Weather data for the specified time

get_weather_time_series

Get time series weather data for a station.

Useful for analyzing weather trends over hours or days.

Args: station_code: Station code (e.g., '44132' for Tokyo) hours: Number of hours to fetch (default: 24, max: 168 for ~1 week) interval_minutes: Interval between data points in minutes (10, 30, or 60)

Returns: Time series weather data

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/koizumikento/jma-data-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server