mpc-tally-api-server
A Model Context Protocol (MCP) server that enables AI agents to interact with the Tally API, providing access to DAO governance data, proposals, and metadata. Built with TypeScript and GraphQL, it offers a secure and efficient way to fetch and sort DAO information through standardized MCP functions.
Documentation
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 buildConfiguration
1. Create a `.env` file in the root directory:
TALLY_API_KEY=your_api_key_here2. 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 devClaude 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
Frequently asked questions
What is mpc-tally-api-server?
mpc-tally-api-server is A Model Context Protocol (MCP) server that enables AI agents to interact with the Tally API, providing access to DAO governance data, proposals, and metadata. Built with TypeScript and GraphQL, it offers a secure and efficient way to fetch and sort DAO information through standardized MCP functions.
How do I install mpc-tally-api-server?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mpc-tally-api-server open source?
Yes — it is hosted on GitHub at https://github.com/crazyrabbitLTC/mpc-tally-api-server and has 6 stars.
Related MCP tools
Model Context Protocol Servers
🍒 Cherry Studio is a desktop client that supports for multiple LLM providers. Built for the Model Context Protocol to enhance AI capabilities.
Enhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini...
FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, ...
Composio equips your AI agents & LLMs with 100+ high-quality integrations via function calling for the Model Context Protocol. Enhance AI assistants with powerf
A MCP for Claude Desktop / Claude Code / Windsurf / Cursor to build n8n workflows for you
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP