weather-server

chaminda360/weather-server

3.1

If you are the rightful owner of weather-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This is a TypeScript-based MCP server that implements a weather information system.

The Weather Server MCP Server is a TypeScript-based implementation that provides a weather information system. It demonstrates core Model Context Protocol (MCP) concepts by offering resources that represent weather data, tools for fetching and updating this information, and prompts for generating weather summaries. The server allows users to list and access weather data via specific URIs, and each entry includes location, temperature, and metadata. The server supports JSON mime type for structured data access, making it easy to integrate with other systems. It also includes tools for fetching current weather information from external APIs and updating the server state with new data. Additionally, it provides prompts for generating summaries of the current weather data, which can be used for further processing or display.

Features

  • Resources: List and access weather data via `weather://` URIs with location, temperature, and metadata.
  • Tools: Includes `fetch_weather` for retrieving current weather and `update_weather` for updating server state.
  • Prompts: Generate summaries of current weather data for LLM summarization.

Tools

  1. fetch_weather

    Fetch current weather information using location as a parameter.

  2. update_weather

    Update weather information with location and new data.