
Explicit Formula — Second Brain
io.github.travisbergen2Published by GitHub account travisbergen2v0.1.0Updated Oct 27, 2026
Your own notes, searched and cited by your AI — local-only, allowlist-gated, capped, and logged.
The publisher's own server: BrainDog
Overview
Local stdio MCP server that tunes AI agent runtime settings and offers read-only text interpretation and communication-profile tools.
- What you can do
- Diagnose an AI agent from task, environment entropy, predictability, stakes, context horizon and commitment style, and get a five-primitive profile, failure-risk score, predicted regime, runtime settings and a next test
- Detect ambiguity in text, normalize fragmented text into coherent prose, and produce style-specific rewrite instructions
- Route intent across candidate interpretations of a message and decide whether to commit, present options or ask for clarification
- Create a communication-preference profile, recover intended meaning before an action, and render replies for that profile
- When to use it
- Useful when you want deliberate, repeatable settings for an agent instead of guessed ones, or when you want help spotting ambiguous prompts and aligning replies to a stated communication preference.
- Requirements
- Runs as a local process over stdio, launched with npx from the npm package; no authentication, environment variables or headers are declared. The README also describes a hosted read-only endpoint, but the manifest lists only the local stdio package.
Installation
In SourceWeft
- Open Explicit Formula — Second Brain in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
RPCS-1 SDK — AI Agent Tuner
Start with the free tuner: find your AI agent’s likely failure mode, get runtime settings to try, and validate them with a harder case.
RPCS-1 helps teams make agent settings deliberate rather than guessed. Describe the task, change rate, predictability, stakes, relevant context horizon, and commitment style; it returns a five-primitive profile, a runtime recommendation, and a next test. The suite also includes SendRight for catching ambiguous prompts before handoff and the Translation Bridge for profile-aware communication rendering.
Repository Structure
Quick Start — Python SDK
Quick Start — TypeScript Core
Development
Web environment variables are documented in packages/web/.env.example
(Stripe, Resend, license signing, rate limits). MCP production controls are listed under
Production controls below.
The web app deploys to Vercel on Node 24 (region iad1); pushes to main trigger the production deployment.
The Matching Principle
The SDK implements Pred-09-5 from IMM Paper 9:
Stable receivers in an environment with entropy H satisfy TI ~ 1/H.
High-entropy environments → short attention windows (TI ~ 10). Low-entropy environments → long attention windows (TI ~ 90).
Every parameter recommendation traces back to this principle or the basin stability geometry (oscillation/overload/freeze boundary conditions).
Web App
- Free Tuner: https://rpcs1.dev/tuner
- SendRight: https://rpcs1.dev/send
- Translation Bridge: https://rpcs1.dev/translator
- Calibrate a communication-preference profile: https://rpcs1.dev/calibrate
The site can also explain the same product facts in technical, executive, plain-language, or literal-and-precise registers. The explanation changes; pricing, deliverables, and limitations do not.
Brand — Explicit Formula (product) / RPCS-1 (mechanism)
The site fronts one consumer product: Explicit Formula — the box on the
landing page. Explicit: says exactly what it means (the product's one job);
formula: a repeatable method. The wordmark is an advisory-sticker homage
(components/StickerLogo.tsx), deliberately distinct from the trademarked
RIAA label.
The mechanism brand — RPCS-1, the receiver engine, its laws, and its scorecard — is unchanged and renders as "Powered by RPCS-1" in the footer. House rule: outcome on the wrapper, mechanism one click deep.
- The brand is a token:
packages/web/lib/brand.ts. Renaming the product is one env var (NEXT_PUBLIC_BRAND_NAME) or one line — no other code changes. - Every station that used to compete for the nav (SendRight, Bridge,
Translator, Calibrate, Tuner, R&D, …) stays live at its original route and
is indexed at /labs (
packages/web/lib/labs.ts). - The consumer domain follows the deployment: set
NEXT_PUBLIC_APP_URLwhen it goes live. rpcs1.dev remains the mechanism home either way.
SendRight (Interpretation Mirror + Hand-off)
SendRight is the type-and-send front door: type a prompt the way you'd say it out loud, see the readings it actually supports, lock in the one you meant, and hand it to your own model app with one click.
Modules (packages/core):
mirror(text)— deterministic fork detectors (no ML, no API calls). Returns{ clean, readings[], ambiguousSpans[] }. Detectors: compare-or-choose ("X or Y?" questions without an explicit verb), grouping forks ("A and B or C"), scope forks ("only ... and ..."), dangling pronouns, bare objects ("fix it"), external references ("the above"). Contract: silent on clean prompts — zero-fork controls intests/mirror.test.tsenforce it. Pure function, callable from any front end (web box, NL2Build, CLI).applyReading(text, clarifier)— appends the chosen reading's clarifier so the locked interpretation travels with the prompt.buildHandoff(vendor, prompt)/listVendors()— per-vendor capability table for opening the user's own model app with the prompt pre-filled. Prefill URL parameters are undocumented vendor behavior and churn without notice; each entry carries averifieddate and must be re-checked at release. Verified 2026-07-25: ChatGPT, Claude, Perplexity, Grok support URL prefill; Gemini and Copilot are clipboard-fallback only. Logged-out users may lose the prefill at login. All vendors degrade gracefully to clipboard.
Web: /send (packages/web/app/send) renders the box via
components/SendBox.tsx — mirror runs client-side (debounced, zero network);
the hand-off happens in the user's own app. SendRight never makes the model
call and never sees the answer.
Feasibility boundary (honest scope): reasoning-stream digests and mid-generation stop/realign are only possible where rpcs1 itself owns the API call (the fan-out / power-user mode, not yet shipped). They are structurally impossible in vendor chat UIs and via the MCP surface — SendRight's hand-off path intentionally trades those away for zero keys, zero cost, and zero data custody.
MCP Server
RPCS-1 is also available as a public, anonymous, read-only MCP server:
It exposes eight read-only tools across four families:
recommend_agent_configuration— diagnose an AI agent against environmental entropy, predictability, stakes, context horizon, and commitment style; receive runtime settings to try and a next test.interpret,normalize, andrewrite— detect ambiguity, turn fragmented text into coherent prose, and return style-specific rewrite instructions.route_intent— entropy routing over competing interpretations of a message: the calling model proposes candidate readings (paraphrases and priors); the deterministic router computes the posterior and decides commit, present options, or clarify. The commit-vs-clarify authority in the pipeline.calibrate_profile,prepare_prompt, andrender_reply— create a continuous communication-preference profile, recover intended meaning before an action, and render a reply for that profile.
Translation Layer
"Say what you mean. Hear what they meant."
The Translation Bridge treats the profile as a transportable parameter, not a category label. The five-question
Calibrate flow measures communication preferences for rendering only; it is not a psychological assessment or diagnosis.
prepare_prompt / render_reply use that profile on the inbound and outbound sides of an interaction. The canonical
agent-facing specification lives at skills/rpcs1-translation-layer/SKILL.md.
Tuner examples
The first useful call is a support copilot under live pressure:
The output should lead with the five-primitive profile, failure-risk score, predicted regime, runtime posture, and next test to run.
The second useful call is a coding agent in a changing repository:
The output should still lead with the five-primitive profile, failure-risk score, predicted regime, runtime posture, and next test to run.
Connection details and client compatibility notes are available at https://rpcs1.dev/docs/mcp. Practical coding, support, and research examples are available at https://rpcs1.dev/docs/examples.
Hyperagent uses the fixed public OAuth client hyperagent-rpcs1 with PKCE and the registered
callback https://hyperagent.com/api/mcp-servers/callback. No client secret is required.
The MCP surface exposes the deterministic agent-tuning workflow alongside read-only translation and per-user rendering tools. New tools should be added only after their scoring or behavior contracts are implemented and tested in the core package.
Discovery metadata:
-
OpenAPI: https://rpcs1.dev/openapi.json
-
LLM overview: https://rpcs1.dev/llms.txt
-
MCP Registry manifest:
server.json
Production controls:
MCP_HOURLY_LIMITcontrols per-instance MCP throttling (default:120requests per IP/hour).MCP_MAX_BODY_BYTESlimits request bodies (default:65536bytes).MCP_ALLOWED_HOSTSis a comma-separated production host allowlist.MCP_ALLOWED_ORIGINSis an optional comma-separated browser-origin allowlist. Leave it blank to reject cross-origin browser requests.MCP_OAUTH_JWT_SECRETsigns short-lived OAuth authorization codes and access tokens./api/healthreports deployment and MCP readiness metadata.
For globally consistent abuse protection across Vercel instances, configure a Vercel Firewall
rate-limit rule for /mcp. The in-process limiter is defense in depth, not a distributed quota.
Glama Docker checks should build and launch the local STDIO server, not connect to the hosted
https://rpcs1.dev/mcp endpoint. Use this build spec:
License
MIT
Source: README.md at commit 4af6781
Tools
0Version history
1- v0.1.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Brain integrations

BrainDog
dog.brainOfficial publisher
BrainDog is a hosted record of projects, decisions and money that connected AI agents read before starting work and write their results into.

Codebase Brain
Published by GitHub account Nomannazir
Indexes a local or public git codebase so an assistant can search it, trace git history, check change impact and find stale docs, all with path:line citations.

Personal Brain
Published by GitHub account zhang-liz
Gives an AI assistant memory of your professional network, stored as a graph in FalkorDB, so it can look up contacts, find people by topic, and save who you…

Second Brain
Published by GitHub account ara-5
Shared Graph-RAG memory for AI agents: markdown vault, wikilink recall, tasks, messaging.

Make0 Brain
Published by GitHub account make0-official
Local, offline memory server that gives Claude Code, Cursor, Codex and other MCP agents one shared, versioned store of durable facts.