what is MCP Snapshot Server?
MCP Snapshot Server is a Model Context Protocol server designed for interacting with Snapshot.org, providing tools for querying Snapshot spaces, proposals, and users.
how to use MCP Snapshot Server?
To use the MCP Snapshot Server, install it via npm and configure it in your Claude Desktop config file to interact with Snapshot spaces and proposals.
key features of MCP Snapshot Server?
- Query Snapshot spaces and proposals
- Retrieve user information based on Ethereum addresses
- Get ranked lists of Snapshot spaces with detailed information
use cases of MCP Snapshot Server?
- Fetching a list of Snapshot spaces for analysis
- Retrieving proposals for specific Snapshot spaces
- Accessing user information for Ethereum addresses in Snapshot
FAQ from MCP Snapshot Server?
- What is the purpose of the MCP Snapshot Server?
It allows users to interact with Snapshot.org by providing tools to query spaces, proposals, and user data.
- How do I install the MCP Snapshot Server?
You can install it using npm with the command
npm install mcp-snapshot-server
.
- Is there a license for the MCP Snapshot Server?
Yes, it is licensed under the MIT license.
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%\Claude\claude_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 spacestate
: 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
- Clone the repository:
git clone https://github.com/crazyrabbitLTC/mcp-snapshot-server.git
- Install dependencies:
npm install
- Build the project:
npm run build
License
MIT © Dennison Bertram