Weather Bot with OpenAI Agents SDK
@esakrissa
关于 Weather Bot with OpenAI Agents SDK
Telegram bot using OpenAI Agents SDK and MCP Server.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"agents-sdk-telegram": {
"command": "python",
"args": [
"-m",
"venv",
"venv"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is 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). It processes natural language queries to fetch current weather conditions for cities worldwide, powered by GPT-4o-mini and the Open-Meteo API. Designed for users who want conversational weather updates through Telegram.
How to use Weather Bot with OpenAI Agents SDK?
Clone the repository, set up a Python 3.11+ virtual environment, install dependencies, and create a .env file with your Telegram bot token and OpenAI API key. Run python main.py then send a message like "what's the weather in Ubud?" to the bot on Telegram. The bot replies with temperature, conditions, and wind speed.
Key features of Weather Bot with OpenAI Agents SDK
- Real-time weather via Open-Meteo API (no key required)
- Natural language processing with GPT-4o-mini
- Simple MCP server for weather data retrieval
- Telegram-native message formatting
- Easy-to-use interface with plain text queries
Use cases of Weather Bot with OpenAI Agents SDK
- Quickly check current weather in any city via Telegram
- Integrate weather lookups into a conversational AI agent
- Demonstrate MCP server integration with OpenAI Agents SDK
- Provide weather information without external API keys (Open-Meteo)
FAQ from Weather Bot with OpenAI Agents SDK
Does it require an API key for weather data?
No. The bot uses the Open-Meteo API, which does not require an API key.
What are the runtime requirements?
Python 3.11+, an OpenAI API key (for GPT-4o-mini), and a Telegram bot token from BotFather.
Where does the bot run?
Locally on your machine or server after installation. The MCP server runs as part of the bot process.
How does the bot understand natural language?
It uses OpenAI's Agents SDK with the GPT-4o-mini model to process queries and generate responses.
What transport or authentication is used?
The bot uses the Telegram API (HTTPS) and the OpenAI API (HTTPS with key). The MCP server runs locally without external transport.
开发工具 分类下的更多 MCP 服务器
test
cloudwegoThe ultimate LLM/AI application development framework in Go.
DevDocs by CyberAGI 🚀
cyberagiincCompletely free, private, UI based Tech Documentation MCP server. Designed for coders and software developers in mind. Easily integrate into Cursor, Windsurf, Cline, Roo Code, Claude Desktop App
Unity MCP (Server + Plugin)
IvanMurzakAI Skills, MCP Tools, and CLI for Unity Engine. Full AI develop and test loop. Use cli for quick setup. Efficient token usage, advanced tools. Any C# method may be turned into a tool by a single line. Works with Claude Code, Gemini, Copilot, Cursor and any other absolutely for fr
MCP Unity Editor (Game Engine)
CoderGamesterModel Context Protocol (MCP) plugin to connect with Unity Editor — designed for Cursor, Claude Code, Codex, Windsurf and other IDEs
Hello World MCP Server (Reference Extension)
anthropicsDesktop Extensions: One-click local MCP server installation in desktop apps
评论