Skip to main content
Glama
tallackn

Agent MCP Weather Template

by tallackn

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 a get_forecast endpoint 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

  1. Install dependencies: pip install -r requirements.txt.

  2. Run the server locally: uvicorn server:app --host 0.0.0.0 --port 8000.

  3. Deploy to your own hosting platform (for example AWS Lambda or EC2).

  4. 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

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    An 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.
    1
    MIT
  • A
    license
    -
    quality
    B
    maintenance
    An 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
  • F
    license
    -
    quality
    C
    maintenance
    A 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.

View all related MCP servers

Related MCP Connectors

  • Open-Meteo MCP — weather forecast + historical reanalysis + sister APIs

  • OpenWeather MCP — wraps the OpenWeatherMap API (openweathermap.org)

  • WeatherAPI.com MCP — wraps WeatherAPI.com (api.weatherapi.com)

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tallackn/agent-mcp-template'

If you have feedback or need assistance with the MCP directory API, please join our Discord server