mcp-server-examples
This project includes examples of Model Context Protocol (MCP) servers, implementing functionalities like BMI calculation and weather information retrieval.
The MCP Server Examples project demonstrates the implementation of a Model Context Protocol server with two primary functionalities: a BMI calculator and a weather information retriever. The project is structured to include a Python virtual environment, a server implementation file, and a configuration file. The server is designed to handle requests for calculating BMI based on height and weight inputs and to fetch weather information for a specified city. The project is set up to run in a development mode or be installed on platforms like Claude Desktop, showcasing the versatility and practical application of MCP technology.
Features
- BMI Calculator: Computes BMI using height and weight inputs.
- Weather Information Retrieval: Fetches current weather data for a specified city.
- Python Virtual Environment: Isolates project dependencies.
- Development and Installation Modes: Supports running in development mode or installation on platforms like Claude Desktop.
MCP Tools
- {'calculate_bmi': 'Tool for calculating BMI using height and weight inputs.'}
- {'fetch_weather': 'Tool for retrieving weather information for a specified city.'}
Usage with Different Platforms
development_mode
bash
# Run server in development mode
mcp dev server.py
claude_desktop_installation
bash
# Install server on Claude Desktop
mcp install server.py
Related MCP Servers
View all python servers →mcp-server-template
by narumiruna
The MCP Server Template is a foundational framework designed to facilitate the development and deployment of model context protocol servers, leveraging LLM and MCP technologies.
MCP-Github-Oauth
by Nikhil-Patil-RI
This document provides a guide to setting up a Model Context Protocol (MCP) server environment, specifically for integrating with the Claude desktop app and debugging using the MCP Inspector.
benchmark-proxy-mcp
by zengzhuozhen
The benchmark-proxy is an MCP server designed to facilitate the benchmarking of model context protocols, providing a robust environment for testing and evaluation.
binoculo-mcp
by girorme
BinoculoMCP is a Message Control Protocol (MCP) Server designed to interact with the Binoculo tool for banner-grabbing operations.
mcp-testing
by marhoy
This document provides an overview and usage instructions for a Model Context Protocol (MCP) server, which facilitates communication between models and clients using the MCP technology.