Agents Sdk Telegram
A

Agents Sdk Telegram

A Telegram weather bot based on the OpenAI Agents SDK that provides real-time weather information for global cities through natural language queries, integrating the Open-Meteo API and MCP protocol for data interaction.
2.5 points
8.7K

What is an MCP server?

An MCP server is a tool that allows external applications to interact with models through a specific protocol. In this project, the MCP server provides a tool called 'get_weather' that can obtain real-time weather information for any city in the world.

How to use the MCP server?

You simply send a request to the MCP server, and it will call an external API (such as Open-Meteo) and return weather data. You can directly use these functions in the Telegram bot.

Applicable scenarios

This MCP server is very suitable for applications or services that need to quickly obtain weather information. For example, weather forecast applications, travel planning assistants, etc.

Main Features

Support multiple city queries
No matter where you are, you can easily query the weather conditions of any city.
Real-time data update
The MCP server regularly obtains the latest weather data from the Open-Meteo API.
Advantages
Simple to use, no complex settings required.
Open source and free, anyone can deploy their own version.
Integrates external APIs, powerful functionality without additional costs.
Limitations
Currently only supports weather query functionality.
Additional development and customization may be required for non-standard requirements.

How to Use

Install dependencies
Ensure that Python 3.11 or higher and the necessary dependency packages are installed in your environment.
Start the MCP server
Run the weather_mcp.py script to start the MCP server.
Test the tool
Try using the provided example commands to verify if the MCP server is working properly.

Usage Examples

Query the weather in Ubud
Demonstrate how to use the MCP server to query the weather in Ubud, Bali, Indonesia.
Query the weather in New York
Show how to obtain the detailed weather information of New York City, USA.

Frequently Asked Questions

Does the MCP server require an API key?
How to stop the MCP server?
Can other functions be added to the MCP server?

Related Resources

MCP server source code
View the complete implementation of the MCP server.
Open-Meteo API documentation
Learn how to use the free weather data provided by Open-Meteo.

Installation

Copy the following command to your Client for configuration
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

K
Klavis
Klavis AI is an open-source project that provides a simple and easy-to-use MCP (Model Context Protocol) service on Slack, Discord, and Web platforms. It includes various functions such as report generation, YouTube tools, and document conversion, supporting non-technical users and developers to use AI workflows.
TypeScript
8.8K
5 points
D
Devtools Debugger MCP
The Node.js Debugger MCP server provides complete debugging capabilities based on the Chrome DevTools protocol, including breakpoint setting, stepping execution, variable inspection, and expression evaluation.
TypeScript
5.5K
4 points
M
Mcpjungle
MCPJungle is a self-hosted MCP gateway used to centrally manage and proxy multiple MCP servers, providing a unified tool access interface for AI agents.
Go
0
4.5 points
N
Nexus
Nexus is an AI tool aggregation gateway that supports connecting multiple MCP servers and LLM providers, providing tool search, execution, and model routing functions through a unified endpoint, and supporting security authentication and rate limiting.
Rust
0
4 points
Z
Zen MCP Server
Zen MCP is a multi-model AI collaborative development server that provides enhanced workflow tools and cross-model context management for AI coding assistants such as Claude and Gemini CLI. It supports seamless collaboration of multiple AI models to complete development tasks such as code review, debugging, and refactoring, and can maintain the continuation of conversation context between different workflows.
Python
15.3K
5 points
O
Opendia
OpenDia is an open - source browser extension tool that allows AI models to directly control the user's browser, perform automated operations using existing login status, bookmarks and other data, support multiple browsers and AI models, and focus on privacy protection.
JavaScript
12.5K
5 points
N
Notte Browser
Certified
Notte is an open-source full-stack network AI agent framework that provides browser sessions, automated LLM-driven agents, web page observation and operation, credential management, etc. It aims to transform the Internet into an agent-friendly environment and reduce the cognitive burden of LLMs by describing website structures in natural language.
16.3K
4.5 points
B
Bing Search MCP
An MCP server for integrating Microsoft Bing Search API, supporting web page, news, and image search functions, providing network search capabilities for AI assistants.
Python
16.3K
4 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
23.8K
5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
15.7K
4.3 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
44.2K
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
15.9K
4.5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
20.3K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
46.1K
4.5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
16.0K
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
30.7K
4.8 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIBase