Weather Service Application
@DaliGabriel
Weather Service Application について
A real example of a custom cliente Tona mcp custom server
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"Custom-cliente-mcp": {
"command": "uv",
"args": [
"venv"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Weather Service Application?
A simple weather service that retrieves current weather information using the National Weather Service API. It is designed for developers using the Model Context Protocol (MCP) to integrate live weather data into their applications.
How to use Weather Service Application?
Set up a Python 3.10+ environment with the uv package manager, then run the server script (server.py) in one terminal and the client script (client.py .\server.py) in another. Once both are running, submit latitude and longitude coordinates to receive current weather conditions.
Key features of Weather Service Application?
- Retrieves weather via the National Weather Service API
- Client-server architecture using the MCP protocol
- Setup with Python 3.10+ and
uvpackage manager - Simple command-line interface for queries
- Lightweight and no external API keys required
Use cases of Weather Service Application?
- Get current weather conditions for a specific latitude/longitude
- Integrate real-time weather data into MCP‑based applications
- Build weather query tools for developers or end users
- Demonstrate a basic MCP server‑client interaction pattern
FAQ from Weather Service Application
What are the prerequisites?
Python 3.10 or higher and the uv package manager are required.
How do I set up the server?
Clone the repository, run uv venv to create a virtual environment, activate it, and then start the server with uv run .\server.py.
How do I run the client?
Open a separate terminal, activate the virtual environment, and execute uv run .\client.py .\server.py – both scripts must run concurrently.
What API does the server use?
It uses the National Weather Service API to fetch current weather data. No authentication or API key is needed.
Where does the weather data come from?
Data is retrieved live from the National Weather Service (weather.gov). No data is stored locally.
「メディアとデザイン」の他のコンテンツ
Spotify MCP Server
marcelmaraisLightweight MCP server for Spotify
NS Travel Information MCP Server
r-huijtsA Model Context Protocol (MCP) server that provides access to NS (Dutch Railways) travel information through Claude AI. This server enables Claude to fetch real-time train travel information and disruptions using the official Dutch NS API.
Figma MCP Server
thirdstrandstudioFigma MCP Server with full API functionality
yt-dlp-mcp
kevinwattA Model Context Protocol (MCP) server that bridges Video & Audio content with Large Language Models using yt-dlp.
Image-Gen-Server
fengin一个能与Cursor集成的图片生成mcp server工具,实现调用即梦逆向接口
コメント