About Requirements:
MCP client integrating weather tools with local LLM via Ollama. Queries weatherapi.com data using custom models.
Key features
- 01weatherapi.com integration
- 02Ollama local LLM support
- 03Custom model configuration
- 04Environment variable setup
Use cases
- 01Local weather query applications
- 02Offline AI weather assistant development
Details
From the project READMERequirements:
- 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
Comments
Markdown supported
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.