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 ExplorerGET https://daogovernanceexplorer.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
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.
| Field | Type | Default | Description |
|---|---|---|---|
space | text | — | Snapshot space. Space id as in snapshot.box/#/s:<space>. |
snapshotProposalId | text | — | Snapshot proposal id for vote analysis (optional). Defaults to the newest proposal of the space. |
proposals | integer | 10 | Proposals to list |
snapshotJson | textarea | — | Pasted Snapshot JSON (offline). GraphQL response with data.space, data.proposals and optionally data.votes. Used instead of the live query. |
chain | select (ethereum, base, arbitrum, optimism, polygon, avalanche, bsc) | "ethereum" | Chain (Governor / treasury) |
governor | text | — | Governor contract (optional) |
governorProposalId | text | — | Governor proposal id (decimal) |
treasury | text | — | Treasury address (optional) |
extraTokens | list | — | 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" }
}
}