Skip to main content
Glama

Nefino MCP Server

Official
by nefino

Nefino MCP サーバー

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

特徴

  • 特定の地理的位置のニュース項目を取得する
  • さまざまな再生可能エネルギーのトピック(太陽光、風力、水素など)でフィルタリングします
  • 日付範囲と最新性に基づくクエリの両方をサポート
  • 環境変数による安全な認証
  • 入力検証とエラー処理
  • 完全なMCP互換性

インストール

前提条件

  • 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ファイルを参照してください

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

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.

ドイツの再生可能エネルギー プロジェクトに関するニュースや情報へのアクセスを大規模な言語モデルに提供し、場所、トピック (太陽光、風力、水素)、日付範囲によるフィルタリングを可能にします。

  1. 特徴
    1. インストール
      1. 前提条件
      2. インストール
    2. 構成
      1. 使用法
        1. クロード・デスクトップ
        2. 直接使用
      2. 利用可能なツール
        1. 場所のニュースアイテムを取得する
      3. 発達
        1. エラー処理
          1. ライセンス

            Related MCP Servers

            • -
              security
              F
              license
              -
              quality
              This server provides an API to query Large Language Models using context from local files, supporting various models and file types for context-aware responses.
              Last updated -
              1
              TypeScript
            • -
              security
              A
              license
              -
              quality
              Enables Large Language Models to retrieve Jewish texts and commentaries from the Sefaria library through a standardized interface.
              Last updated -
              Python
              MIT License
              • Linux
              • Apple
            • -
              security
              -
              license
              -
              quality
              Provides a Model Context Protocol server that enables large language models to query and retrieve real-time weather forecasts for cities and regions across China.
              Last updated -
              Python
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that enables large language models to access the latest trending news headlines and detailed content across various categories including recommended, domestic, technology, and sports news.
              Last updated -
              Python
              • Apple

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/nefino/mcp-nefino'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server