weather-tool-with-mcp logo

weather-tool-with-mcp

by rairai77

This tool leverages a weatherapi.com key and a custom Ollama model to provide weather information. It requires setting up the environment and running the main script.

View on GitHub

Last updated: N/A

Requirements:

  • uv for dependencies
  • weatherapi.com key

Setup:

  • copy .example.env to .env and add the weather api key
  • create a custom ollama model called llama3.1-tool:8b using the modelfile and llama3.1:8b as a base

Usage:

ollama serve
uv run main.py