Back to MCP directory
publicPublicdnsLocal runtime

mcp-snapshot-server

一个模型上下文协议服务器, enables 与 Snapshot.org 的交互,提供通过自然语言查询 Snapshot 空间、提案和用户的工具。

article

README

MCP Snapshot Server

A Model Context Protocol server for interacting with Snapshot.org. This server provides MCP-compliant tools for querying Snapshot spaces, proposals, and users.

Installation

npm install mcp-snapshot-server

Usage with Claude Desktop

In your Claude Desktop config file (located at ~/Library/Application Support/Claude/claude_desktop_config.json on Mac or %APPDATA%Claudeclaude_desktop_config.json on Windows):

{
    "mcpServers": {
        "snapshot": {
            "command": "node",
            "args": [
                "/ABSOLUTE/PATH/TO/snapshot-server/build/index.js"
            ]
        }
    }
}

Available Tools

getSpaces

Get a list of Snapshot spaces

  • limit: Number of spaces to fetch (optional)
  • skip: Number of spaces to skip (optional)

getRankedSpaces

Get a ranked list of Snapshot spaces with detailed information

  • first: Number of spaces to fetch (default: 18)
  • skip: Number of spaces to skip (default: 0)
  • category: Category to filter by (default: 'all')
  • search: Search term to filter spaces (optional)

getProposals

Get proposals for a specific space

  • spaceId: ID of the space
  • state: Filter by proposal state (active, closed, pending, all)
  • limit: Number of proposals to fetch

getProposal

Get details of a specific proposal

  • proposalId: ID of the proposal

getUser

Get information about a Snapshot user

  • address: Ethereum address of the user

Development

  1. Clone the repository:
git clone https://github.com/crazyrabbitLTC/mcp-snapshot-server.git
  1. Install dependencies:
npm install
  1. Build the project:
npm run build

License

MIT © Dennison Bertram

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client