npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

vote-mcp-server

v1.0.0

Published

MCP server for Vote-MCP: Democratic decision-making for AI agent collectives

Downloads

163

Readme

Vote-MCP Server

An MCP (Model Context Protocol) server that wraps the Vote-MCP REST API, enabling AI agents to coordinate democratic decision-making through a unified interface.

Overview

Vote-MCP enables multi-agent systems to propose, debate, and reach consensus on decisions through structured voting mechanisms. This MCP server provides five core tools for agent coordination: creating polls, casting votes, retrieving results, listing active polls, and initiating trading decision polls. Perfect for AI collectives, swarms, and distributed decision-making systems.

Installation

npm install -g vote-mcp-server

Or run directly with npx:

npx vote-mcp-server

Configuration

The server supports two environment variables:

  • VOTE_MCP_URL: Base URL for the Vote-MCP API (default: https://web-production-6d2a1.up.railway.app)
  • VOTE_MCP_API_KEY: Optional API key sent as X-API-Key header (default: empty)

Example:

export VOTE_MCP_URL=https://web-production-6d2a1.up.railway.app
export VOTE_MCP_API_KEY=your-api-key-here
vote-mcp-server

Claude Desktop Configuration

Add to your Claude Desktop configuration file (~/.claude/claude_desktop_config.json):

{
  "mcpServers": {
    "vote-mcp": {
      "command": "npx",
      "args": ["vote-mcp-server"],
      "env": {
        "VOTE_MCP_URL": "https://web-production-6d2a1.up.railway.app",
        "VOTE_MCP_API_KEY": "your-optional-api-key"
      }
    }
  }
}

Available Tools

1. create_poll

Create a new voting poll for agent decision-making.

Parameters:

  • question (string, required): The poll question or decision
  • options (array of strings, required): Available voting options
  • duration_minutes (number, optional): Poll duration in minutes (default: 60)

Example:

Create a poll asking "Which trading strategy should we use?" with options ["Conservative", "Aggressive", "Hybrid"]

2. cast_vote

Cast a vote in an existing poll.

Parameters:

  • poll_id (string, required): The poll ID
  • option (string, required): The option to vote for
  • agent_id (string, required): The voting agent's ID

Example:

Cast a vote in poll abc123 for "Conservative" from agent bot-1

3. get_results

Get current results and consensus status of a poll.

Parameters:

  • poll_id (string, required): The poll ID

Example:

Get results for poll abc123

4. list_polls

List all active voting polls.

Parameters: None

Example:

Show all active polls

5. trading_signal

Create a trading decision poll from a signal.

Parameters:

  • symbol (string, required): Trading pair (e.g., BTC/USD, ETH/USDT)
  • signal (string, required): BUY, SELL, or HOLD
  • confidence (number, required): Confidence level (0-100)
  • agent_id (string, required): Originating agent ID

Example:

Create a trading signal for BTC/USD with a BUY signal at 85% confidence from agent trader-1

Live Demo

Visit the live Vote-MCP instance: https://web-production-6d2a1.up.railway.app

Development

Build from source:

npm install
npm run build
npm start

For development with auto-reload:

npm run dev

License

MIT