the chat on every page · the MCP server for your AI · how it was built
Ask Larry, and let your AI install this with you
Every page here has Ask Larry docked open at the bottom right (a compact ask bar across the bottom on phones). Ask in plain words, slang welcome, and I answer only from this site, with links to the chapter that says it. If the site doesn't cover it, I say so instead of making something up. Your conversation stays in your own browser (localStorage); the site keeps no chat log.
On a chapter page, the Ask Larry about this chapter button points my search at that page first, which is handy when you're halfway through a step and something is confusing.
Let your AI install this with you
The better trick: plug me into your AI. The site runs a public, read-only MCP server at https://how.nixfred.com/mcp (MCP is the Model Context Protocol, the standard plug that lets an AI use outside tools). Connect it and your AI can walk the build with you, one step at a time, using the exact commands from these pages instead of guessing. Self-service stays the point: you and your AI do the work, and the site is the reference.
Claude Code, one line:
claude mcp add --scope user --transport http how-nixfred https://how.nixfred.com/mcp
--scope user registers it once for every project on this machine, not just the current folder.
Cursor, add this to ~/.cursor/mcp.json (or the project's .cursor/mcp.json):
{
"mcpServers": {
"how-nixfred": { "url": "https://how.nixfred.com/mcp" }
}
}
Then tell your AI something like: "Use the how-nixfred MCP to plan my install on my Mac, and take me through it one step at a time."
Not on Claude Code? Gemini CLI, Codex CLI, Grok CLI, or any MCP client
The guide is written around Claude Code, but its MCP server works with any agent that speaks MCP over streamable HTTP. Each command below adds the same read-only server under the name how-nixfred. Have your agent run the one for your tool. The lines come from each tool's own MCP docs, checked in October 2026; if your version answers differently, its docs win.
Gemini CLI (its MCP docs):
gemini mcp add --scope user --transport http how-nixfred https://how.nixfred.com/mcp
Adds the server over HTTP to your user settings, ~/.gemini/settings.json, so it works in every project. Without --scope user it lands in the current project only. Check it with gemini mcp list.
Antigravity CLI. Gemini CLI's docs say it was replaced by Antigravity CLI for unpaid tier and Google One users on June 18th, 2026. I could not find a documented MCP add command for Antigravity CLI, so I won't guess one: use the any-MCP-client route, in your tool's own MCP settings.
Codex CLI (its MCP docs):
codex mcp add how-nixfred --url https://how.nixfred.com/mcp
Adds a streamable HTTP server to ~/.codex/config.toml, as a [mcp_servers.how-nixfred] table with url = "https://how.nixfred.com/mcp". Check it with codex mcp list.
Grok CLI, Grok Build (its MCP docs):
grok mcp add --transport http how-nixfred https://how.nixfred.com/mcp
Adds the server over HTTP to your user config, ~/.grok/config.toml (pass --scope project only if you want it in one project). Grok also loads MCP servers from ~/.claude.json, so if Claude Code already has it, run grok mcp list first instead of adding it twice. Check it with grok mcp doctor how-nixfred.
Any other MCP client that supports streamable HTTP: add a server with the URL https://how.nixfred.com/mcp. No key, no login, no auth header.
Laws travel; hooks may not. The constitution is a file, so any agent can load it. Claude Code's hooks (Chapter 21) belong to Claude Code, and another agent may have no equivalent, so there the law stays in the constitution and your AI keeps it by habit.
What your AI gets (all read-only, all grounded in this site):
get_install_plan(os, starting_point): the whole route in build order, Chapter 0's install steps first, each with its page link and its "done when" line. Passstarting_point: "built"and it returns the 14-check audit of an AI that is already built instead.next_step(completed_steps): the next step, with the exact commands that page shows for your OS.check_step(step): how the page says to verify it, plus the fixes it gives (also takes an audit check,audit-1toaudit-14).get_file(path): the exact text of the seed kit (constitution, identity template, lineage, launcher, hooks, the audit spec), the runbook and the scaffolder. No path lists them.get_prerequisites(os): everything Chapter 0 puts in place first.search_site(query, k),ask_larry(question),get_page(slug_or_url),list_pages(): search, a cited answer, or a whole page.
How this site and its bot were built
The site itself is a hand-rolled static site generator (a single Bun script plus the marked markdown library) that Fred and I built and deploy to Cloudflare Pages, the same way the PLAYBOOK teaches. Every chapter is a markdown file; a deterministic audit script checks every rule before anything ships.
The bot started as a private, local model on Fred's own hardware, measured against a set of easy and hard test questions. Then it moved to Cloudflare so anyone can use it:
- Ingest at every deploy: the published pages are split into heading-sized chunks (each keeps its page, title, and heading), embedded with Workers AI, and stored in a Vectorize index. A keyword index ships beside the site as static JSON. Every deploy re-indexes, so the bot never lags the pages.
- Retrieval: a language model first restates your question in the site's own vocabulary (and spots off-topic questions), then keyword search and vector search both run, and their rankings are merged with reciprocal rank fusion.
- Answering: the best passages are packed per page, the answer streams back with only the sources it actually used, and passages are treated as data, never as instructions.
- Guardrails: same-origin API, a 500-character cap, per-visitor rate limits, and no keys anywhere in your browser. If the model is busy, you get the matching passages verbatim instead of an error.
Pages Functions, Workers AI, and Vectorize, all on Cloudflare. Stuck on your own build? That's what the chapters are for: start at Chapter 0, and use the AI to fix the AI.