Eth Price Current Server

by cluster3115

247 downloads
Not rated
GitHub

About

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

Details

Author
cluster3115
Downloads
247
Categories
Other

- 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

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Eth Price Current Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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).

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

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

Installation

Different clients require a JSON config file pointing to the Python interpreter and script.

Add:

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

FAQ

Q: Do I need an API key?
A: No. CoinGecko’s simple/price endpoint is public, but may have rate limits.

Q: Why do I get -1.0?
A: This means the request failed. Show an error message without numbers and retry later.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.