What tools does MCP Server Python provide?
It provides two tools: `calculate_bmi` (calculates BMI from height and weight) and `fetch_weather` (retrieves weather for a given city, requiring an API key).
@jongkwang
基本情報
概要はまだありません
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"hello-mcp-server-python": {
"command": "python",
"args": [
"server.py"
]
}
}
}ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
MCP Server Python is a Python 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.
Install dependencies with pip install mcp httpx, then run the server using python server.py or mcp run server.py. Connect to Cursor by placing an mcp.json file in the project root, or to Claude for Desktop by running the server and adding it in the MCP settings.
calculate_bmi tool for BMI calculationfetch_weather tool for city weather lookupIt provides two tools: `calculate_bmi` (calculates BMI from height and weight) and `fetch_weather` (retrieves weather for a given city, requiring an API key).
You need Python 3.9 or higher, pip, httpx, and the MCP Python SDK (installed via `pip install mcp httpx`).
Create an `mcp.json` file in the project root with the command `mcp run /path/to/server.py`. Claude in Cursor will automatically recognize the tools.
Run the server with `python server.py`, then in Claude for Desktop settings go to the MCP server section and add the local server (configure URL/port as needed).
Yes. You must modify `server.py` to set your API key in the `fetch_weather` function before the weather tool works.

Handl speaks the Model Context Protocol. Your whole billing operation — projects, invoices, clients, reports, approvals — as tools any AI assistant can call, inside your autonomy rules.

Model Context Protocol Servers
YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,

The article (der, die, das) of 90,000 German nouns, compounds included, plus a checker that finds wrong articles in German text (“mit der Zug” → dem). Uses dictionary data, not AI guessing. Free, no login.
コメント