API & MCP

Everything a person can do on DAO Governance Explorer, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

  • POST https://daogovernanceexplorer.usefulweb.site/api/v1/calculate – run DAO Governance Explorer
  • GET https://daogovernanceexplorer.usefulweb.site/api/v1/tool – inputs, output schema, examples
  • OpenAPI 3.1: /openapi.json · /openapi.yaml
  • Errors: application/problem+json; 422 includes per-field errors.

DAO Governance Explorer

Reads a DAO's Snapshot space (proposals, state, scores, quorum, top voters and how concentrated voting power is), optionally an OpenZeppelin Governor proposal on-chain (state, for/against/abstain, quorum) and a treasury address's native and major-token balances. Works without live lookups on pasted Snapshot GraphQL JSON.

Inputs of DAO Governance Explorer
FieldTypeDefaultDescription
spacetext—Snapshot space. Space id as in snapshot.box/#/s:<space>.
snapshotProposalIdtext—Snapshot proposal id for vote analysis (optional). Defaults to the newest proposal of the space.
proposalsinteger10Proposals to list
snapshotJsontextarea—Pasted Snapshot JSON (offline). GraphQL response with data.space, data.proposals and optionally data.votes. Used instead of the live query.
chainselect (ethereum, base, arbitrum, optimism, polygon, avalanche, bsc)"ethereum"Chain (Governor / treasury)
governortext—Governor contract (optional)
governorProposalIdtext—Governor proposal id (decimal)
treasurytext—Treasury address (optional)
extraTokenslist—Extra token addresses for the treasury

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

  • Streamable HTTP endpoint: https://daogovernanceexplorer.usefulweb.site/mcp – protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake).
  • Tools: dao_governance_explorer
  • Local stdio connector: node src/mcp-stdio.ts --tool=dao-governance-explorer
{
  "mcpServers": {
    "dao-governance-explorer": { "type": "http", "url": "https://daogovernanceexplorer.usefulweb.site/mcp" }
  }
}