weather-tool-with-mcp

A tool for serving weather data using a custom Ollama model.

Visit Server
Added on 3/28/2025

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