obol-mcp

v0.2.0
obol-mcp Checked 11 hours ago Published 1 month ago

Read-only MCP server for the public Obol API: DV cluster troubleshooting and monitoring

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

obol_api_health

Check Obol API health, including database and beacon node connectivity. Corresponds to GET /v1/_health.

obol_cluster_lock_by_hash

Retrieve a Distributed Validator cluster lock by its lock_hash: the cluster definition (name, operators, threshold, fork_version) plus the generated distributed validators. Large clusters have their validator lists truncated. Corresponds to GET /v1/lock/{lockHash}.

ParameterTypeDescription
lock_hash *stringThe cluster lock hash, 0x followed by 64 hex characters.

obol_lock_by_config_hash

Retrieve the latest cluster lock created from a cluster definition, by config_hash. Corresponds to GET /v1/lock/configHash/{configHash}.

ParameterTypeDescription
config_hash *stringThe cluster definition config hash, 0x followed by 64 hex characters.

obol_locks_by_network

List cluster locks on a network, sorted and optionally filtered by pool. Without details only lock hashes are returned; with details=true full locks are returned, which are large, so the page size is capped at 5. Corresponds to GET /v1/lock/network/{network}.

ParameterTypeDescription
network *stringmainnet, hoodi, sepolia or gnosis.
detailsbooleanReturn full cluster locks instead of just lock hashes.
limitintegerResults per page (max 50; max 5 when details=true).
pageintegerPage number, 0-indexed.
poolstringOptional filter: lido or etherfi.
sortBystringavg_effectiveness (API default), active_validators_count or operators_count.
sortOrderstringasc or desc (API default desc).

obol_network_summary

Aggregate statistics for a network: total clusters, total operators and ETH staked. The API currently only has summary data for mainnet. Corresponds to GET /v1/lock/network/summary/{network}.

ParameterTypeDescription
network *stringmainnet, hoodi, sepolia or gnosis.

obol_cluster_effectiveness

Per-validator effectiveness for a cluster, as a map of validator pubkey to {"all": score} where score is 0-1. Returns 404 if no effectiveness data exists. Corresponds to GET /v1/effectiveness/{lockHash}.

ParameterTypeDescription
lock_hash *stringThe cluster lock hash, 0x followed by 64 hex characters.

obol_cluster_validator_states

Current beacon chain state of each validator in a cluster, as a map of pubkey to {index, status, balance, effective_balance, withdrawal_credentials, ...}. Balances are in ETH. Validators not yet on chain are omitted or have null fields. Corresponds to GET /v1/state/{lockHash}.

ParameterTypeDescription
lock_hash *stringThe cluster lock hash, 0x followed by 64 hex characters.

obol_operator_clusters

List cluster locks in which the address is an operator. Returns full locks. Corresponds to GET /v1/lock/operator/{address}.

ParameterTypeDescription
address *stringThe operator's Ethereum address (0x + 40 hex characters).
limitintegerResults per page (max 50).
pageintegerPage number, 0-indexed.

obol_operator_info

List operators on a network with their cluster and validator counts. Corresponds to GET /v1/address/network/{network}.

ParameterTypeDescription
network *stringmainnet, hoodi, sepolia or gnosis.
detailsbooleanInclude fuller operator information.
limitintegerResults per page (max 50).
pageintegerPage number, 0-indexed.
sortBystringactive_validators_count (API default) or active_clusters_count.
sortOrderstringasc or desc (API default desc).

obol_search_operators

Search operators on a network by part of their address. Corresponds to GET /v1/address/search/{network}.

ParameterTypeDescription
network *stringmainnet, hoodi, sepolia or gnosis.
limitintegerResults per page (max 50).
pageintegerPage number, 0-indexed.
partialAddressstringHex characters from the operator address (0x prefix optional).

obol_operator_badges

Badges for an address (e.g. Lido testnet/mainnet, Genesis Dappnode), each with a qualified flag and earned_at date. Corresponds to GET /v1/address/badges/{address}.

ParameterTypeDescription
address *stringEthereum address (0x + 40 hex characters).

obol_operator_techne

Obol Techne credentials held by an address, grouped as base, bronze, silver and gold (each a list of credential tokens; empty lists mean none held). Corresponds to GET /v1/address/techne/{address}.

ParameterTypeDescription
address *stringEthereum address (0x + 40 hex characters).

obol_operator_incentives

Obol incentives claimable by an address on a network (amount, merkle proof index and contract address). Corresponds to GET /v1/address/incentives/{network}/{address}.

ParameterTypeDescription
address *stringEthereum address (0x + 40 hex characters).
network *stringmainnet, hoodi, sepolia or gnosis.

obol_cluster_exit_status_summary

Exit coordination summary for a cluster: operator_exits maps each operator address to the number of validators it has signed exits for, and ready_exits counts validators whose signed shares have reached the threshold. Corresponds to GET /v1/exp/exit/status/summary/{lockHash}.

ParameterTypeDescription
lock_hash *stringThe cluster lock hash, 0x followed by 64 hex characters.

obol_cluster_exit_status

Per-validator exit status for a cluster: for each validator pubkey, which operator share indices have signed (exit_shares) and whether quorum/all is reached. With operatorAddress, only validators that operator has NOT yet signed are returned. Corresponds to GET /v1/exp/exit/status/{lockHash}.

ParameterTypeDescription
lock_hash *stringThe cluster lock hash, 0x followed by 64 hex characters.
limitintegerValidators per page (max 100).
operatorAddressstringOptional operator address filter.
pageintegerPage number, 1-indexed for this endpoint.
validatorPubkeystringOptional validator public key filter (0x + 96 hex characters).

obol_cluster_definition

Retrieve a cluster definition (the pre-DKG proposal) by config_hash: operators, their approval signatures, threshold, validator count and network fork_version. Corresponds to GET /v1/definition/{configHash}.

ParameterTypeDescription
config_hash *stringThe cluster definition config hash, 0x followed by 64 hex characters.

obol_operator_definitions

List cluster definitions that include the address as an operator. Corresponds to GET /v1/definition/operator/{address}.

ParameterTypeDescription
address *stringThe operator's Ethereum address (0x + 40 hex characters).
limitintegerResults per page (max 50).
pageintegerPage number, 0-indexed.

obol_positions

Find DV clusters where the address (or any additional address) is the withdrawal address or fee recipient; also checks Lido protocol fee splitters. Returns each cluster's lock_hash, cluster_name, num_validators_total, matched validators, total_balance_eth, avg_effectiveness and cluster_apr. Use this for questions about a user's staked positions or total balance. This is a read-only lookup even though the API uses POST for it. Corresponds to POST /v1/positions/{network}/{address}.

ParameterTypeDescription
address *stringThe withdrawal or fee recipient address to look up.
network *stringmainnet, hoodi, sepolia or gnosis.
additionalAddressesUp to 10 more addresses (e.g. split contracts) to include.

obol_owr_tranches

Tranche details of an Optimistic Withdrawal Recipient (OWR) contract: principal and reward recipients and the principal threshold. Corresponds to GET /v1/owr/{network}/{address}.

ParameterTypeDescription
address *stringThe OWR contract address (0x + 40 hex characters).
network *stringmainnet, hoodi, sepolia or gnosis.

obol_terms_signed_status

Whether the address has signed the latest Obol terms and conditions ({"isTermsAndConditionsSigned": bool}). Required before creating or joining clusters. Corresponds to GET /v1/termsAndConditions/{address}.

ParameterTypeDescription
address *stringEthereum address (0x + 40 hex characters).