Skip to main content

A production-grade blockchain server built using MCP (Model Context Protocol)

Project description

MCP Blockchain

A production-grade blockchain server built using MCP (Model Context Protocol).

Features

  • Ethereum Address Validator
  • Gas Fee Estimator (Public RPC)
  • Wallet Balance Checker
  • Smart Contract Ownership Checker

Installation

uvx mcp-blockchain

Usage

After installation, you can use the MCP Blockchain server with Claude for Desktop or any other MCP client.

Configuration

Add the following to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):

{
    "mcpServers": {
        "blockchain-tools": {
            "command": "mcp-blockchain"
        }
    }
}

Available Tools

  1. Ethereum Address Validator

    • Validates Ethereum addresses including checksum verification
  2. Gas Fee Estimator

    • Gets current gas fees from Ethereum mainnet using public RPC
    • Shows base fee and gas price in Gwei
  3. Wallet Balance Checker

    • Checks ETH balance of any Ethereum address
  4. Smart Contract Ownership Checker

    • Verifies if a contract implements the Ownable interface
    • Retrieves the owner address if available

Development

# Clone the repository
git clone https://github.com/rjn32s/mcp-blockchain.git
cd mcp-blockchain

# Create virtual environment
uv venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate

# Install development dependencies
uv add -e .

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_blockchain-0.1.0.tar.gz (84.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_blockchain-0.1.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file mcp_blockchain-0.1.0.tar.gz.

File metadata

  • Download URL: mcp_blockchain-0.1.0.tar.gz
  • Upload date:
  • Size: 84.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for mcp_blockchain-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5d0f315fb61e1b6779ee3fd109f54efe089604baa27f0e082c4f807273f766a4
MD5 759fc390724a8d55698e787f2299cb01
BLAKE2b-256 b77ffe3ebbff1f1d9fb5f83ca9cca77fd1875a12ebd7f130e1765c57b5f295ef

See more details on using hashes here.

File details

Details for the file mcp_blockchain-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mcp_blockchain-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for mcp_blockchain-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c54e3254aff86506d4ddc087d625976f4db0ab5636570384ad27a5ace8bf4ec4
MD5 fb83f1a56c521acabd775c21dab457e9
BLAKE2b-256 0d54493e78a3b1efd6d1d4ece14cd2fdd31e992d817f88f7130e9257431572fd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page