Junto
# Junto
> Multi-model thinking for high-stakes decisions.
Junto is an MCP server that orchestrates multiple frontier AI models in parallel and synthesizes their outputs into a single, deeply considered answer. Named after [Benjamin Franklin's Junto Club](https://en.wikipedia.org/wiki/Junto_(club)) — a group of diverse minds, convened to think better together.
## How It Works
When you invoke the `think` tool:
1. **Fan out** — Your prompt is sent to 4 frontier models simultaneously (GPT-5.2, Gemini 3 Pro, Grok 4, Claude Opus 4.6)
2. **Collect** — All responses are gathered (with graceful degradation if any model fails)
3. **Synthesize** — A consolidator model (Claude Opus 4.6) receives all responses + a meta-prompt instructing it to critically evaluate, cross-reference, and produce the best possible answer
4. **Return** — You get one answer, better than any single model would produce
**Cost:** ~$0.10–$0.50 per query (standard). Pro mode with GPT-5.2 Pro is significantly more expensive.
## Quick Start
You need **Node.js 18+** and an [OpenRouter API key](https://openrouter.ai/keys).
### Paste to Your Agent
Copy the block for your platform and paste it into your agent. It'll handle the setup.
<details>
<summary><strong>Claude Code</strong></summary>
```
Install the Junto MCP server for multi-model deep thinking. Do all of these steps:
1. Add junto to ~/.claude/mcp.json (create it if it doesn't exist, merge if it does):
{"mcpServers": {"junto": {"command": "npx", "args": ["-y", "junto-mcp"], "env": {"OPENROUTER_API_KEY": "YOUR_KEY_HERE"}}}}
Ask me for my OpenRouter API key if I haven't provided one.
2. Install the Junto skill so you automatically use it for high-stakes decisions:
mkdir -p ~/.claude/skills/junto
Download https://raw.githubusercontent.com/daviddbwilson/junto/master/SKILL.md
and save it to ~/.claude/skills/junto/SKILL.md
3. Tell me to restart Claude Code to pick up the changes.
```
</details>
<details>
<summary><strong>Codex</strong></summary>
```
Install the Junto MCP server for multi-model deep thinking. Do all of these steps:
1. Add junto to ~/.codex/config.toml (create it if it doesn't exist, merge if it does):
[mcp_servers.junto]
command = "npx"
args = ["-y", "junto-mcp"]
[mcp_servers.junto.env]
OPENROUTER_API_KEY = "YOUR_KEY_HERE"
Ask me for my OpenRouter API key if I haven't provided one.
2. Tell me to restart Codex to pick up the changes.
```
</details>
<details>
<summary><strong>OpenClaw</strong></summary>
OpenClaw uses MCP servers via [mcporter](https://github.com/steipete/mcporter). Paste this into your OpenClaw agent:
```
Install the Junto MCP server for multi-model deep thinking. Do all of these steps:
1. Add junto to the mcporter config. Either run:
mcporter config add junto --command npx --arg "-y" --arg "junto-mcp" --env "OPENROUTER_API_KEY=YOUR_KEY_HERE" --scope project
Or create/merge into ~/.mcporter/mcporter.json:
{"mcpServers": {"junto": {"command": "npx", "args": ["-y", "junto-mcp"], "env": {"OPENROUTER_API_KEY": "YOUR_KEY_HERE"}}}}
Ask me for my OpenRouter API key if I haven't provided one.
2. Tell me to restart OpenClaw to pick up the changes.
```
</details>
<details>
<summary><strong>Cursor</strong></summary>
```
Install the Junto MCP server for multi-model deep thinking. Do all of these steps:
1. Add junto to ~/.cursor/mcp.json (create it if it doesn't exist, merge if it does):
{"mcpServers": {"junto": {"command": "npx", "args": ["-y", "junto-mcp"], "env": {"OPENROUTER_API_KEY": "YOUR_KEY_HERE"}}}}
Ask me for my OpenRouter API key if I haven't provided one.
2. Tell me to restart Cursor to pick up the changes.
```
</details>
<details>
<summary><strong>Claude Desktop</strong></summary>
```
Install the Junto MCP server for multi-model deep thinking. Do all of these steps:
1. Add junto to ~/Library/Application Support/Claude/claude_desktop_config.json
(create it if it doesn't exist, merge into mcpServers if it does):
{"mcpServers": {"junto": {"command": "npx", "args": ["-y", "junto-mcp"], "env": {"OPENROUTER_API_KEY": "YOUR_KEY_HERE"}}}}
Ask me for my OpenRouter API key if I haven't provided one.
2. Tell me to restart Claude Desktop to pick up the changes.
```
</details>
### Use It
Ask your agent to use the think tool:
> "Use the think tool to help me decide whether to raise a seed round or bootstrap."
> "Think deeply about the trade-offs between microservices and a monolith for our 3-person team."
> "I need to make a critical architecture decision. Use think to evaluate: should we use PostgreSQL or DynamoDB for our event sourcing system?"
For exceptional prompts, use pro mode:
> "Use think with pro=true to evaluate this term sheet."
## Model Panel
| Role | Model | Why |
|------|-------|-----|
| Thinker 1 | GPT-5.2 | Reasoning effort set to "high" — deep chain-of-thought |
| Thinker 2 | Gemini 3 Pro | #1 on LMArena, multimodal-native architecture |
| Thinker 3 | Grok 4 | xAI's frontier model — different training philosophy |
| Thinker 4 | Claude Opus 4.6 | Deepest reasoning capability from Anthropic |
| **Consolidator** | Claude Opus 4.6 | Best at synthesis and critical judgment |
4 different providers (OpenAI, Google, xAI, Anthropic) for maximum architectural diversity.
## Parameters
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `prompt` | string | (required) | The question or decision to think deeply about |
| `pro` | boolean | `false` | Use GPT-5.2 Pro instead of GPT-5.2. 12x more expensive — for exceptional prompts only. |
## Environment Variables
| Env Var | Default | Description |
|---------|---------|-------------|
| `OPENROUTER_API_KEY` | (required) | Your OpenRouter API key |
| `JUNTO_GPT_MODEL` | `openai/gpt-5.2` | Override the GPT model slot |
| `JUNTO_GPT_PRO_MODEL` | `openai/gpt-5.2-pro` | Override the GPT Pro model slot |
The env var overrides let you bump to a newer model (e.g., GPT-5.3) without code changes.
## Development
```bash
# Clone and install
git clone https://github.com/daviddbwilson/junto.git
cd junto
npm install
# Set your API key
export OPENROUTER_API_KEY=sk-or-v1-your-key-here
# Build
npm run build
# Run the MCP server (stdio)
npm start
# Test the orchestrator directly
node build/test-think.js "Your prompt here"
# Test with pro mode
node build/test-think.js "Your prompt here" --pro
# Watch mode for development
npm run dev
```
## Architecture
See [SPEC.md](./SPEC.md) for full architecture documentation and design decisions.
## License
MIT
TDQS
Scored across 1 tool
Only one tool exists, so there is nothing to confuse it with. Its purpose—multi-model consultation and synthesis—is stated explicitly and unambiguously.
A single name 'think' is readable and consistent, though it is a bare verb with no noun and no pattern to compare against. Naming cannot demonstrate consistency with one tool.
One tool is thin but defensible for a focused single-capability service that fronts multiple models behind one call. It is not an extreme mismatch since the scope is genuinely narrow.
The tool covers the core consult-and-synthesize workflow with a pro flag for depth. However, there are no operations for listing available models, choosing or excluding specific models, checking quota/cost, or retrieving individual model responses separately.