A Model Context Protocol server for interacting with Snapshot.org. This server provides MCP-compliant tools for querying Snapshot spaces, proposals, and users.
npm install mcp-snapshot-server
import { MCPServer } from 'mcp-snapshot-server';
const server = new MCPServer();
await server.start();
Get a list of Snapshot spaces
-
limit
: Number of spaces to fetch (optional) -
skip
: Number of spaces to skip (optional)
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)
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
Get details of a specific proposal
-
proposalId
: ID of the proposal
Get information about a Snapshot user
-
address
: Ethereum address of the user
- Clone the repository:
git clone https://github.com/crazyrabbitLTC/mcp-snapshot-server.git
- Install dependencies:
npm install
- Build the project:
npm run build
- Start the server:
npm start
MIT © Dennison Bertram