MPC Tally API Server

MPC Tally API Server

A server that allows AI agents to interact with the Tally API to access DAO governance data, proposals, and metadata using Model Context Protocol (MCP), built with TypeScript and GraphQL.

crazyrabbitLTC

Research & Data
Visit Server

Tools

list-daos

List DAOs on Tally sorted by specified criteria

get-dao

Get detailed information about a specific DAO

list-delegates

List delegates for a specific organization with their metadata

get-delegators

Get list of delegators for a specific address

list-proposals

List proposals for a specific DAO or organization using its slug

get-proposal

Get detailed information about a specific proposal. You must provide either the Tally ID (globally unique) or both onchainId and governorId (unique within a governor).

get-address-votes

Get votes cast by an address for a specific organization

get-address-created-proposals

Get proposals created by an address for a specific organization

get-address-daos-proposals

Returns proposals from DAOs where a given address has participated (voted, proposed, etc.)

get-address-received-delegations

Returns delegations received by an address

get-delegate-statement

Get a delegate's statement for a specific governor or organization

get-address-governances

Returns the list of governances (DAOs) an address has delegated to

get-proposal-timeline

Get the timeline of events for a specific proposal

get-proposal-voters

Get a list of all voters who have voted on a specific proposal

get-address-metadata

Get metadata information about a specific Ethereum address

get-proposal-security-analysis

Get security analysis for a specific proposal, including threat analysis and simulations

get-proposal-votes-cast

Get vote statistics and formatted vote counts for a specific proposal

get-proposal-votes-cast-list

Get a list of votes cast for a specific proposal, including formatted vote amounts

get-governance-proposals-stats

Get statistics about passed and failed proposals for a specific DAO

README

MPC Tally API Server

A Model Context Protocol (MCP) server for interacting with the Tally API. This server allows AI agents to fetch information about DAOs, including their governance data, proposals, and metadata.

Features

  • List DAOs sorted by popularity or exploration status
  • Fetch comprehensive DAO metadata including social links and governance information
  • Pagination support for handling large result sets
  • Built with TypeScript and GraphQL
  • Full test coverage with Bun's test runner

Installation

# Clone the repository
git clone https://github.com/yourusername/mpc-tally-api-server.git
cd mpc-tally-api-server

# Install dependencies
bun install

# Build the project
bun run build

Configuration

  1. Create a .env file in the root directory:
TALLY_API_KEY=your_api_key_here
  1. Get your API key from Tally

⚠️ Security Note: Keep your API key secure:

  • Never commit your .env file
  • Don't expose your API key in logs or error messages
  • Rotate your API key if it's ever exposed
  • Use environment variables for configuration

Usage

Running the Server

# Start the server
bun run start

# Development mode with auto-reload
bun run dev

Claude Desktop Configuration

Add the following to your Claude Desktop configuration:

{
  "tally": {
    "command": "node",
    "args": [
      "/path/to/mpc-tally-api-server/build/index.js"
    ],
    "env": {
      "TALLY_API_KEY": "your_api_key_here"
    }
  }
}

Available Scripts

  • bun run clean - Clean the build directory
  • bun run build - Build the project
  • bun run start - Run the built server
  • bun run dev - Run in development mode with auto-reload
  • bun test - Run tests
  • bun test --watch - Run tests in watch mode
  • bun test --coverage - Run tests with coverage

API Functions

The server exposes the following MCP functions:

list_daos

Lists DAOs sorted by specified criteria.

Parameters:

  • limit (optional): Maximum number of DAOs to return (default: 20, max: 50)
  • afterCursor (optional): Cursor for pagination
  • sortBy (optional): How to sort the DAOs (default: popular)
    • Options: "id", "name", "explore", "popular"

License

MIT

Recommended Servers

Crypto Price & Market Analysis MCP Server

Crypto Price & Market Analysis MCP Server

A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.

Featured
TypeScript
MCP PubMed Search

MCP PubMed Search

Server to search PubMed (PubMed is a free, online database that allows users to search for biomedical and life sciences literature). I have created on a day MCP came out but was on vacation, I saw someone post similar server in your DB, but figured to post mine.

Featured
Python
dbt Semantic Layer MCP Server

dbt Semantic Layer MCP Server

A server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.

Featured
TypeScript
mixpanel

mixpanel

Connect to your Mixpanel data. Query events, retention, and funnel data from Mixpanel analytics.

Featured
TypeScript
Sequential Thinking MCP Server

Sequential Thinking MCP Server

This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.

Featured
Python
Nefino MCP Server

Nefino MCP Server

Provides large language models with access to news and information about renewable energy projects in Germany, allowing filtering by location, topic (solar, wind, hydrogen), and date range.

Official
Python
Vectorize

Vectorize

Vectorize MCP server for advanced retrieval, Private Deep Research, Anything-to-Markdown file extraction and text chunking.

Official
JavaScript
Mathematica Documentation MCP server

Mathematica Documentation MCP server

A server that provides access to Mathematica documentation through FastMCP, enabling users to retrieve function documentation and list package symbols from Wolfram Mathematica.

Local
Python
kb-mcp-server

kb-mcp-server

An MCP server aimed to be portable, local, easy and convenient to support semantic/graph based retrieval of txtai "all in one" embeddings database. Any txtai embeddings db in tar.gz form can be loaded

Local
Python
Research MCP Server

Research MCP Server

The server functions as an MCP server to interact with Notion for retrieving and creating survey data, integrating with the Claude Desktop Client for conducting and reviewing surveys.

Local
Python