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
- Create a
.env
file in the root directory:
TALLY_API_KEY=your_api_key_here
- 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 directorybun run build
- Build the projectbun run start
- Run the built serverbun run dev
- Run in development mode with auto-reloadbun test
- Run testsbun test --watch
- Run tests in watch modebun 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 paginationsortBy
(optional): How to sort the DAOs (default: popular)- Options: “id”, “name”, “explore”, “popular”
License
MIT
MPC Tally API Server
Project Details
- crazyrabbitLTC/mpc-tally-api-server
- mpc-tally-api-server
- MIT License
- Last Updated: 2/6/2025
Recomended MCP Servers
Kick API MCP
A MCP server for capturing screenshots
A Neo4j MCP server implementation for managing graph database operations through the Model Context Protocol
DuckDuckGo search API MCP server
A Google Contacts server using MCP
A Model Context Protocol (MCP) server for fetching rubygems metadata via rubygems.org API
Academic Paper Search MCP Server for Claude Desktop integration. Allows Claude to access data from Semantic Scholar and...
一个强大的MCP(Model Context Protocol)开发框架,一个用于SEE(Standard Extension Environment)对接的模块化工具框架。该框架允许开发者轻松创建和扩展自定义工具,并通过MCP协议与模型交互。
Simple solution to give Claude ability to check current time via MCP