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.1.tar.gz (84.8 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.1-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_blockchain-0.1.1.tar.gz
  • Upload date:
  • Size: 84.8 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.1.tar.gz
Algorithm Hash digest
SHA256 19a282cb0f3a848b5ebc44903da9dcef881654f14b99cf43a3b73045e9115633
MD5 396e8bbbef319c30b51547d499eeeb4a
BLAKE2b-256 6562d03fd44acd7cc042b61e17f82db7d1c836c53a3166d2d124b8abfa83f484

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mcp_blockchain-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a76b71d277b7a8533b46825c5bcf1f73487f443acd9c330c59efa9e49bdcaca3
MD5 0579a2e357a183331cdfa35afe5574d9
BLAKE2b-256 b9ea15803272ef4b82d579adcc4370dde31cd44a8b4715fddc5844cf336d86d5

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