Feedback

MCP Client Example ☀️ (MCP client)

@dev-mahfuj80 Claim

Basic information

Runtime
python
Category
License
Not specified
Author
dev-mahfuj80
Submitted by
Community
Quality
10

About MCP Client Example ☀️ (MCP client)

MCP CLIENT using python sdk.

MCP Client Example ☀️ is a MCP client in the Agent Framework category listed in the AddMCP.net directory, published by dev-mahfuj80. Runtime: python. Source code is hosted on github.com.

MCP Client Example ☀️ (MCP client) config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

MCP Client Example ☀️ (MCP client) tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP Client Example ☀️?

MCP Client Example ☀️ is a demonstration project that implements a simple client-server application using the Model Context Protocol (MCP). It runs on Python 3.9+ and is intended for developers learning how to connect large language models with external tools and data.

How to use MCP Client Example ☀️?

Install Python 3.9+ and uv, then run uv install -e . followed by uv run src/client/mcp_client.py. The client automatically starts the server via stdio, lists available tools, and calls sample tools (BMI calculator and weather fetcher). The project can also be tested with MCP Inspector by running mcp dev src/server/example_server.py and visiting http://localhost:5173.

Key features of MCP Client Example ☀️

  • Implements a standard MCP client-server architecture
  • Includes two ready-to-use example tools: calculate_bmi and fetch_weather
  • Connects to the server via stdio and initializes an MCP session
  • Demonstrates both synchronous and asynchronous tool calls
  • Provides a tutorial video and MCP Inspector integration
  • Licensed under the MIT License

Use cases of MCP Client Example ☀️

  • Learning how to build MCP servers and clients from scratch
  • Prototyping custom tool integrations for large language models
  • Understanding the MCP protocol flow (connect, list tools, call tools)

Frequently asked questions

1 What is the Model Context Protocol?

MCP is a standardized way to connect large language models with tools and data.

2 What tools are included in the example server?

The server exposes two tools: calculate_bmi (calculates Body Mass Index) and fetch_weather (retrieves weather data from an external API).

3 What are the prerequisites to run this project?

Python 3.9+ and uv (Python package manager) are required.

4 How do I run the example client?

Execute uv run src/client/mcp_client.py after installing dependencies with uv install -e ..

5 What is the license for this project?

The project is licensed under the MIT License.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬