Weather MCP server with Telegram bot

Weather MCP server with Telegram bot

agents-sdk-telegram•byesakrissa

A Telegram bot project that includes a simple MCP server exposing a get_weather tool backed by the Open-Meteo API, with weather queries processed via OpenAI's Agents SDK.

License: MIT•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Implements a simple MCP server that provides a get_weather tool.
  • •Fetches real-time weather data using the Open-Meteo API without requiring an API key.
  • •Processes natural language weather queries with OpenAI's Agents SDK using the GPT-4o-mini model.
  • •Demonstrates creating custom MCP tools and handling tool requests and responses.

BEST FOR

  • •Developers learning how to build a custom MCP tool that wraps an external weather API.
  • •Users wanting to query current weather for cities worldwide in natural language via Telegram.

ABOUT AGENTS-SDK-TELEGRAM

Weather MCP server with Telegram bot is cataloged as an MCP server attributed to esakrissa. A Telegram bot project that includes a simple MCP server exposing a get_weather tool backed by the Open-Meteo API, with weather queries processed via OpenAI's Agents SDK. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Weather MCP server with Telegram bot are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What weather information does the bot return?

It responds with current weather conditions including temperature, weather conditions, and wind speed.

Does using the weather API require an API key?

The Open-Meteo API is used and requires no API key.

Upstream README

View this exact version on GitHub

README.md · 7bb452bae0e2 · Fetched 2026-11-13 14:05:23 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Weather Bot with OpenAI Agents SDK

A Telegram bot that provides real-time weather information using OpenAI's Agents SDK and Model Context Protocol (MCP). The bot can fetch current weather conditions for cities worldwide using natural language queries, powered by GPT-4o-mini model.

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

Technology Stack

  • Python 3.11+
  • OpenAI Agents SDK
  • Model Context Protocol (MCP)
  • python-telegram-bot
  • Open-Meteo API (no API key required)

Quick Start

  1. Clone the repository:
git clone https://github.com/esakrissa/agents-sdk-telegram.git
cd agents-sdk-telegram
  1. Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Create a .env file in the project root:
TELEGRAM_BOT_TOKEN=your_bot_token_here
OPENAI_API_KEY=your_openai_api_key_here
  1. Run the bot:
python main.py

Usage

Simply send a message to the bot asking about weather in any city:

what's the weather in Ubud?

The bot will respond with current weather conditions including:

  • Temperature
  • Weather conditions
  • Wind speed

Architecture

OpenAI Agents SDK Integration

The bot uses OpenAI's Agents SDK with GPT-4o-mini model to process natural language queries and generate human-like responses. The Agent is configured with specific instructions for handling weather-related queries and maintaining conversation context.

Model Context Protocol (MCP)

The project implements a simple MCP server (weather_mcp.py) that provides the get_weather tool. This demonstrates how to:

  • Create custom MCP tools
  • Handle tool requests and responses
  • Integrate external APIs (Open-Meteo) with MCP

License

MIT © Esa Krissa

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Weather MCP server with Telegram bot from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/agents-sdk-telegram)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research