agents-sdk-telegram

agents-sdk-telegram

3.3

If you are the rightful owner of agents-sdk-telegram 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.

A Telegram bot that provides real-time weather information using OpenAI's Agents SDK and Model Context Protocol (MCP).

The Weather Bot with OpenAI Agents SDK is a Telegram bot designed to deliver real-time weather updates for cities worldwide. It leverages the power of the GPT-4o-mini model to process natural language queries, allowing users to interact with the bot in a conversational manner. The bot integrates with the Open-Meteo API to fetch current weather conditions without requiring an API key. The implementation includes a simple MCP server to handle weather data retrieval, making it a robust solution for users seeking quick and accurate weather information. The bot is built using Python 3.11+, and it utilizes the OpenAI Agents SDK, Model Context Protocol (MCP), and the python-telegram-bot library to ensure seamless operation and user-friendly interaction.

Features

  • Real-time weather data using Open-Meteo API
  • Natural language processing with OpenAI Agents SDK (GPT-4o-mini)
  • Simple MCP server implementation for weather data retrieval
  • Telegram-native message formatting
  • Easy-to-use interface with simple weather queries

Tools

  1. get_weather

    A tool to fetch current weather conditions using the Open-Meteo API.