MCP Weather Server
@Hritik003
MCP Weather Server について
A simple MCP server for weather
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"weather": {
"command": "uv",
"args": [
"--directory",
"<path/to/weather>",
"run",
"weather"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is MCP Weather Server?
A lightweight Model Context Protocol (MCP) server designed for handling weather data, with a Command-Line Interface (CLI) client for interaction. This project demonstrates how to create and interact with an MCP server, focusing on weather-related information.
How to use MCP Weather Server?
Clone the repository, then start the server with uv --directory <path/to/weather> run weather in the Server directory, and start the client with uv run client.py <path/to/server.py> in the mcp-Client directory. Requires Python 3.12 or higher and asyncio; additional packages are listed in requirements.txt.
Key features of MCP Weather Server
- Modular MCP server for weather data handling
- CLI client for server interaction
- Asynchronous communication using asyncio
- Easy extensibility for additional commands or data formats
Use cases of MCP Weather Server
- Learning how to build and interact with an MCP server
- Demonstrating asynchronous client-server communication
- Experimenting with weather data handling via CLI
FAQ from MCP Weather Server
What is the MCP Weather Server?
It is a lightweight MCP server that handles weather data and includes a CLI client for interaction, designed to demonstrate creating and using an MCP server.
What are the system requirements?
Python 3.12 or higher and the asyncio library. Additional dependencies are listed in requirements.txt.
How do I start the server and client?
Start the server by running uv --directory <path/to/weather> run weather in the Server folder. Then start the client with uv run client.py <path/to/server.py> in the mcp-Client folder.
Can I extend the server with new commands?
Yes, the server is designed to be easily extensible to support additional commands or data formats.
「メディアとデザイン」の他のコンテンツ
MCP Google Map Server
cablateA powerful Model Context Protocol (MCP) server providing comprehensive Google Maps API integration with LLM processing capabilities.
MiniMax MCP
MiniMax-AIOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
MiniMax MCP JS
MiniMax-AIOfficial MiniMax Model Context Protocol (MCP) JavaScript implementation that provides seamless integration with MiniMax's powerful AI capabilities including image generation, video generation, text-to-speech, and voice cloning APIs.
YouTube Transcript MCP Server
jkawamotoMCP server retrieving transcripts of YouTube videos
Game Asset Generator using MCP and Hugging Face Spaces
MubarakHAlketbiAn MCP server for creating 2D/3D game assets from text using Hugging Face AI models.
コメント