mcp-snapshot-server
Developer Tools
Description
A Model Context Protocol server for interacting with Snapshot.org, providing tools to query Snapshot spaces, proposals, and users.
Author
crazyrabbitLTC
Created Date
2024-12-01
Tutorial
Learn how to use this MCP server
Step-by-Step Guide to Using MCP Snapshot Server
Step 1: Installation
- Open your terminal and run the following command to install the MCP Snapshot Server: bash npm install mcp-snapshot-server
Step 2: Configure with Claude Desktop
- Locate your Claude Desktop config file:
- On Mac:
~/Library/Application Support/Claude/claude_desktop_config.json - On Windows:
%APPDATA%\Claude\claude_desktop_config.json
- On Mac:
- Add the following configuration to the file:
{ "mcpServers": { "snapshot": { "command": "node", "args": [ "/ABSOLUTE/PATH/TO/snapshot-server/build/index.js" ] } } }
- Replace
/ABSOLUTE/PATH/TO/snapshot-server/build/index.jswith the actual path to theindex.jsfile in yoursnapshot-serverdirectory.
Step 3: Using Available Tools
- Get Spaces: Use the
getSpacestool to fetch a list of Snapshot spaces. - Get Ranked Spaces: Use the
getRankedSpacestool to fetch a ranked list of Snapshot spaces with detailed information. - Get Proposals: Use the
getProposalstool to fetch proposals for a specific space. - Get Proposal: Use the
getProposaltool to fetch details of a specific proposal. - Get User: Use the
getUsertool to fetch information about a Snapshot user.
Step 4: Development
-
Clone the repository: bash git clone https://github.com/crazyrabbitLTC/mcp-snapshot-server.git
-
Install dependencies: bash npm install
-
Build the project: bash npm run build

