Agent MCP Weather Template
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Agent MCP Weather Templatewhat's the weather forecast for 37.7749, -122.4194?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Agent MCP Template
This repository contains a generic Python template for an AgentKit Model Context Protocol (MCP) server. The server uses FastAPI to expose a tool that calls an unauthenticated weather API (Open Meteo) and returns a simple forecast for a given latitude and longitude.
Structure
server.py– FastAPI application implementing aget_forecastendpoint for AgentKit. It fetches current and hourly temperature data from the Open Meteo API.requirements.txt– Python dependencies..github/workflows/deploy.yaml– Placeholder workflow for deployment. You will need to configure your own AWS credentials and hosting details.
Related MCP server: MCP Weather Server
Usage
Install dependencies:
pip install -r requirements.txt.Run the server locally:
uvicorn server:app --host 0.0.0.0 --port 8000.Deploy to your own hosting platform (for example AWS Lambda or EC2).
Register the endpoint in AgentKit’s Connector Registry.
Notes
The weather API used here (Open Meteo) does not require an API key.
For production use you should secure the MCP endpoint with a bearer token and handle error cases.
Trigger deployment
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server for weather information by @kulybaba
An MCP server for weather information by @kulybaba
Hosted MCP server for Xweather weather data: conditions, forecasts, alerts, and more.
Open-Meteo tabanlı anahtarsız hava durumu tahmin MCP sunucusu.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides real-time weather data, hourly forecasts, and daily summaries using the free Open-Meteo API with no API key required. It enables users to search for weather conditions by specific coordinates or city names across multiple measurement units.2MIT
- FlicenseNot gradedqualityDmaintenanceMCP server that provides current weather and forecasts via Open-Meteo API, with an optional ML-based next-day max temperature prediction.-
- AlicenseNot gradedqualityDmaintenanceAn MCP server that wraps the Open-Meteo API to provide current weather, forecasts, and historical data for any location without requiring an API key.MIT
- FlicenseNot gradedqualityDmaintenanceA proof-of-concept MCP server that provides weather information using the Open-Meteo API, with tools for greeting, getting weather by coordinates, and by location name.-