MCP Client & Server Example
@xiaoye-hua
MCP Client & Server Example について
概要はまだありません
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp_server_client_example": {
"command": "uv",
"args": [
"venv"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is MCP Client & Server Example?
MCP Client & Server Example is a reference implementation of a Model Context Protocol (MCP) client and server that provides weather data using the National Weather Service API and integrates with Claude AI. It is intended for developers learning MCP or building AI-powered weather tools.
How to use MCP Client & Server Example?
Clone the repository, install uv (Python package installer), create a virtual environment, install dependencies with uv pip install -e ., copy .env.example to .env, paste your Anthropic API key, then run the server or client scripts (e.g., weather_server.py, client_example.py).
Key features of MCP Client & Server Example
- MCP server with weather service endpoints
- Interactive client with Claude AI integration
- Uses the National Weather Service API
- Python 3.12+ and
uvbased - Minimal setup with
.envfor API key
Use cases of MCP Client & Server Example
- Learning how to implement an MCP client and server
- Prototyping a weather chatbot powered by Claude AI
- Demonstrating MCP integration with external APIs
FAQ from MCP Client & Server Example
What Python version is required?
Python 3.12 or higher is required.
What dependencies are needed?
uv (Python package installer) and an Anthropic API key stored in a .env file.
How do I install the project?
Clone the repository, run uv venv to create a virtual environment, activate it, then run uv pip install -e . to install all dependencies.
What data does the server use?
The server uses the National Weather Service API to provide weather data.
What is the project structure?
It includes weather_server.py (MCP server), client_example.py (interactive client with Claude), and weather_example.py (example using the National Weather Service).
「その他」の他のコンテンツ
Codelf
unbugA search tool helps dev to solve the naming things problem.
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis 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,
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
コメント