Weather App logo

Weather App

by mindsightventures

A command-line and MCP-based weather application that provides current weather conditions, forecasts, and alerts for locations worldwide. It allows users to access weather information through various tools.

View on GitHub

Last updated: N/A

What is Weather App?

The Weather App is a command-line application built on the MCP (Mindsight Command Platform) that provides weather information. It allows users to retrieve current weather conditions, forecasts, and alerts for locations around the world.

How to use Weather App?

To use the Weather App, first install it following the instructions in the README, including setting up an OpenWeatherMap API key. Then, run the run_weather.sh script to start the MCP server. You can then use the available tools such as get_current_weather, get_forecast, and get_alerts to retrieve weather information.

Key features of Weather App

  • Get current weather conditions

  • Get daily weather forecasts

  • Get hourly weather forecasts

  • Get weather alerts

  • Get weather by coordinates

  • Automatic location detection

  • Test API connection

  • Check API key and subscription status

Use cases of Weather App

  • Checking current weather conditions before going out

  • Planning outdoor activities based on weather forecasts

  • Receiving weather alerts for severe weather events

  • Integrating weather data into other applications

  • Developing custom weather-related tools using the MCP framework

FAQ from Weather App

What is an MCP server?

MCP stands for Mindsight Command Platform. It's a framework for building command-line applications with a server component.

How do I get an OpenWeatherMap API key?

You can get an API key by signing up for a free account on the OpenWeatherMap website (openweathermap.org/api).

What is the purpose of the .env file?

The .env file is used to store sensitive information such as your API key. This prevents the API key from being hardcoded into the application.

What are pre-commit hooks?

Pre-commit hooks are scripts that run automatically before you commit code. They help ensure code quality by running linters, formatters, and other checks.

How do I run the tests?

You can run the tests by executing the ./scripts/run_tests.sh script. You can also run integration tests and coverage reports using the appropriate flags.