Weather Service MCP Server
A simple note-saving system with a custom URI scheme, providing tools to add and summarize 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
👨💻 開発
🏗️ ビルドと公開
パッケージを配布用に準備するには:
- 依存関係を同期しロックファイルを更新:
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を表示し、デバッグを開始できます。
Related Servers
Dub.co
Interact with the Dub.co API to shorten links, manage custom domains, and track analytics.
Docmost
An open-source collaborative wiki and documentation software with AI integration via MCP.
Valkey AI Tasks
A task management system for AI agents that uses Valkey as its persistence layer.
Expense Tracker
Automated expense management with a Supabase backend and hierarchical category support.
MCP Todoist
Manage your tasks and projects with the Todoist API.
JIRA
Access and manage JIRA issues, projects, and users with optimized data payloads for AI context windows.
Microsoft 365
MCP server that connects to the whole Microsoft 365 suite (Microsoft Office, Outlook, Excel) using Graph API (including mail, files, calendar)
MCP Useful Assistant
A powerful MCP-based assistant with tools for file operations, web intelligence, system monitoring, data processing, and code analysis.
MCP Educational Tutor
An intelligent tutoring server that uses GitHub documentation repositories to provide structured educational prompts and tools.
Home Assistant MCP
An MCP integration for controlling Home Assistant devices with AI assistants.