Collective
# Glyphh Collective
A council of models for Claude. Collective is an MCP server that asks Claude, OpenAI Codex, Gemini and Grok the same question at once, each through the command-line tool you are already signed in to, and hands their answers back to Claude to weigh. You need no API keys: every member uses its own CLI sign-in.
## Members
| Member | CLI | Sign in |
| --- | --- | --- |
| claude | [Claude Code](https://claude.com/claude-code) `claude` | `claude` then `/login` |
| codex | [OpenAI Codex](https://github.com/openai/codex) `codex` | `codex login` |
| gemini | [Antigravity CLI](https://antigravity.google/download) `agy` | run `agy` once and sign in with Google |
| grok | Grok CLI `grok` (`npm i -g @xai-official/grok`) | `grok login` |
Collective asks only the members whose CLI is installed. Every member runs in an empty temporary folder, and Codex runs in its read-only sandbox.
## Install in Claude Code
```bash
claude mcp add collective --scope user -- uvx --from git+https://github.com/glyphh-ai/collective glyphh-collective
```
## Tools
- `council(question, members?, rounds=1, effort?)` asks every member at once. With `rounds=2`, each member then sees the others' answers and says where it agrees, where it pushes back, and what its final answer is. `effort` is `low`, `medium`, `high` or `ultracode`, and each member turns it into its own CLI's setting; without it, each CLI keeps its own default.
| effort | claude | codex | gemini (agy) | grok |
| --- | --- | --- | --- | --- |
| low, medium, high | `--effort <size>` | `-c model_reasoning_effort=<size>` | `--effort <size>` | `--reasoning-effort <size>` |
| ultracode | `--effort max` | `-c model_reasoning_effort=max` | `--effort xhigh` | `--reasoning-effort xhigh` |
- `members()` lists the members and whether each CLI is installed.
Members cannot see your conversation, so Claude puts the whole context into the question.
## Configure
Change a member's command, or add a new one, in `~/.config/collective/members.toml`:
```toml
[members.gemini]
command = ["gemini", "-m", "gemini-2.5-pro", "-p"]
[members.grok]
enabled = false
[members.local]
command = ["ollama", "run", "llama3"]
prompt_via = "stdin"
[members.local.effort]
low = ["--think=false"]
ultracode = ["--think=true"]
```
A member's `effort` arguments go in before the first option of its command.
The prompt goes last on the command line unless `prompt_via = "stdin"`. Each member has 300 seconds to answer, which you can change with `COLLECTIVE_TIMEOUT`.
## License
Apache-2.0
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: `members` discovers council participants and install status, while `council` orchestrates questions to those members. There is no meaningful overlap or risk of selecting the wrong tool.
Both tool names are short nouns in a consistent style, which is readable and predictable for this small server. They do not follow the common verb_noun convention, but they are internally consistent.
Two tools is minimal for the server's purpose. They are both necessary, but the surface is thin and sits at the borderline of what feels sufficient.
The core workflow is covered: listing members and asking all or a subset of members with rounds and effort controls. Minor gaps exist around member configuration, installation guidance, or direct single-member operations outside the council tool.