hello-mcp-server-python

jongkwang/hello-mcp-server-python

3.1

If you are the rightful owner of hello-mcp-server-python 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.

A Python server example project using the Model Context Protocol.

This project is a server example that provides tools to LLMs such as Claude AI using the Model Context Protocol (MCP). It offers BMI calculation and weather information lookup functions. The server is designed to integrate with platforms like Cursor and Claude for Desktop, allowing users to leverage its functionalities seamlessly. The project is built on Python and requires the MCP Python SDK and httpx for asynchronous HTTP requests. It demonstrates how to set up a server that can interact with LLMs, providing useful tools like BMI calculation and weather data retrieval.

Features

  • calculate_bmi: Calculates BMI from height and weight inputs.
  • fetch_weather: Retrieves weather information for a given city name. (API key required)