What is Sunwood Ai Labs MCP Weather Service Server?
Sunwood Ai Labs MCP Weather Service Server is a simple note-saving system that allows users to manage and summarize notes related to weather data.
How to use Sunwood Ai Labs MCP Weather Service Server?
To use the server, you can install it on your system and access it via a custom note URI scheme. You can add notes and summarize them using the provided prompt.
Key features of Sunwood Ai Labs MCP Weather Service Server?
- Custom note URI scheme for accessing individual notes.
- Summarization of all stored notes with adjustable detail levels.
- Ability to add new notes with specific content and names.
Use cases of Sunwood Ai Labs MCP Weather Service Server?
- Storing and summarizing weather-related notes.
- Managing personal weather observations and insights.
- Collaborating on weather data analysis with shared notes.
FAQ from Sunwood Ai Labs MCP Weather Service Server?
- Can I access my notes from different devices?
Yes! As long as you have the server set up, you can access your notes from any device connected to it.
- Is there a limit to the number of notes I can create?
No, you can create as many notes as your storage allows.
- How do I summarize my notes?
Use the 'summarize-notes' prompt to generate a summary of all your notes.
🌦️ weather_service MCP サーバー
🧩 コンポーネント
📚 リソース
このサーバーは、シンプルなノート保存システムを実装しています:
- カスタム note:// URIスキームで個別のノートにアクセス
- 各ノートリソースには、名前、説明、text/plainのマイムタイプがあります
💡 プロンプト
サーバーは単一のプロンプトを提供します:
- summarize-notes:保存されている全てのノートの要約を作成
- オプションの"style"引数で詳細レベルを制御(brief/detailed)
- 全ての現在のノートとスタイル設定を組み合わせてプロンプトを生成
🛠️ ツール
サーバーは1つのツールを実装しています:
- add-note:新しいノートをサーバーに追加
- "name"と"content"を必須の文字列引数として受け取り
- サーバーの状態を更新し、リソースの変更をクライアントに通知
🚀 クイックスタート
📥 インストール
Claude Desktop
MacOSの場合: ~/Library/Application\ Support/Claude/claude_desktop_config.json
Windowsの場合: %APPDATA%/Claude/claude_desktop_config.json
開発/未公開サーバーの設定
``` "mcpServers": { "weather_service": { "command": "uv", "args": [ "--directory", "C:\Prj\weather_service", "run", "weather_service" ] } } ```公開サーバーの設定
``` "mcpServers": { "weather_service": { "command": "uvx", "args": [ "weather_service" ] } } ```👨💻 開発
🏗️ ビルドと公開
パッケージを配布用に準備するには:
- 依存関係を同期しロックファイルを更新:
uv sync
- パッケージのディストリビューションをビルド:
uv build
これにより、dist/
ディレクトリにソースとホイールのディストリビューションが作成されます。
- PyPIに公開:
uv publish
注意:PyPIの認証情報は環境変数またはコマンドフラグで設定する必要があります:
- トークン:
--token
またはUV_PUBLISH_TOKEN
- またはユーザー名/パスワード:
--username
/UV_PUBLISH_USERNAME
と--password
/UV_PUBLISH_PASSWORD
🔍 デバッグ
MCPサーバーはstdioを介して実行されるため、デバッグが難しい場合があります。最適なデバッグ体験のために、MCP Inspectorの使用を強く推奨します。
npm
を使用して、次のコマンドでMCP Inspectorを起動できます:
npx @modelcontextprotocol/inspector uv --directory C:\Prj\weather_service run weather-service
起動時、InspectorはブラウザでアクセスできるURLを表示し、デバッグを開始できます。