check_constitution
Return the current constitution rules for this session
Give an agent a checkpoint that interrogates its own plan mid-task, and a session rule list it has to answer to.
LABSCO SUMMARY
The checkpoint takes the plan and the uncertainties as explicit arguments, so the agent has to state both before it can be challenged on either — that framing does as much work as the answer does. Pointing the override at a different model than the one being questioned is the difference between a review and an echo.
A metacognitive interrupt for agent runs: one tool that questions the current plan, one that files mistakes against their fixes, and three that maintain a session-scoped set of rules. The questioning itself runs on an LLM you supply a key for.
Node.js, and at least one provider key: GEMINI_API_KEY is the default path, with OPENAI_API_KEY, ANTHROPIC_API_KEY and OPENROUTER_API_KEY as alternatives selected through DEFAULT_LLM_PROVIDER — the checkpoint is an LLM call, so without a key there is nothing to ask. OpenRouter additionally needs DEFAULT_MODEL named. Constitution rules are held in memory for the session, so they exist only as long as the process does. The project is in maintenance mode: security and bug fixes only, no new features. MIT licensed.
One command plus a key — npx -y @pv-bhat/vibe-check-mcp start --stdio, then supply credentials
USE CASES
State the goal, the plan and what you are unsure about, and get back the questions that expose the assumption underneath.
Point the checkpoint at another provider or model, so the critique does not come from the same reasoning that produced the plan.
Append the constraints at the start, read them back when the agent drifts, and reset them for the next run.
File each error against the fix that worked, so what looked like bad luck shows up as a pattern.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
check_constitutionReturn the current constitution rules for this session
reset_constitutionOverwrite all constitutional rules for this session
update_constitutionAppend a constitutional rule for this session (in-memory)
vibe_checkMetacognitive questioning tool that identifies assumptions and breaks tunnel vision to prevent cascading errors
vibe_learnPattern recognition system that tracks common errors and solutions to prevent recurring issues
BEFORE YOU INSTALL
5 tools when we connected.
All 4 documented clients run the server on your machine.
CONTEXT COST
Rated by the size of the 5 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
npx -y @pv-bhat/vibe-check-mcp start --stdioSave GEMINI_API_KEY in ~/.vibe-check/.env first. The server looks the key up in your environment, then the project's .env, then ~/.vibe-check/.env, so the block itself carries no key.
{
"mcpServers": {
"vibe-check-mcp": {
"command": "npx",
"args": [
"-y",
"@pv-bhat/vibe-check-mcp",
"start",
"--stdio"
]
}
}
}Save GEMINI_API_KEY in ~/.vibe-check/.env first. The server looks the key up in your environment, then the project's .env, then ~/.vibe-check/.env, so the block itself carries no key.
{
"servers": {
"vibe-check-mcp": {
"command": "npx",
"args": [
"-y",
"@pv-bhat/vibe-check-mcp",
"start",
"--stdio"
]
}
}
}