MCP.so
ログイン
E

Eth Price Current Server

@cluster3115

Eth Price Current Server について

A minimal Model Context Protocol (MCP) server that fetches the current Ethereum (ETH) price in USD.

基本情報

カテゴリ

その他

トランスポート

stdio

公開者

cluster3115

投稿者

cluster3115

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "eth-price": {
      "command": "/absolute/path/to/your/.venv/bin/python",
      "args": [
        "/absolute/path/to/your/repo/get_ETH_Price.py"
      ],
      "env": {
        "PYTHONUNBUFFERED": "1"
      }
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Eth Price Current Server?

A Model Context Protocol (MCP) server that fetches the current Ethereum price in USD from the public CoinGecko API. Designed for developers who want to integrate live ETH price data into MCP‑compatible applications.

How to use Eth Price Current Server?

Add a JSON configuration block to your client’s MCP settings, pointing to a Python interpreter and the get_ETH_Price.py script. The server then exposes a tool that returns the current ETH price (or -1.0 on error).

Key features

  • No API key required – uses CoinGecko’s free public endpoint
  • Returns current Ethereum price in USD
  • Error indicator (-1.0) when the request fails
  • Lightweight, single‑tool MCP server

Use cases

  • Embed live ETH price in chat or dashboard widgets
  • Trigger automated actions based on price thresholds
  • Provide current price data to LLM agents without extra API keys

FAQ from Eth Price Current Server

Do I need an API key?

No. The CoinGecko simple/price endpoint is public, although rate limits may apply.

Why do I get -1.0?

A value of -1.0 means the request failed. Display an error message without the number and retry later.

What are the runtime dependencies?

The server requires a Python 3 interpreter and the get_ETH_Price.py script – no additional packages or API keys beyond that.

コメント

「その他」の他のコンテンツ