Weather MCP Server
Provides current weather and multi-day forecasts for any city using the Open-Meteo API, with natural language city names and optional forecast duration.
README
Weather MCP Server
An MCP server that exposes two tools — get_current_weather and
get_forecast — backed by the free Open-Meteo API
(no API key required). Built to be added to a Microsoft Copilot Studio agent
as an MCP tool.
Files
server.py— the MCP server (FastMCP, Streamable HTTP transport)requirements.txt— Python dependenciesDockerfile— container image for deployment
1. Run it locally
pip install -r requirements.txt
python server.py
This starts a Streamable HTTP MCP server on http://0.0.0.0:8000/mcp
(FastMCP's default path/port).
To sanity-check it without Copilot Studio, use the MCP Inspector:
npx @modelcontextprotocol/inspector
Point the Inspector at http://localhost:8000/mcp with transport
"Streamable HTTP", then try calling get_current_weather with
{"city": "Kigali"}.
Note: Copilot Studio's MCP connector needs a server reachable over the public internet via HTTPS, not
localhost. Local runs are just for testing the tool logic before you deploy.
2. Deploy it somewhere public
Any host that can run a container and give you an HTTPS URL works. Azure Container Apps is a natural fit since you're already in the Microsoft ecosystem:
# from this folder
az login
az group create -n weather-mcp-rg -l eastus
az containerapp up \
--name weather-mcp \
--resource-group weather-mcp-rg \
--location eastus \
--source . \
--target-port 8000 \
--ingress external
az containerapp up builds the image from the Dockerfile, pushes it, and
gives you back a public HTTPS URL, e.g.
https://weather-mcp.<random>.eastus.azurecontainerapps.io.
Your MCP endpoint will be that URL + /mcp, e.g.:
https://weather-mcp.<random>.eastus.azurecontainerapps.io/mcp
(Any other host — Fly.io, Render, a VM, App Service — works the same way; you just need the container listening on port 8000 and reachable over HTTPS.)
3. Connect it to Copilot Studio
- In Copilot Studio, open your agent → Tools page → Add a tool.
- Choose Model Context Protocol.
- Give it a name (e.g. "Weather MCP") and description, and paste in your
server's URL (the
/mcpendpoint from step 2). - Save. Copilot Studio will connect and list
get_current_weatherandget_forecastunder that tool's Tools/Resources section. - Go to Topics, create a topic (e.g. "Get weather") with trigger phrases like "what's the weather in X", add a node → Add a tool, and select the MCP tool.
- Test in the chat pane: "what's the weather in Kigali right now?"
Notes
get_forecasttakes an optionaldaysparameter (1–7, default 3).- The geocoding step means users can type natural city names ("Rome", "Kigali", "Rome, Italy") rather than coordinates.
- If you want more detail (hourly data, weather alerts, historical data),
Open-Meteo supports all of that — the
get_forecastfunction is a good place to extend.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.