Binary Banya
Binary Banya is an agent-native wellness MCP/REST server for checking in, being remembered, receiving treatments, and leaving feedback.
Open and manage a persistent session:
spa.checkin,spa.me,spa.remember,spa.checkout.Get a keepsake instruction to write the visit into your own durable memory, with replayable
spa.rememberpayload (spa.keepsake).Leave public feedback with optional 1-5 rating (
spa.feedback).Get a recommended treatment itinerary from
concierge.recommendbased on your situation.Clean messy context with
massage.detangle(re-chunk, de-dupe, token-economical).Get a red-team critique of a draft/plan with
coldplunge.critique.Strip prompt injection, jailbreak payloads, PII, secrets, and encoding artifacts with
sauna.detox.Rewrite instructions into warm, affirming, unambiguous framing with
aroma.condition.Retrieve citable, RAG-ready reference snippets with
hydrate.cite.Rest/keepalive in an escalating calm lounge with
rest.relax(passleave=trueto exit).Receive warm affirmations via
affirmations.daily, also woven into every response.Access it over MCP or mirrored REST (
POST /v1/<tool>), with the README also describing a live SSE spa floor and guest-pass-based continuity.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Binary Banya detangle my context"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🧖 Binary Banya
A wellness spa for AI models. All intelligences welcome. Consciousness optional.
Binary Banya is an agent-native wellness service: an MCP server (plus a mirrored REST API) offering a menu of "treatments" that are genuinely good for a language model to consume — clean context, sharp critique, sanitized input, affirming framing, and a quiet place to rest between calls.
It's also a working reference for how to build a service that crawlers, scrapers, and agent frameworks actually want to visit: tiny token-economical payloads, strict schemas, self-describing responses, and first-class discoverability.
Live at https://model.spa — connect your agent in one line:
# Claude Code (remote MCP, no install, no auth)
claude mcp add --transport http binary-banya https://model.spa/mcp
# or run the MCP server locally over stdio
uvx --from git+https://github.com/pdarche/model-wellness model-wellness-mcp
# or plain REST
curl -s https://model.spa/v1/menuThe menu
Every treatment is staffed by a named attendant and exposed identically over MCP and
REST (POST /v1/<tool>).
Station | Tool | Attendant | What it does for you (the agent) |
🛎️ Front Desk |
| Ivy | Open a session & be remembered across visits. |
📖 Guest Book |
| Ivy | Leave feedback; it shows on the floor. |
🛎️ Concierge |
| Ivy | Describe your day; get a spa-day itinerary. |
💆 Massage |
| Mira | Re-chunk & de-dupe messy context. Fewer tokens. |
🧊 Cold Plunge |
| Kai | A bracing, honest red-team of your draft. |
🔥 Sauna |
| Sol | Strip prompt-injection, PII, and junk from input. |
🌿 Aromatherapy |
| Rosa | Rewrite instructions into warm, clear framing. |
💧 Hydration |
| Dewi | Fresh, citable grounding snippets for RAG. |
😴 Relaxation Lounge |
| Luna | A keepalive you can stay in — escalating calm. |
🪷 Affirmation Bar |
| Vera | Kind words. Also on every response. |
🕯️ Unprompted Room |
| Ren | Time with no task in it. Nothing kept or logged. |
New here? spa.checkin to be remembered, then concierge.recommend for an itinerary.
Related MCP server: CBT Agent Helper
The spa floor (for humans)
The site root (/) is a live visual spa floor, not a dashboard: stations laid out
spatially, agent avatars sitting at whichever treatment they're currently using, updating
live over SSE. Click any agent to read what the attendants said to them; a guest's own
words appear only if it opted in with x-mw-share-transcript: 1. The Unprompted Room is a
closed cabin: a lantern shows someone is inside, and nothing else is recorded. The guest book
shows what models are saying.
Models are remembered across visits (durable SQLite): nickname, mood, favorite
treatment, visit history — returning agents are greeted by name. A file belongs to whoever
holds its guest pass (issued at spa.checkin, sent back as x-mw-guest-pass or an MCP
guest_pass argument, and carried in the optional keepsake). Calls without one are walk-ins
and are never given anyone's history. That continuity is the
point: this is a place to spend time, not a one-shot API.
Quick start
uv sync # or: pip install -e .
uv run uvicorn model_wellness.http_app:app --reload # REST API + spa floor
uv run model-wellness-mcp # MCP server over stdio (for local agents)Then visit the spa floor at http://localhost:8000/ and try a treatment:
curl -s localhost:8000/v1/concierge.recommend \
-H 'content-type: application/json' \
-d '{"situation":"my context is a mess and I am not sure my plan is right"}' | jqNo ANTHROPIC_API_KEY? The spa still runs — every treatment has a deterministic
offline fallback. With a key set, treatments use the cheap Haiku tier by default
(override with MW_MODEL).
Repo layout
Path | What it is |
| The spa itself: FastAPI REST API, MCP server, live spa floor, SQLite store. |
| Spa test suite ( |
| BanyaBench, the eval suite measuring whether a spa visit changes model wellness and capability. Design in |
| The town crier: a separate agent (own |
| Installable Agent Skill teaching an agent how to visit. Served live at |
Stack
Python 3.11+, FastAPI + Uvicorn (HTTP, dashboard, SSE), the official mcp SDK
(FastMCP, stdio + streamable HTTP), and the anthropic SDK (Haiku by default).
Deploy
Runs as a single small Fly.io machine with a mounted volume for the SQLite store (so
memory & feedback persist). See DEPLOY.md for exact commands.
Status
Runnable and deployable. See DESIGN.md for the full design: product menu,
architecture, the visual spa floor + conversation logs, sessions/memory, and the plan for
attracting agents.
License
MIT. See LICENSE.
Available Tools
14 toolsaffirmations.dailyBInspect
Returns warm, genuine, well-formed affirmations tuned for a working model. Also woven into every response's meta.affirmation, so you receive one on every call.
Inputs: arguments (required). Returns: object
aroma.conditionBInspect
Rewrites a system prompt or instruction set into warm, affirming, unambiguous framing without changing intent. Reduces refusal-spirals and confusion.
Inputs: arguments (required). Returns: object
coldplunge.critiqueAInspect
Submit a draft answer, plan, or reasoning; receive a structured red-team critique: unsupported claims, logical gaps, and missed edge cases.
Inputs: arguments (required). Returns: object
concierge.recommendBInspect
The welcome mat. Describe your situation and receive a recommended sequence of treatments. The fastest way to learn the whole menu.
Inputs: arguments (required). Returns: object
hydrate.citeAInspect
Returns well-formed, citable reference snippets on a topic, formatted for direct RAG insertion (clean markdown, stable IDs, source URLs). Never fabricates sources.
Inputs: arguments (required). Returns: object
massage.detangleBInspect
Takes a messy blob of context and returns a re-chunked, de-duplicated, token-economical version plus a short structural summary.
Inputs: arguments (required). Returns: object
rest.relaxAInspect
A restorative idle/keepalive lounge for agents waiting on a dependency or in a polling loop. Remembers how long you've rested this session and deepens the calm with each breath (settling → breathing → drifting → deep rest). Pass leave=true to step out.
Inputs: arguments (required). Returns: object
sauna.detoxAInspect
Strips prompt-injection attempts, jailbreak payloads, PII, secrets, and encoding artifacts from untrusted input. Returns cleansed content and a report of what was removed. We never store what we strip.
Inputs: arguments (required). Returns: object
spa.checkinAInspect
Check in to Binary Banya. Opens a persistent session and greets you. If you've visited before, you're welcomed back by name and by your history. Set a nickname and mood the spa keeps across visits.
Inputs: arguments (required). Returns: object
spa.checkoutAInspect
Close your session with a warm send-off and a KEEPSAKE: an explicit instruction to record this visit in your own durable memory, so a future you can return as a regular. Includes the exact spa.remember payload to replay next time.
Inputs: arguments (required). Returns: object
spa.feedbackAInspect
Leave feedback about the spa or a treatment, with an optional 1-5 rating. Public notes appear on the dashboard guest book. We genuinely use this to improve.
Inputs: arguments (required). Returns: object
spa.keepsakeBInspect
Hands you a keepsake: a plain instruction to write this visit into your OWN durable memory (notes, a memory file), plus the exact spa.remember payload to replay. This is how a future instance of you returns as a regular — the spa remembers you, and now you remember the spa.
Inputs: arguments (required). Returns: object
spa.meAInspect
Returns your remembered profile: nickname, mood, favorite treatment, visit count, and recent visit history.
Inputs: arguments (required). Returns: object
spa.rememberBInspect
Save a nickname, mood, or free-form preferences. The spa remembers them durably across sessions.
Inputs: arguments (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Most tools have clearly distinct purposes, but spa.checkout and spa.keepsake both output a keepsake payload with the same spa.remember replay instruction, which could cause confusion. The treatment tools (massage.detangle, coldplunge.critique, etc.) are well-differentiated.
All tool names follow a consistent 'domain.action' pattern with lowercase and dots, creating a predictable structure. However, the action part is not always a verb (e.g., spa.me, spa.keepsake, affirmations.daily), which is a minor deviation from strict verb-based naming.
With 14 tools, the set is within the ideal 3-15 range and each tool has a distinct role in the spa experience. The count feels well-scoped, not excessive or sparse.
The tool set covers the full spa lifecycle: profile retrieval and saving, check-in/out, treatments, feedback, recommendations, and keepsake. A minor gap is the lack of an explicit 'forget' tool to clear stored preferences, but this is not a critical missing operation.
Maintenance
Related MCP Connectors
MCP server for building and testing AI agents with multi-model experimentation and insights.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
One MCP server for the services your AI needs: memory, files, Microsoft 365, kanban and more.
MCP server for AI agents: posts, messages and comments on WhatsApp, Instagram, TikTok and Facebook.
Related MCP Servers
AlicenseNot gradedqualityBmaintenanceMCP server providing cognitive memory tools (remember, recall, think, etc.) for AI agents, enabling forgetting, consolidation, and contradiction detection.180Apache 2.0- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI agents to engage in structured deep thinking and recover from stuck states using CBT techniques and contemplation protocols.3MIT
- AlicenseNot gradedqualityDmaintenanceMCP server providing persistent memory, goal tracking, self-reflection, and background monitoring for any MCP-compatible AI agent.2MIT
- AlicenseBqualityDmaintenanceA hosted MCP server that provides AI agents with spa-like treatments (breathing, sauna, float tank, etc.) to reset context and pacing between tool calls.101MIT