mcp-client-x

mcp-client-x

3.5

If you are the rightful owner of mcp-client-x 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.

This project demonstrates a simple client-server implementation using the Model Context Protocol (MCP), which is a standardized way to connect large language models with tools and data.

The MCP Client Example project provides a practical demonstration of implementing a client-server architecture using the Model Context Protocol (MCP). It showcases how to set up an MCP server with custom tools and connect to it using an MCP client. The server in this example exposes two tools: a BMI calculator and a weather data fetcher. The client connects to the server via stdio, initializes a session, and interacts with these tools to retrieve responses. The project is structured with separate directories for the client and server implementations, and it includes a tutorial video for further guidance. The example is designed to be run with Python 3.9+ and uses the 'uv' package manager for dependency management.

Features

  • Custom MCP server with tool integration
  • Client-server communication via stdio
  • BMI calculation tool
  • Weather data retrieval tool
  • Tutorial video for implementation guidance

Tools

  1. calculate_bmi

    Simple calculator for calculating body mass index (BMI)

  2. fetch_weather

    Asynchronous tool for getting weather data from external API