AQICN MCP サーバー
これは、世界大気質指標(AQICN)プロジェクトの大気質データツールを提供するモデルコンテキストプロトコル(MCP)サーバーです。これにより、LLMは世界中の都市と座標のリアルタイム大気質データを取得できます。
インストール
Smithery経由でインストール
Smithery経由で Claude Desktop 用の AQICN MCP Server を自動的にインストールするには:
推奨UV(手動)によるインストール
Python 環境を管理するには、 uvを使用することをお勧めします。
環境設定
プロジェクト ルートに.env
ファイルを作成します ( .env.example
からコピーできます)。
あるいは、環境変数を直接設定することもできます。
サーバーの実行
開発モード
サーバーをテストおよびデバッグする最も速い方法は、MCP Inspector を使用することです。
クロードデスクトップ統合
サーバーの準備ができたら、Claude Desktop にインストールします。
直接実行
テストまたはカスタム展開の場合:
利用可能なツール
1. シティアキ
特定の都市の空気質データを取得します。
入力:
city
: 空気質データを取得する都市の名前
出力: AQIData
と次の内容:
aqi
:大気質指数値station
:駅名dominant_pollutant
: 主な汚染物質(存在する場合)time
: 測定のタイムスタンプcoordinates
:駅の緯度と経度
2. geo_aqi
座標を使用して特定の場所の空気質データを取得します。
入力:
latitude
: 場所の緯度longitude
: 場所の経度
出力: city_aqi
と同じ
3. 検索ステーション
キーワードで空気質監視ステーションを検索します。
入力:
keyword
:駅を検索するためのキーワード(都市名、駅名など)
**出力:**次の内容を含むStationInfo
のリスト:
name
:駅名station_id
: 一意の駅識別子coordinates
:駅の緯度と経度
使用例
MCP Python クライアントの使用:
貢献
お気軽に問題提起やプルリクエストを行ってください。変更には適切なテストとドキュメントが含まれていることをご確認ください。
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
モデル コンテキスト プロトコル (MCP) を介して、世界大気質指数とのやり取りを可能にし、世界中の都市と座標のリアルタイムの大気質データを取得します。
Related Resources
Related MCP Servers
- -securityFlicense-qualityProvides current weather and air quality data for any city using WeatherAPI, easily integrating with MCP clients like n8n and Claude Desktop App.Last updated -681JavaScript
- -securityFlicense-qualityAn India-focused MCP server that provides real-time weather conditions, forecasts, air quality data, and location search capabilities using the OpenWeatherMap API.Last updated -Python
- AsecurityAlicenseAqualityA Model Context Protocol implementation that enables LLMs to access real-time, forecasted, and historical U.S. air quality data through the AirNow API.Last updated -103TypeScriptMIT License
- -securityFlicense-qualityA MCP server that provides real-time weather information for any city through a simple tool that resolves geographic coordinates and fetches current weather data.Last updated -8TypeScript