Feedback

Mcp Server Weather Example

@aman-panjwani Claim

Basic information

Runtime
python
Category
License
MIT license
Transports
stdio
Author
aman-panjwani
Submitted by
Community
Quality
25

About Mcp Server Weather Example

Example project demonstrating how to deploy MCP Servers using Azure Container Apps with a weather data processing use case. This repo showcases best practices for containerizing, configuring, and deploying scalable MCP Servers on Azure for real-time data ingestion and analysis.

Mcp Server Weather Example is a MCP server in the Media & Design category listed in the AddMCP.net directory, published by aman-panjwani. Supported transport: stdio. Runtime: python. License: MIT license. Source code is hosted on github.com. Related topics: azure, container-apps, mcp-server, weather.

Mcp Server Weather Example config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Mcp Server Weather Example tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Mcp Server Weather Example?

Mcp Server Weather Example is a cloud-deployable Model Context Protocol (MCP) server that provides real-time weather data from the U.S. National Weather Service API. Built with FastAPI and Server-Sent Events (SSE), it allows AI agents like GitHub Copilot to query weather alerts and forecasts via secure API key authentication.

How to use Mcp Server Weather Example?

Clone the repository, set the API_KEYS environment variable, and deploy to Azure Container Apps with az containerapp up. Configure a .vscode/mcp.json file with the server’s SSE URL and API key, then connect from Visual Studio Code’s MCP extension. You can then query weather data through GitHub Copilot Chat in Agent mode.

Key features of Mcp Server Weather Example

  • Two MCP tools: get_alerts() and get_forecast()
  • Real-time communication via Server-Sent Events (SSE)
  • API key authentication with x-api-key header
  • Ready-to-deploy Docker image for Azure Container Apps
  • Seamless integration with VS Code and GitHub Copilot

Use cases of Mcp Server Weather Example

  • Query current weather alerts for any U.S. region
  • Retrieve multi-day weather forecasts for a specific location
  • Enable AI coding assistants to answer real-time weather questions

Frequently asked questions

1 What tools does Mcp Server Weather Example provide?

It provides two tools: get_alerts() for weather alerts and get_forecast() for weather forecasts, both backed by the U.S. National Weather Service API.

2 How is the server secured?

Requests are authenticated via an x-api-key header. API keys are set as environment variables (API_KEYS) and can be a single key or multiple comma-separated keys.

3 What are the deployment requirements?

Deployment uses Azure CLI’s az containerapp up command, which builds a Docker image (Python 3.13, uv web server) and deploys it to Azure Container Apps. The server exposes an SSE endpoint at /sse.

4 How do I connect the server to VS Code?

Create a .vscode/mcp.json file with the server’s URL (ending in /sse) and your API key. Then start the server entry from the MCP extension sidebar and enter the key when prompted.

5 Can I use this server with GitHub Copilot?

Yes, after connecting via VS Code’s MCP extension, you can ask GitHub Copilot Chat (in Agent mode) weather-related questions, and it will call the MCP tools to answer with live data.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬