Celo MCP Server

v0.4.3
org.celo/celo-mcp Checked 2 days ago Published 1 month ago

Query Celo blockchain data: blocks, tokens, NFTs, contracts, governance and staking

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_network_status

Retrieve the current status and connection information of the Celo network, including network health and connectivity details.

get_block

Fetch detailed information about a specific block on the Celo blockchain using its number or hash. Optionally include full transaction details within the block.

ParameterTypeDescription
block_identifier *string | integerThe unique identifier for the block, which can be a block number, hash, or the keyword 'latest' to get the most recent block.
include_transactionsbooleanFlag to determine whether to include detailed transaction information for each transaction in the block.

get_transaction

Obtain detailed information about a specific transaction on the Celo blockchain using its transaction hash.

ParameterTypeDescription
tx_hash *stringThe unique hash of the transaction to retrieve details for.

get_latest_blocks

Get information about the most recent blocks on the Celo blockchain, with the ability to specify the number of blocks to retrieve and starting offset.

ParameterTypeDescription
countintegerThe number of latest blocks to retrieve information for, with a default of 10 and a maximum of 100.
offsetintegerNumber of blocks to skip from the latest block. For example, offset=0 gets the very latest blocks, offset=10 gets blocks starting from 10 blocks ago.

get_token_balance

Get the token balance for a specific address.

ParameterTypeDescription
address *stringThe address to check the balance for.
token_address *stringThe contract address of the token.

get_celo_balances

Get CELO and stable token balances for an address.

ParameterTypeDescription
address *stringThe address to check balances for.

get_stable_token_balance

Get balances of all major stable tokens and CELO for an address using multicall.

ParameterTypeDescription
address *stringThe address to check token balances for.

get_gas_fee_data

Get current gas fee data including EIP-1559 fees.

get_governance_proposals

Get Celo governance proposals with pagination support.

ParameterTypeDescription
include_inactivebooleanWhether to include inactive/expired proposals
include_metadatabooleanWhether to fetch metadata from GitHub repository (slower - only use when needed)
limitintegerMaximum number of proposals to return (alternative to page_size)
offsetintegerNumber of proposals to skip (alternative to page-based pagination)
pageintegerPage number (1-based). If provided, overrides offset/limit
page_sizeintegerNumber of proposals per page

get_proposal_details

Get detailed information about a specific governance proposal including its content and voting history.

ParameterTypeDescription
proposal_id *integerThe governance proposal ID

get_staking_balances

Get staking balances for an address, including active and pending stakes broken down by validator group.

ParameterTypeDescription
address *stringThe address to check staking balances for.

get_activatable_stakes

Get information about pending stakes that can be activated for earning rewards.

ParameterTypeDescription
address *stringThe address to check activatable stakes for.

get_validator_groups

Get information about all validator groups, including their members, votes, capacity, and performance metrics.

ParameterTypeDescription
limitintegerMaximum number of validator groups to return (alternative to page_size)
offsetintegerNumber of validator groups to skip (alternative to page-based pagination)
pageintegerPage number (1-based). If provided, overrides offset/limit
page_sizeintegerNumber of validator groups per page

get_validator_group_details

Get detailed information about a specific validator group including its members and performance data.

ParameterTypeDescription
group_address *stringThe validator group address.

get_total_staking_info

Get network-wide staking information including total votes and participation metrics.

request_faucet_funds

Request testnet CELO from the Celo faucet for an address. Testnet only (celo-sepolia); there is no mainnet faucet. Sends 3 CELO per request; dispenses CELO only - no USDm or other stablecoins. Requires the CELO_MCP_FAUCET_API_KEY environment variable, set to a key created at https://faucet.celo.org/keys. Limited to 10 requests per 24 hours, per account and per beneficiary address. Returns the payout transaction hash if it lands while the request is open, otherwise a request_key to check with get_faucet_request_status.

ParameterTypeDescription
beneficiary *stringThe address to send testnet funds to.
networkstringThe testnet to fund on.
waitbooleanWait for the payout to land before returning (up to 20 seconds). Set false to return the request key immediately.

get_faucet_request_status

Check whether a queued faucet request has paid out, using the request_key returned by request_faucet_funds. Returns the payout transaction hash once the status is Done.

ParameterTypeDescription
request_key *stringThe request key returned by request_faucet_funds.
networkstringThe testnet the request was made on.