Skip to main content
Glama
gwyer

MCP Weather Notes Server

by gwyer

MCP Weather Notes Server

GitHub Python

A minimal Model Context Protocol (MCP) server in Python that exposes three tools:

Available Tools

  1. get_weather(city) – Returns current weather using Open-Meteo API

    • Input: city name (string)

    • Output: temperature, wind speed, weather code, etc.

  2. save_note(text) – Saves a note to local JSON file

    • Input: note text (string)

    • Output: saved note with ID and timestamp

  3. get_notes() – Retrieves all saved notes from local storage

    • Input: none

    • Output: array of all notes with IDs, text, and timestamps

Related MCP server: Weather MCP Server

Setup

See SETUP_CLAUDE.md for instructions on connecting to Claude Desktop.

Testing

Run the test suite without an MCP client:

source .venv/bin/activate
python test_tools.py

Running the Server

Start the server directly (for testing):

source .venv/bin/activate
python server.py

Stop the server gracefully with Ctrl+C (only one press needed).

For more details on stopping the server, see STOPPING_SERVER.md.

Features

  • ✅ Real-time weather data from Open-Meteo API

  • ✅ Local JSON-based note storage

  • ✅ Retrieve all saved notes

  • ✅ Graceful shutdown handling

  • ✅ Comprehensive error handling

  • ✅ Full test suite included

  • ✅ Works with Claude Desktop and Claude Code

Requirements

  • Python 3.11+

  • Virtual environment (included)

  • MCP-compatible client (Claude Desktop or Claude Code)

Contributing

Contributions welcome! Feel free to:

  • Report bugs

  • Suggest new features

  • Submit pull requests

License

MIT License - see LICENSE file for details

Acknowledgments

Built with the Model Context Protocol by Anthropic.

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    B
    quality
    D
    maintenance
    Enables real-time weather information and forecasts using the Open-Meteo API. Provides current weather conditions and forecast data for any location specified by latitude and longitude coordinates.
    1
  • A
    license
    -
    quality
    D
    maintenance
    Enables real-time weather information retrieval and local search history management using Open Meteo APIs. Allows users to get current weather data for any city and access their weather query history through natural language.
    16
    MIT

View all related MCP servers

Related MCP Connectors

  • Global weather via Open-Meteo: forecast, ERA5 archive, marine, air quality, geocoding, elevation.

  • US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.

  • US weather, alerts, earthquakes and elevation for AI agents, from NWS/NOAA and USGS. No API keys.

View all MCP Connectors

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/gwyer/MCPWeather'

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