Mcp Weather Service Server

by Sunwood-ai-labs

5 stars
206 downloads
Not rated
GitHub

Description

<div align="center"> ![](aseets/header.svg) ## 🌦️ weather_service MCP サーバー </div> ## 🧩 コンポーネント ### 📚 リソース このサーバーは、シンプルなノート保存システムを実装しています: - カスタム note:// URIスキームで個別のノートにアクセス - 各ノートリソースには、名前、説明、text/plainのマイムタイプがあります ### 💡 プロンプト サーバーは単一のプロンプトを提供します: -…

About

<div align="center"> ![](aseets/header.svg) ## 🌦️ weather_service MCP サーバー </div> ## 🧩 コンポーネント ### 📚 リソース このサーバーは、シンプルなノート保存システムを実装しています: - カスタム note:// URIスキームで個別のノートにアクセス - 各ノートリソースには、名前、説明、text/plainのマイムタイプがあります ### 💡 プロンプト サーバーは単一のプロンプトを提供します: - summarize-notes:保存されている全てのノートの要約を作成 -…

Details

Author
Sunwood-ai-labs
GitHub stars
5
Downloads
206
Categories
Productivity, Other, Media

- Custom note:// URI scheme for accessing individual notes
- Each note resource has name, description, and text/plain MIME type
- summarize-notes prompt with optional style argument (brief/detailed)
- add-note tool that accepts name and content strings
- Server state updates and resource change notifications to clients

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Mcp Weather Service Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install and configure the server in your MCP client (e.g., Claude Desktop) by adding an entry to the client’s configuration file. For development, use uv with a local directory; for public use, use uvx with the package name. The server exposes a note resource, a summarize-notes prompt, and an add-note tool.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp weather service server": {
            "mcp-weather-service-server": {
                "command": "uv",
                "args": [
                    "sync"
                ]
            }
        }
    }
}

McpServers

{
    "mcp-weather-service-server": {
        "command": "uv",
        "args": [
            "sync"
        ]
    }
}

<div align="center">

🌦️ weather_service MCP サーバー

</div>

🧩 コンポーネント

📚 リソース

このサーバーは、シンプルなノート保存システムを実装しています:
- カスタム 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

<details>
<summary>開発/未公開サーバーの設定</summary>

  "mcpServers": {
"weather_service": {
"command": "uv",
"args": [
"--directory",
"C:\Prj\weather_service",
"run",
"weather_service"
]
}
}

</details>

<details>
<summary>公開サーバーの設定</summary>

  "mcpServers": {
"weather_service": {
"command": "uvx",
"args": [
"weather_service"
]
}
}

</details>

👨‍💻 開発

🏗️ ビルドと公開

パッケージを配布用に準備するには:

1. 依存関係を同期しロックファイルを更新:

uv sync

2. パッケージのディストリビューションをビルド:

uv build

これにより、dist/ディレクトリにソースとホイールのディストリビューションが作成されます。

3. 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を表示し、デバッグを開始できます。

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.