ergo-mcp

The Ergo MCP repository provides a Model Context Protocol server for interacting with the Ergo blockchain, offering tools for exploring blocks, transactions, network statistics, and token price information.

1
2

Ergo MCP

A Model Context Protocol (MCP) server for interacting with the Ergo blockchain, providing tools for exploring blocks, transactions, addresses, and other aspects of the Ergo blockchain.

Features

  • Block exploration: retrieve blocks by height or hash, get latest blocks.
  • Network statistics: blockchain stats, hashrate, mining difficulty.
  • Mempool information: pending transactions status and statistics.
  • Token price information: get token prices from DEXes.

Installation

Installation instructions are provided for using a virtual environment (recommended), system-wide pip installation, and installation from source.

Usage

The MCP server can be run as a Python module or a command-line tool. Configuration is possible via environment variables in a .env file, including SERVER_HOST, SERVER_PORT, SERVER_WORKERS, ERGO_NODE_API, and ERGO_NODE_API_KEY. Configuration examples for Claude.app are also provided. API documentation is available at http://localhost:3001/docs after the server is running.

Development

Instructions for setting up a development environment are provided, including cloning the repository, creating a virtual environment, and installing development dependencies. The project includes a comprehensive test suite, which can be run using pytest or the provided test runner script.

License

This project is licensed under the MIT License.

Repository

MA
marctheshark3

marctheshark3/ergo-mcp

Created

March 7, 2025

Updated

March 20, 2025

Language

Python

Category

Developer Tools