Content
# 🧠 OpenAI MCP BMI Tool – Client & Server Demo
This project demonstrates how to build a simple MCP (Model Context Protocol) client and server using OpenAI's `openai` Python SDK and the `mcp` package. We expose a BMI calculator tool via the server and use an LLM-powered client to discover and invoke the tool based on natural language queries.
---
## 📽️ Demo Video
Watch the full tutorial: **[How to Build an OpenAI MCP Client and Server](#)**
_(https://www.youtube.com/watch?v=hMHYhRcd_Uo)_
---
## 🚀 Features
- ✅ Lightweight MCP Server using `FastMCP`
- ✅ BMI calculation exposed as a tool
- ✅ OpenAI GPT-4o model used to intelligently select tools and arguments
- ✅ STDIO-based client-server communication
- ✅ JSON-based tool calling flow using natural language
Connection Info
You Might Also Like
ScienceClaw
🔬🦞 A self-evolving AI research colleague for scientists. 285 skills, 25+...
ScienceClaw
ScienceClaw is a personal research assistant built with LangChain DeepAgents...
garmin-connect-mcp
MCP server for Garmin Connect — access 61 health, fitness and activity tools...
garmin-givemydata
It's YOUR data. Take it back. Get your Garmin Connect health data into a...
arifOS
ArifOS — AAA MCP-governed constitutional kernel for AI agents.
forgemax
Code Mode inspired local sandboxed MCP Gateway — collapses N servers x M...