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.

评论

其他 分类下的更多 MCP 服务器