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.

DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.

A free remote MCP server for The Living Bread. Bible passages read word for word from a stored public domain text with an evidence label, keyword search and cross references, real churches, gatherings and prayer groups w
Open-source MCP to use Blender with any LLM

Couples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep

Yuppsy MCP: build and publish real estate websites from your AI assistant. Yuppsy lets your AI assistant create live websites for real estate agents and individual property listings. You don't need a designer or any code
评论