Skip to main content
Glama
Nefino MCP Server

Nefino MCP Server

Official
by nefino

Nefino MCP サーバー

Nefino MCPサーバーは、大規模言語モデル(LLM)にドイツの再生可能エネルギープロジェクト、計画、発表に関するニュースや情報へのアクセスを提供するモデルコンテキストプロトコル(MCP)サーバーです。Nefino APIと統合することで、これらのデータへの構造化されたアクセスを提供します。

特徴

  • 特定の地理的位置のニュース項目を取得する

  • さまざまな再生可能エネルギーのトピック(太陽光、風力、水素など)でフィルタリングします

  • 日付範囲と最新性に基づくクエリの両方をサポート

  • 環境変数による安全な認証

  • 入力検証とエラー処理

  • 完全なMCP互換性

Related MCP server: LandiWetter MCP Server

インストール

前提条件

  • Python 3.10以上

  • Nefino API へのアクセス (資格情報が必要)

インストール

pip install git+https://github.com/nefino/mcp-nefino.git

構成

サーバーにはいくつかの環境変数を設定する必要があります。サーバー実行時に直接渡す必要があります。

NEFINO_USERNAME=your_username
NEFINO_PASSWORD=your_password
NEFINO_JWT_SECRET=your_jwt_secret
NEFINO_BASE_URL=http://api_endpoint

使用法

クロード・デスクトップ

  1. Claude Desktopをインストールする

  2. Claude Desktop 構成 (macOS の場合は~/Library/Application Support/Claude/claude_desktop_config.json 、Windows の場合は%APPDATA%\Claude\claude_desktop_config.json ) に以下を追加します。

{
  "mcpServers": {
    "nefino": {
      "command": "python",
      "args": ["-m", "mcp_nefino"],
      "env": {
        "NEFINO_USERNAME": "your_username",
        "NEFINO_PASSWORD": "your_password",
        "NEFINO_JWT_SECRET": "your_jwt_secret",
        "NEFINO_BASE_URL": "http://api_endpoint"
      }
    }
  }
}
  1. Claudeデスクトップを再起動します

直接使用

サーバーを直接実行することもできます。

python -m mcp_nefino

利用可能なツール

場所のニュースアイテムを取得する

さまざまなフィルタリング オプションを使用して、特定の場所のニュース項目を取得します。

パラメータ:

  • place_id (文字列): 場所のID

  • place_type (列挙型): 場所の種類 (PR、CTY、AU、LAU)

  • range_or_recency (列挙型、オプション):RANGEまたはRECENCY

  • last_n_days (整数、オプション): 遡る日数 (RECENCY モードの場合)

  • date_range_begin (文字列、オプション): YYYY-MM-DD 形式の開始日 (RANGE モードの場合)

  • date_range_end (文字列、オプション): YYYY-MM-DD形式の終了日(RANGEモードの場合)

  • news_topics (列挙型のリスト、オプション):フィルタリングするトピック(BATTERY_STORAGE、GRID_EXPANSION、SOLAR、HYDROGEN、WIND)

Claude 経由のクエリの例:

Get renewable energy news for administrative unit DE9_AU0213 from January to June 2024, focusing on solar projects.

発達

MCP インスペクターを使用して開発モードで実行するには:

mcp dev -m mcp_nefino

エラー処理

サーバーは次の項目について検証を実行します。

  • 日付形式 (YYYY-MM-DD)

  • 日付範囲の有効性

  • RANGEモードとRECENCYモードのパラメータの組み合わせ

  • API 認証情報と接続

  • ニューストピックの妥当性

すべてのエラーは、問題の診断に役立つ説明メッセージとともに返されます。

ライセンス

[ライセンスの種類 - 例:MIT] - 詳細についてはLICENSEファイルを参照してください

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Provides access to Deutsche Bahn train timetables, station information, and schedule changes through Model Context Protocol tools and resources.
      4
      69 npm
      17
      MIT
    • A
      license
      D
      quality
      F
      maintenance
      Provides Swiss weather forecast data, allowing users to search for Swiss locations and get detailed hourly and daily weather forecasts.
      2
      2
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Search and retrieve news articles and trending keywords from Google News and Google Trends. Summarize articles and extract keywords using optional NLP and LLM Sampling to get concise insights.
      5
      208 PyPI
      89
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Provides access to Dutch weather data (current conditions, forecasts, alerts, and historical data) via the KNMI API, with automatic location name resolution for Dutch cities.
      1
      15 npm
      1
      Apache 2.0