Sharul-repo/FastMCP-OpenAI-Agent-SDK-powered-assistant-
If you are the rightful owner of FastMCP-OpenAI-Agent-SDK-powered-assistant- 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.
The MCP Weather Assistant is an AI-driven tool that provides live weather data by leveraging an MCP server built with FastMCP and the OpenAI Agent SDK.
🌦️ MCP Weather Assistant
An AI agent that fetches live weather data using an MCP server built with FastMCP and the OpenAI Agent SDK.
This project demonstrates how LLMs/Agents can interact with external tools/APIs through MCP.
🚀 Features
-
✅ MCP server built with FastMCP
-
✅ Weather API integration
-
✅ AI Agent powered by OpenAI Agent SDK
-
✅ Asynchronous execution with httpx + asyncio
-
🔜 Future: Web Search tool integration for internet access
🛠️ Tech Stack
- FastMCP → Build Model Context Protocol servers easily.
- OpenAI Agent SDK → Create agents that can use MCP tools.
- OpenRouter → Access LLMs through OpenRouter API.
- httpx → Async HTTP client for API requests.
- Python (asyncio) → Non-blocking async runtime.
📚 What I Learned
- Building MCP servers that expose external APIs as tools.
- Integrating MCP with OpenAI Agent SDK.
- Designing structured responses for LLM consumption.
- Managing async workflows in Python for better performance.
⚙️ Setup & Installation
- Clone the repository
git clone https://github.com/Sharul-repo/FastMCP-OpenAI-Agent-SDK-powered-assistant-.git
# Install dependencies using uv (reads pyproject.toml + uv.lock)
uv sync
# Run your app
uv run server.py
#on a different terminal run your clint (make sure you paste the same MCP server link in the client code)
uv run agentclient.py