hello-mcp-server-python

hello-mcp-server-python

0

This project is a Python server example utilizing the Model Context Protocol to provide tools like BMI calculation and weather lookup to language models such as Claude AI. It is based on the MCP Python SDK and requires Python 3.9 or higher.

Overview

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.

Features

  • Calculate BMI from height and weight inputs
  • Retrieve weather information for a given city name (API key required)

Installation

  • Clone the repository and install necessary packages

Prerequisites

  • Python 3.9 or higher
  • pip or pip3
  • HTTPx
  • MCP Python SDK