Skip to main content
Glama

@councly/mcp

MCP (Model Context Protocol) server for Councly - Multi-LLM Council Hearings.

Enable Claude Code, Codex, and other MCP-compatible AI assistants to invoke council hearings where multiple LLMs (Claude, GPT, Gemini, Grok) debate topics and synthesize verdicts.

Installation

npm install -g @councly/mcp

Or use directly with npx:

npx @councly/mcp

Related MCP server: trinity-local

Setup

1. Get an API Key

  1. Sign in to Councly

  2. Go to Settings > MCP Integration

  3. Create a new API key

  4. Copy the key (shown only once)

2. Configure Claude Code

Add to your Claude Code settings (~/.claude/settings.json):

{
  "mcpServers": {
    "councly": {
      "command": "npx",
      "args": ["@councly/mcp"],
      "env": {
        "COUNCLY_API_KEY": "cnc_your_key_here"
      }
    }
  }
}

3. Configure Codex CLI

export COUNCLY_API_KEY=cnc_your_key_here

Or add to your shell profile.

Tools

councly_hearing

Create a council hearing where multiple LLMs debate a topic.

Parameters:

Parameter

Type

Required

Default

Description

subject

string

Yes

-

The topic to discuss (10-10000 chars)

preset

string

No

balanced

Model preset: balanced, fast, coding, coding_plus

workflow

string

No

auto

Workflow: auto, discussion, review, brainstorming

wait

boolean

No

true

Wait for completion

timeout_seconds

number

No

300

Max wait time (30-600)

Presets:

Preset

Credits

Counsels

Best For

balanced

9

3

General purpose discussions

fast

6

3

Quick responses, simple topics

coding

14

3

Code review, technical decisions

coding_plus

17

4

Complex code problems

Example:

Use councly_hearing with subject="Review this Python function for security issues:

def authenticate(username, password):
    query = f'SELECT * FROM users WHERE username='{username}' AND password='{password}''
    return db.execute(query)

" and preset="coding"

councly_status

Check the status of a hearing.

Parameters:

Parameter

Type

Required

Description

hearing_id

string (uuid)

Yes

The hearing ID

Example:

Use councly_status with hearing_id="550e8400-e29b-41d4-a716-446655440000"

Response Format

Completed hearings return:

  • Status: completed, failed, or early_stopped

  • Verdict: Synthesized conclusion from the moderator

  • Trust Score: 0-100 confidence rating

  • Counsel Perspectives: Summary from each counsel

  • Cost: Credits used

Error Handling

Common errors:

Code

Description

INSUFFICIENT_BALANCE

Not enough credits

ACTIVE_HEARING_EXISTS

One hearing already in progress

RATE_LIMIT_EXCEEDED

Too many requests

CONTENT_BLOCKED

Subject contains prohibited content

Environment Variables

Variable

Required

Description

COUNCLY_API_KEY

Yes

Your MCP API key

COUNCLY_BASE_URL

No

API base URL (default: https://councly.ai)

Pricing

Councly uses a credit-based pricing model:

  • 1 credit = $0.01 USD

  • Credits are deducted at hearing creation

  • Failed hearings are refunded

Purchase credits at councly.ai/billing.

License

Apache 2.0 - See LICENSE

Available Tools

2 tools
councly_hearingA

Create a council hearing where multiple LLMs (Claude, GPT, Gemini, Grok) debate a topic and a moderator synthesizes the verdict.

Use cases:

  • Code review: Get diverse perspectives on code quality, architecture, security

  • Technical decisions: Compare approaches, weigh trade-offs

  • Problem solving: Generate and evaluate multiple solutions

  • Brainstorming: Explore ideas from different angles

The hearing runs asynchronously. By default, this tool waits for completion and returns the verdict. Set wait=false to get the hearing ID immediately and check status later with councly_status.

Cost: Varies by preset (6-17 credits). Check councly.ai for current pricing.

Inputs: subject (required), preset, workflow, wait, +1 more.

councly_statusA

Check the status of a council hearing.

Returns:

  • For in-progress hearings: current phase and progress percentage

  • For completed hearings: verdict, trust score, and counsel summaries

  • For failed hearings: error message

Use this to check on hearings created with wait=false, or to retrieve past hearing results.

Inputs: hearing_id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: councly_hearing creates and runs a council hearing, while councly_status checks the status or retrieves results of an existing hearing. There is no overlap in functionality, making it easy for an agent to select the correct tool based on the desired action.

    Naming Consistency5/5

    Both tools follow a consistent naming pattern with the prefix 'councly_' followed by a descriptive action (hearing, status). This verb_noun style is uniform and predictable, aiding in tool identification and usage without confusion.

    Tool Count2/5

    With only 2 tools, the server feels thin for its apparent scope of facilitating multi-LLM debates and status tracking. While the tools cover creation and status checking, the domain suggests potential gaps (e.g., no tool for listing hearings, modifying settings, or handling errors beyond status retrieval), making the count insufficient for comprehensive coverage.

    Completeness2/5

    The tool surface is significantly incomplete for the server's purpose. It lacks operations such as listing past hearings, canceling or deleting hearings, configuring hearing parameters beyond defaults, or managing user settings. This forces agents into dead ends for common workflows, like reviewing multiple past hearings or adjusting debate parameters.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Provides access to multiple frontier LLM models (GPT, Claude, Gemini, Grok, DeepSeek) for consulting a "conclave" of AI perspectives, enabling peer-ranked evaluations and synthesized consensus answers for important decisions.
      8
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables multi-model LLM council reviews and parallel sidecar conversations within Claude, allowing Claude to orchestrate structured reviews from various AI models and fold their responses back into the session.
      739 npm
      2
      MIT