WeighIn
Sends push notifications to an ntfy topic so the human is alerted on their phone when an agent queues questions, and again when the human finishes answering a session.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Your agents ask. You weigh in.
A decision inbox and decision log for AI coding agents. Works with Claude Code, Codex, Gemini and Antigravity CLI, Grok, Cursor, and anything else that speaks MCP.
Quickstart · How it works · Connect your agent · Self-host · API
Brainstorming with an agent usually means answering a stream of questions in real time, in whatever order it thinks of them. Then the reasoning disappears into a transcript that no future session will read.
WeighIn changes both halves of that:
The agent queues its questions as structured cards (pick one, rank, yes/no, scale, a weighted decision matrix) with its reasoning and a recommendation attached. You answer on your phone when you have a minute, and the agent keeps working in the meantime.
Every judgment call lands in one log, whether it came from a card, from chat, or from the agent deciding on its own. Each entry records who decided (you, the model, or both), how big the decision is, what was rejected, and the trail of steps that led there, with the step that tipped it highlighted.
Nothing is lost to compaction. Agents flush their decisions before context is compacted, a hook saves the raw transcript as a backstop, and a fresh session reloads everything with one short brief.
Quickstart
npx weighin serve # API, MCP, and web app on http://localhost:7744
npx weighin install-skill # teaches your agents the protocol
claude mcp add --transport http weighin http://localhost:7744/mcpThen, in any session, try: "Let's plan the offline mode. Queue your questions in WeighIn."
Related MCP server: Nauro
How it works
agent ──weighin_ask──▶ ┌─────────────┐ ──push──▶ your phone
│ WeighIn │ │ answer cards
agent ◀─weighin_answers─│ sessions │◀─────────────┘
agent ──weighin_log───▶ │ decisions │
new session ◀─brief──── │ captures │◀── pre-compaction hook
└─────────────┘Thing | Id | What it is |
Session |
| One brainstorm: a title, a project, a context blurb a stranger could follow, and its questions |
Question |
|
|
Decision |
| What was decided, why, rejected alternatives, a highlighted trail, size, origin, who was involved, and its lineage |
Capture |
| A transcript excerpt saved right before compaction, mined for decisions the agent didn't log |
Filing
Everything is filed three ways, and agents fill all of it in themselves:
Org > project > collection. Projects are created on first use and can be renamed, colored, grouped into orgs, or merged in the app. A collection is the effort a decision belongs to inside a project ("Offline mode", "Launch").
Category. One shared two-level list used by every project (Engineering > Data model, Business > Pricing, ...). It holds one primary category, with optional secondary ones weighted below it. When nothing fits, the agent's suggestion is kept under Other, and you can turn it into a real category with one tap.
So you can ask for "everything open for OP Solutions", "every pricing call across all projects", or "the whole Generalising effort in loadoc".
Size is blast radius: minor (trivially reversible), moderate, major, critical (permanent or expensive).
Origin is how a decision got in: asked (answered on a card), chat (decided with you), auto (the agent decided alone, unconfirmed until you confirm it), or compaction.
Who is stored on every record: the human, the model id, the client app, and the agent's session ref.
Built for agents' context windows
Every tool returns compact text, not JSON. Here's a full brief:
# WeighIn brief: wordbowl-app
3 decisions · 3 minor hidden (min=minor to show) · 1 open session
## Decisions (newest first)
- D47 major · Offline store: expo-sqlite · why: ship speed weighted 2x · not: WatermelonDB [Josh+claude-opus-5-5 2026-11-27]
- D45 moderate · Conflict rule: host phone wins [Josh+gpt-5.5 2026-11-26]
- D44 moderate · Retry policy: exponential 2s-60s [claude-opus-5-5 2026-11-26 auto,unconfirmed]
## Waiting on the human
- S12 "Onboarding flow" (wordbowl-app) 3/7 answered, 1 blocking open https://decisions.example.dev/s/12All five MCP tools together cost about 2,600 tokens of schema. There's a test that keeps it that way.
Connect your agent
WeighIn uses the standards every major agent already supports:
MCP (Streamable HTTP at
/mcp, orweighin mcpover stdio) for the toolsAgent Skills (
skills/weighin/SKILL.md) for the protocol: when to queue vs. ask, how to write a good question, when to log, how to size a decisionOpenAPI (
/openapi.json) andllms.txtfor anything else, including plaincurlHooks where the client has them, for compaction
Per-client setup is in integrations/.
Commands
The skill teaches every agent the same commands:
Say | What happens |
| Log every unlogged decision from this conversation |
| Turn the open questions into a session and send you the link |
| Read your answers and the brief, then act on them |
| Log one decision now |
Compaction, three layers deep
The agent saves first. The skill tells it to flush decisions (
origin: compaction) before it compacts or suggests compacting.The hook catches the rest. On
PreCompact(Claude Code, Codex, Cursor) orPreCompress(Gemini and Antigravity CLI),weighin hook precompactsends the new part of the transcript to the server as a capture. If you've configured an extraction model (any OpenAI-compatible endpoint, including a local one), it pulls out decisions the agent missed and skips the ones already logged. In Claude Code the hook also writes instructions into the compaction summary: keep the logged decision ids, and mark anything unlogged.The next context starts with the brief. On
SessionStartafter compaction (Claude Code, Codex), the hook injects that session's decisions back into context and tells the agent to log whatever the summary marked as unlogged.
See the client matrix for exactly what each client supports.
Self-host
export WEIGHIN_TOKEN=$(npx weighin token)
docker compose up -dVariable | Default | |
| none | Bearer token for agents. The web app asks for it once. Set this on any shared network. |
| Used in links sent to agents and in push notifications | |
|
| SQLite file. In Docker: |
| Default name recorded for the human | |
| ntfy topic for pushes when an agent asks and when you finish answering | |
| Any OpenAI-compatible endpoint for extracting decisions from captures. Off by default; captures are still kept. |
Client side: WEIGHIN_URL, WEIGHIN_TOKEN, and optionally WEIGHIN_MODEL, WEIGHIN_CLIENT, WEIGHIN_HUMAN, WEIGHIN_PROJECT.
One Node process, one SQLite file, no native dependencies. Back it up by copying /data.
API
MCP tool | REST | CLI |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add ?format=text to any REST read for the compact rendering. The full spec is at /openapi.json.
Development
See CONTRIBUTING.md.
License
Apache 2.0. Use it, fork it, ship it in your product. Keep the NOTICE file so Josh Holtzclaw is credited.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Ask people questions, get approvals and keep team decisions, from any AI agent.
Recover project context, review recorded decisions, and steer queued work across AI coding agents.
Decision memory for AI agents: record, revisit, and resolve consequential choices.
Give any AI agent a way to ask a person — for approval, a decision, an answer or a review.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenancePersistent decision memory and contradiction detection for AI coding agents. Enforces architectural consistency across sessions — the agent cannot code until it loads prior decisions. Human resolves conflicts on a dashboard or in chat.1MIT
- AlicenseNot gradedqualityBmaintenanceThe decision system for agentic engineering: keeps your project's decisions, rationale, and rejected paths in plain files and surfaces them to AI coding agents before they plan or change code.10Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to add decision drafts, evidence, and counterarguments to a shared local decision state, while users confirm or reopen decisions in a web console. Prevents unverified agent answers from being silently turned into code.MIT
- AlicenseNot gradedqualityCmaintenanceEnables an AI coding agent to retrieve decisions captured from earlier sessions, returning recent decisions and topic-matched ones cited by id, plus expanded context, all from a local SQLite database. It also renders briefs at session start so later work starts from what was already settled.MIT