Overview
what is mcp-server?
The mcp-server is a Python-based server example that provides functionalities for calculating BMI (Body Mass Index) and fetching current weather information for a specified city.
how to use mcp-server?
To use mcp-server, install the required dependencies and run the server. You can then call the provided functions to calculate BMI or fetch weather data.
key features of mcp-server?
- BMI Calculation: Calculates BMI based on weight in kilograms and height in meters.
- Weather Fetching: Retrieves current weather information for a given city.
use cases of mcp-server?
- Calculating BMI for health assessments.
- Providing real-time weather updates for applications.
FAQ from mcp-server?
- Can mcp-server calculate BMI for any weight and height?
Yes! It can calculate BMI for any valid weight and height inputs.
- How does mcp-server fetch weather data?
It uses an asynchronous HTTP client to fetch data from a weather API based on the city name provided.