気象情報にアクセスするためのMCP拡張LLM
概要
このシステムは、モデル コンテキスト プロトコル (MCP) フレームワークを使用して、大規模言語モデル (LLM) に気象データ機能を拡張します。
Related MCP server: OpenWeatherMap MCP Server
デモ

コンポーネント
MCPクライアント: ストアLLms
MCP サーバー: 外部ツール/リソースを接続する中間エージェント
構成
DeepSeekプラットフォーム
BASE_URL=https://api.deepseek.com
MODEL=deepseek-chat
OPENAI_API_KEY=<your_api_key_here>オープンウェザープラットフォーム
OPENWEATHER_API_BASE=https://api.openweathermap.org/data/2.5/weather
USER_AGENT=weather-app/1.0
API_KEY=<your_openweather_api_key>インストールと実行
プロジェクトを初期化します:
uv init weather_mcp
cd weather_mcpここで、weather_mcp はプロジェクト ファイル名です。
依存関係をインストールします:
uv add mcp httpx発射システム:
cd ./utils
python client.py server.py注: すべての
<your_api_key_here>プレースホルダーを実際の API キーに置き換えてください。
This server cannot be installed
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.