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
-
Ethereum Address Validator
- Validates Ethereum addresses including checksum verification
-
Gas Fee Estimator
- Gets current gas fees from Ethereum mainnet using public RPC
- Shows base fee and gas price in Gwei
-
Wallet Balance Checker
- Checks ETH balance of any Ethereum address
-
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
Metadata
Release files for mcp-blockchain 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mcp_blockchain-0.1.1.tar.gz | 84.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_blockchain-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 92.2 kB
Release files / mcp_blockchain-0.1.1.tar.gz
| Download URL | mcp_blockchain-0.1.1.tar.gz |
|---|---|
| Size | 84.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
19a282cb0f3a848b5ebc44903da9dcef881654f14b99cf43a3b73045e9115633
|
|
BLAKE2b-256 checksum How to use checksums |
6562d03fd44acd7cc042b61e17f82db7d1c836c53a3166d2d124b8abfa83f484
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.11
|
Release files / mcp_blockchain-0.1.1-py3-none-any.whl
| Download URL | mcp_blockchain-0.1.1-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a76b71d277b7a8533b46825c5bcf1f73487f443acd9c330c59efa9e49bdcaca3
|
|
BLAKE2b-256 checksum How to use checksums |
b9ea15803272ef4b82d579adcc4370dde31cd44a8b4715fddc5844cf336d86d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.11
|
Security for mcp-blockchain 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.