MPC Tally API Server

Integrations

  • Used as the underlying technology for building the API server that interacts with the Tally API

  • Used as the programming language for building the MCP server that interacts with the Tally API

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

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

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.

  1. Features
    1. Installation
      1. Configuration
        1. Usage
          1. Running the Server
          2. Claude Desktop Configuration
        2. Available Scripts
          1. API Functions
            1. list_daos
          2. License

            Related MCP Servers

            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that enables AI assistants to access Flow blockchain data and perform operations such as checking balances, resolving domains, executing scripts, and submitting transactions.
              Last updated -
              JavaScript
              • Linux
              • Apple
            • -
              security
              A
              license
              -
              quality
              A production-ready Model Context Protocol server implementation that connects AI assistants to the TON blockchain, allowing them to query wallet balances, transaction details, smart contracts, and other blockchain data.
              Last updated -
              TypeScript
              MIT License
            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server enabling AI assistants to interact with Kong Konnect's API Gateway, providing tools to query analytics data, inspect configurations, and manage control planes through natural language.
              Last updated -
              10
              22
              TypeScript
              Apache 2.0
              • Apple
            • -
              security
              -
              license
              -
              quality
              A Model Context Protocol server that enables AI agents to dynamically interact with Hasura GraphQL endpoints through natural language, supporting schema discovery, data querying/manipulation, and aggregations.
              Last updated -
              1
              TypeScript

            View all related MCP servers

            ID: xqt9xzqlm6