mcp-server-weather

mcp-server-weather

3.2

If you are the rightful owner of mcp-server-weather and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This MCP server is designed to invoke the Mateo Weather API to fetch current weather data based on latitude and longitude inputs.

MCP Server that invokes Weather API

Install uv - Rust based Python packager (windows)

winget install --id=astral-sh.uv -e

Project Setup

uv init 
uv venv
source .venv/bin/activate
uv add "mcp[cli]" httpx

Run

mcp dev server.py

  • The MCP Inspector is available at http://127.0.0.1:6274
  • Connect -> Tools -> List Tools -> get_current_weather
  • Enter a latitude and longitude, eg 63.4463991, 10.8127596
  • "Tool Result" -> you'll see a JSON object with weather data