nirholas avatar

UCAI

nirholas/ucai

Turns any verified smart contract into an MCP server that Claude can query and interact with. Point it at a contract address on Etherscan, and it generates a complete server with tools for every function and event in the ABI. The web builder at mcp.ucai.tech lets you preview contracts in the browser with a built-in security scanner that flags common risks like rug pulls and pause functions. Works with any EVM contract, from Uniswap routers to ERC-20 tokens to custom protocols. Each generated server includes read operations for state queries and event logs, plus scaffolding for write operations if you wire up a signer. Install via pip, generate with one command, add the server path to your Claude config, and start asking questions about on-chain state.

GitHub stars
33
tools
5
auth
Secret needed
transport
STDIO
env vars
3
last updated
Jan 5, 2026

Tools

5 tools

Public tool metadata for what this MCP can expose to an agent.

lookup_contractLook up a smart contract

Look up a smart contract

No parameter schema in public metadata yet.

get_token_by_contractToken metadata by contract

Token metadata by contract

No parameter schema in public metadata yet.

get_priceGet crypto prices

Get crypto prices

No parameter schema in public metadata yet.

search_coinsSearch coins

Search coins

No parameter schema in public metadata yet.

get_coin_detailCoin details

Coin details

No parameter schema in public metadata yet.

Sponsors

Configuration

WEB3_PROVIDER_URL

Ethereum JSON-RPC endpoint URL

ETHERSCAN_API_KEYsecret

Etherscan API key for fetching verified contract ABIs

PRIVATE_KEYsecret

Private key for signing transactions (write operations)

Readme

Universal Contract AI Interface

The ABI-to-MCP Server Generator

    ██╗   ██╗ ██████╗ █████╗ ██╗
    ██║   ██║██╔════╝██╔══██╗██║
    ██║   ██║██║     ███████║██║
    ██║   ██║██║     ██╔══██║██║
    ╚██████╔╝╚██████╗██║  ██║██║
     ╚═════╝  ╚═════╝╚═╝  ╚═╝╚═╝
                                
    Any contract. One command. Claude speaks it.

View the full README on GitHub

Details

Repository
github.com/nirholas/ucai
Package
abi-to-mcp
Transport
STDIO
Auth
Required
Registry
MCP registry, active

More from nirholas