Snapshot

box.snapshotPublished by snapshot.boxOfficial publisherv0.1.0Updated Nov 22, 2026

Query Snapshot governance data, and vote, propose or follow spaces for the user.

VerifiedStreamable HTTPWeb executableDatabasesFinance

Overview

AI-generated overview

Snapshot governance server: lets an assistant read Snapshot spaces, proposals and votes, and cast votes, create proposals or follow spaces for the user.

What you can do
  • Query governance data with arbitrary GraphQL against the Snapshot API, with the user's address auto-bound as $user
  • Inspect the GraphQL schema when a query fails on an unknown field or filter
  • Check the connected identity, delegated signer alias, authorization status and public profile
  • Cast or replace a vote on a proposal, with the proposal's voting type and privacy applied automatically
  • Create proposals with space defaults for voting type, period and privacy
  • Follow or unfollow a space for the user
When to use it
Useful when you follow DAO or token governance on Snapshot and want an assistant to summarize active proposals, look up voting power and results, or act on your behalf by voting, drafting proposals and following spaces.
Requirements
Hosted endpoint at mcp.snapshot.box with OAuth 2.0, requiring a connected wallet and authorization of a delegated signer alias on Snapshot. Self-hosting needs Bun 1.0.0 or later; HTTP mode needs JWT_SECRET plus Coinbase CDP credentials (CDP_API_KEY_ID, CDP_API_KEY_SECRET, CDP_WALLET_SECRET); stdio mode needs ALIAS_PRIVATE_KEY. SNAPSHOT_API_KEY is optional for higher rate limits.
Before you install
Write tools act on the user's behalf: votes replace previous votes, proposals are published, and follows change account state. Signing is delegated to an alias wallet, which must be authorized on Snapshot and can be revoked there. Self-hosted stdio mode uses a raw private key in ALIAS_PRIVATE_KEY, and HTTP mode requires CDP wallet secrets and a JWT_SECRET whose rotation invalidates all tokens. Arbitrary GraphQL queries are sent to Snapshot's API.

Installation

In SourceWeft

  1. Open Snapshot in the dashboard and add it to a workspace.
  2. Connect the required credentials. They are stored privately and never shown on public pages.
  3. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/box.snapshot%2Fmcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.

{
  "mcpServers": {
    "snapshot": {
      "type": "http",
      "url": "https://mcp.snapshot.box/"
    }
  }
}

README

[loc]

Snapshot MCP

A Model Context Protocol server for Snapshot. Lets AI assistants read governance data (spaces, proposals, votes, voting power) and act on the user's behalf (cast votes, create proposals, follow spaces) through Snapshot's GraphQL API. Available as a hosted endpoint at https://mcp.snapshot.box, or self-hostable.

Tools

snapshot-query

Runs any GraphQL query against the Snapshot API. The user's address is auto-bound as $user — declare it in the query and reference it; do not pass it in variables.

InputTypeDescription
querystringGraphQL query string
variablesobject?GraphQL variables

Example — fetch active proposals for a space:

graphql
query ($space: String!) {  proposals(first: 10, where: { space: $space, state: "active" }) {    id    title    choices    scores    votes    end  }}

snapshot-schema

Returns the Snapshot GraphQL schema. Call this before snapshot-query only when a query fails on an unknown field or filter. The response is large, so do not call it preemptively.

No inputs.

snapshot-whoami

Returns the connected identity and signing capability:

  • address — the user's account, auto-injected as $user in snapshot-query.
  • alias — the delegated signer wallet that signs writes on the user's behalf.
  • authorized — whether that alias is currently authorized for the user. When false, the write tools fail until the user re-authorizes.
  • profile — the user's public profile (name, about, avatar) when one exists.
  • links.alias — the page where the user authorizes or revokes the signer alias.

Useful as a pre-flight before a write action. Requires a connected wallet, same as snapshot-vote.

No inputs.

snapshot-vote

Casts a vote on a Snapshot proposal. The proposal's voting type and privacy are fetched from Snapshot and applied automatically, so the caller does not need to specify them. Re-calling on the same proposal replaces the previous vote (this is how the user changes a vote).

InputTypeDescription
spacestringSpace ID slug (e.g. "ens.eth")
proposalstringProposal ID (hex string)
choicenumber | number[] | objectA number for basic/single-choice, an array of indices for approval/ranked-choice, or { "1": weight, "2": weight, ... } for weighted/quadratic
reasonstring?Reason for the vote. Ignored on Shutter-encrypted proposals.

Requires a wallet to be configured for signing (see Configuration). On HTTP, this is the OAuth-managed CDP alias; on stdio, it is the ALIAS_PRIVATE_KEY. If the user has not yet authorized the alias, the tool returns the authorization URL for them to visit.

snapshot-propose

Creates a Snapshot proposal. Most defaults come from the space itself, so for typical use you only need space, title, and body. The space's enforced voting type, voting period, and privacy mode are read from Snapshot and applied automatically.

InputTypeDescription
spacestringSpace ID slug (e.g. "ens.eth")
titlestringProposal title
bodystring?Proposal body (markdown)
discussionstring?Discussion link
typestring?One of basic, single-choice, approval, ranked-choice, weighted, quadratic. Defaults to whatever the space enforces, or basic.
choicesstring[]?Vote choices. Defaults to ["For", "Against", "Abstain"] for basic; required for any other type.
labelsstring[]?Proposal label IDs
startnumber?Voting start as a unix timestamp in seconds. Defaults to now + space.voting.delay.
endnumber?Voting end as a unix timestamp in seconds. Defaults to start + space.voting.period (3 days if the space sets none).
privacy"shutter" | "none"?Opt into Shutter-encrypted voting with "shutter". Only honored when the space's voting.privacy is "any"; spaces with voting.privacy === "shutter" always encrypt.

The snapshot block is read from https://rpc.brovider.xyz/<chainId> based on the space's network. Requires a wallet, same as snapshot-vote.

snapshot-follow

Follows or unfollows a space for the user. Following a space you already follow returns an error, and so does unfollowing a space you do not follow. Check the current state with follows(where: { follower: $user }) before calling this.

InputTypeDescription
spacestringSpace ID slug (e.g. "ens.eth")
action"follow" | "unfollow"?Whether to follow or unfollow. Defaults to "follow".

Requires a wallet, same as snapshot-vote and snapshot-propose.

Usage

Hosted (Claude Desktop / Claude.ai)

json
{  "mcpServers": {    "snapshot": {      "type": "http",      "url": "https://mcp.snapshot.box"    }  }}

Self-hosting

Requirements: Bun ≥ 1.0.0

bash
bun install
HTTP server
bash
bun start

Listens on port 8080 by default (override with PORT env var).

Stdio (local)
bash
bun run stdio

Claude Desktop config example:

json
{  "mcpServers": {    "snapshot": {      "command": "bun",      "args": ["src/index.ts", "--stdio"],      "cwd": "/path/to/snapshot-mcp",      "env": {        "ALIAS_PRIVATE_KEY": "0x..."      }    }  }}

Configuration

Copy .env.example to .env and configure:

VariableDescription
SNAPSHOT_API_KEYSnapshot API key for higher rate limits (optional)
SNAPSHOT_API_URLGraphQL endpoint (default https://hub.snapshot.org/graphql)
PORTHTTP server port (default: 8080)
BASE_URLPublic URL for OAuth metadata (e.g. https://mcp.snapshot.box)
JWT_SECRETHS256 secret used to sign access tokens — required for HTTP mode (≥32 chars; openssl rand -hex 32)
CDP_API_KEY_IDCoinbase CDP API key ID — required for HTTP mode
CDP_API_KEY_SECRETCoinbase CDP API key secret — required for HTTP mode
CDP_WALLET_SECRETCoinbase CDP wallet secret — required for HTTP mode
ALIAS_PRIVATE_KEYSingle private key — stdio mode only (ignored by HTTP server)

The HTTP server requires CDP credentials and a JWT secret. Each user who connects via OAuth gets their own CDP-managed alias wallet, so votes can only be signed by the user who authorized the specific alias. Access tokens are stateless JWTs (HS256) signed with JWT_SECRET; rotating that secret invalidates every issued token.

Auth flow

HTTP (Claude Desktop / Claude.ai) — OAuth 2.0

The HTTP server exposes OAuth 2.0 endpoints. Claude Desktop and Claude.ai will show a "Connect" button that triggers the flow automatically:

  1. Claude redirects to /authorize
  2. Server mints a fresh per-session CDP alias wallet and redirects to snapshot.box/#/settings/alias/authorize/<alias> with a callback URL
  3. User authorizes that alias on Snapshot
  4. Snapshot redirects back to /auth/callback
  5. Server resolves the authorizing user from the alias, generates an auth code, and redirects back to Claude
  6. Claude exchanges the code for a JWT (HS256) access token at /token
  7. All subsequent requests include the token — the server verifies the signature and reads the user and their CDP account from the claims

Each user gets their own CDP alias, so one user cannot sign votes on behalf of another. Tokens are self-verifiable and survive server restarts (until JWT_SECRET rotates).

Stdio (local)

  1. Call snapshot-vote — if not yet authorized, returns the authorization URL
  2. User visits snapshot.box/#/settings/alias/authorize/<alias> to authorize
  3. Call snapshot-vote again — works

Development

bash
bun dev      # watch modebun test     # run security testsbun lint     # ESLintbun format   # Prettier

Source: apps/mcp/README.md at commit 082bd16

Tools

0
This server asks you to sign in, so SourceWeft could not read its tools without an account and has not indexed them. What a connected account sees can depend on that account and its permissions.

Version history

1
  1. v0.1.0LatestNov 22, 2026

Score

85% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Snapshot integrations