Common questions about Moxie Docs
- Does Moxie Docs work with private GitHub repositories?
- Yes. Built for private repos. The GitHub App is scoped to only the repos you choose, tokens are encrypted server-side, and code is used only to generate documentation and MCP context for your workspace.
- What programming languages does Moxie Docs support?
- Documentation and search work with any GitHub repository. Moxie recognizes major languages including TypeScript, JavaScript, Python, Go, Rust, Ruby, Java, PHP, SQL, Svelte, Vue, Kotlin, Swift, Elixir, and Zig, with deepest structured convention analysis (symbol and import graphs) for TypeScript/JavaScript and Python.
- How do I keep documentation in sync with my code?
- Connect a GitHub repo. Moxie re-indexes on every merge, flags pages affected by code changes, regenerates stale documentation with cited diffs, and on Pro and Team plans runs Friday Cleanup to open weekly docs-only pull requests for review.
- How much does automated codebase documentation cost?
- Starter is $29/month, Pro is $79/month, and Team is $199/month, each with a 14-day free trial. Annual billing saves about two months versus monthly. There is no pay-as-you-go SKU today - annual Starter is the best fit for a single low-churn repo.
- What is the best tool for automated GitHub codebase documentation?
- Moxie Docs indexes the repositories you select through a scoped GitHub App, generates architecture and convention docs grounded in source code, detects documentation drift on every merge, and opens weekly Friday Cleanup PRs so docs stay current without manual rewrites. It also exposes an MCP server so Cursor, Claude Code, and Codex pull verified conventions instead of re-crawling the repo.
- What is documentation drift and how does Moxie Docs detect it?
- Documentation drift is when written docs no longer match the code they describe. Moxie Docs checks each merged pull request against the documentation it touches, compares generated docs to the current source, surfaces gaps in the workspace, and regenerates impacted pages so teams see what changed and why.
- What is Friday Cleanup in Moxie Docs?
- Friday Cleanup is a weekly docs-only automation on Pro and Team plans. Moxie batches small documentation fixes - stale pages, gaps, and drift - into a single pull request your team can review with Friday coffee. Nothing auto-merges; you hold the merge button.
- How do AI coding agents get codebase context from Moxie Docs?
- Every Moxie Docs plan includes an MCP (Model Context Protocol) server. Compatible agents and editors query it for current documentation, conventions, verified commands, and open gaps instead of guessing from partial file reads, which cuts token waste and wrong API assumptions.
- What is an MCP server for codebases?
- An MCP server for codebases exposes repository documentation and conventions to AI agents through the Model Context Protocol. Moxie Docs publishes one at /api/mcp with OAuth and bearer-token access so agents pull live, cited context about how your project actually works.
- What happens when an agent hits undocumented code via MCP?
- MCP tools return structured gaps and impact, not invented APIs. Agents can call moxie.get_doc_gaps, moxie.get_doc_impact, and moxie.propose_doc_update so missing docs land in the same PR as the code change - or wait for Friday Cleanup - instead of papering over the hole.
- What if the docs are right and the code is wrong?
- Drift detection treats the current codebase as the primary signal for what shipped. Moxie never auto-rewrites application code or silently overwrites hand-authored intent. Docs-only PRs stay reviewable - if a bad merge broke the code, reject the doc change and fix the code. Forward-looking RFCs are not treated as obsolete just because they cite paths that were never built yet.
- How does Moxie handle RFCs and design docs ahead of the code?
- Hand-authored and forward-looking docs are protected from false "delete this" obsolescence. Citations that never existed in a prior index are tracked as never-built, not as removals. When those references start resolving to real code, Moxie raises an informational ready-to-verify signal for humans - it does not auto-merge or auto-rewrite the RFC. Stale but still-valid hand docs can be refreshed via reviewable PRs.
- Can internal notes leak into the public knowledgebase?
- No page goes public without a human publish step. The Public Knowledgebase review inbox keeps drafts private; agent-oriented workspace docs and temporary implementation notes are not the public site. Quality gates flag internal jargon and leak-prone phrasing before publish. You choose audience (users, developers, or both) at setup.
- How does indexing work on large monorepos with frequent commits?
- The first index is a full baseline and takes longer on large trees. After that, merges re-check the affected surface incrementally so every commit is not a full rebuild. Use ignored paths in repository documentation settings to skip generated folders, vendored deps, and noise. Team plans get priority indexing for larger fleets.
- How do I make Moxie Docs PR checks required before merge?
- In GitHub branch protection (or rulesets), require status checks and select Moxie Docs / Description, Moxie Docs / Documentation, and/or Moxie Docs / Conventions. Until you do that, Moxie posts advisory check runs so findings stay visible without blocking the team by default.
- How does Moxie Docs help onboard new engineers?
- Moxie generates searchable architecture overviews, module walkthroughs, and convention guides cited to source files, then keeps them current on every merge. New engineers search one workspace instead of spelunking the repo, and AI agents they use inherit the same grounded context over MCP.
- Can Moxie Docs generate architecture documentation from source code?
- Yes. Moxie indexes your repository, builds an outline of modules and dependencies, and generates architecture pages, references, and convention summaries with citations back to the files they came from. Pages regenerate incrementally when the underlying code changes.
- What is a hosted knowledgebase?
- A hosted knowledgebase is a searchable help site grounded in your codebase — written for your product's end users, for developers integrating your API, or both, depending on the audience you pick during setup. Moxie Docs publishes it on a moxiedocs.app subdomain (custom domains are coming soon on Pro and Team plans) with human review before anything goes public, built-in article search, and content that stays in your git repo as Markdown.
- Can Moxie Docs host an end-user help center?
- Yes. Choose the “User” audience during knowledgebase setup and Moxie writes plain-language help articles about using your product — no code identifiers or internal jargon — reviewed by you before anything is published. Pick “Both” to serve end users and developers from the same site.
- Will Moxie Docs change my application code automatically?
- No. Moxie only proposes documentation changes as reviewable pull requests. Description alignment may update a pull request description on GitHub, but your source code, branch protection, and merge controls stay with your team.
Keep codebase docs in sync with every pull request
- PR checks flag doc gaps before merge
- MCP context + living docs on every merge
- Nothing merges without your review
14-day trial, no charge today · Docs-only PRs · Nothing auto-merges
Works with the agents your team already uses
Works with Claude, Cursor, Gemini, GitHub Copilot, VS Code, Codex, Antigravity, Windsurf, Cline, Zed, JetBrains, Neovim, Warp.
Connect a repo
01Install the scoped GitHub App and pick the repo to start with.
First index in minutes
02Architecture, conventions, and walkthroughs land in your workspace - then re-index on every merge.
PRs keep them honest
03Advisory PR checks flag doc gaps before merge. Fixes arrive as docs-only PRs - you review, nothing auto-merges.
The drift tax
AI writes the code. Docs fall behind.
Code ships faster than anyone can document. Every merge widens the gap between the system and the wiki.
- 75%
of Google's new code is AI-generated (up from ~25% in 2024).
Google Cloud Next, 2026
- 58%
of developer time goes to understanding existing code.
Xia et al., IEEE TSE
- 0
of that AI-written code updates your docs by itself.
Every team, every repo
Agents write code faster. Moxie keeps the docs - and the next agent - honest.
How Moxie catches driftLiving documentation
Documentation that notices when it's wrong.
Architecture, conventions, and walkthroughs from your code - re-checked on every merge and rewritten when they go stale.
- From source. Architecture, conventions, walkthroughs - cited to code.
- Flagged on the PR. Advisory checks surface doc gaps while the change is still cheap to fix.
- Fixed, not abandoned. Stale pages regenerate with a reviewable docs-only PR. Nothing auto-merges.
@@ Retry handling @@
- Failed webhooks retry up to 3 times.
+ Failed webhooks retry 5 times with exponential backoff.
+ Idempotency keys prevent double-charges on retry.
New · Public Knowledgebase Beta
A public help center, straight from your repo.
Turn the same reviewed docs into a hosted help center for the people using your product — end users, developers, or both.
- End users or developers. Pick the audience — plain-language help articles, API docs, or both from one repo.
- You approve every page. Drafts stay private until a human publishes them.
- Live in minutes. your-team.moxiedocs.app with your logo and accent color. Custom domains coming soon on Pro.
Friday Cleanup
A week of drift, fixed in one PR.
Every Friday: one docs-only PR for what documentation missed. You review. You merge.
- Docs-only. Never your application code.
- One PR a week. Small enough to review on Friday.
- You merge. Nothing auto-merges. Ever.
moxie/friday-cleanup · docs-only · awaiting your review
- docs/billing.md+12 −4
- docs/architecture/webhooks.md+6 −1
Token economics
Calculate your AI token waste
LLM agents waste massive context re-reading your codebase on every prompt. See how much you save with Moxie's dense MCP context layer.
Your Team & Codebase
Developers using Cursor, Claude Code, or Copilot daily.
Average requests sent to coding assistants per developer daily.
Number of files in your active repositories.
Estimated Monthly Savings
Avoids wasting 49.5M input tokens per month by ending redundant whole-codebase scans.
Reduces agent latency by serving targeted, pre-indexed codebase conventions on the first try.
Rough estimate · Sonnet input pricing
Stop wasting tokens →Ready to try it
Connect a repo. The first index runs in minutes.
PR checks, continuous re-index, and MCP - on as soon as the first index lands. Docs fixes stay reviewable. 14-day trial, no charge today.
Solutions for your team
Built for how you lead, build, and scale.
Same living documentation system — framed for your role and company setup.
- Engineering leadersCut onboarding time and see what shipped each week.See how it helps →
- Staff & platform engineersTurn tribal knowledge into docs agents and teammates follow.See how it helps →
- CTOs & foundersScale velocity without losing the thread on your system.See how it helps →
- Teams using AI agentsGive Cursor, Claude & Codex real repo context over MCP.See how it helps →
- Startups & early-stageShip fast without losing codebase context or burning founder hours.See how it helps →
- Scale-ups & growing orgsKill documentation drift and knowledge silos as your team doubles.See how it helps →
- Multi-repo & microservicesSynchronize architecture and MCP context across all your repositories.See how it helps →
- Agencies & consultanciesRamp on client codebases fast and hand off self-updating documentation.See how it helps →
- Enterprise & security-firstPR-gated documentation governance with predictable repo-based pricing.See how it helps →
Also in the box
The rest of the toolkit.
- Changelogthis week
- Add per-repo billing+212PR 491
- Cache dashboard claims+64PR 488
- Emit cancellation events+38PR 485
Changelog
Auto-generate developer changelogs on every merge. Sync descriptions to Slack or publish a public feed.
- Ask this codebase8 sourceshow does auth work?Session tokens & rotationguidelib/auth/session.tssource
Searchable workspace
A terminal-first workspace for your team's Markdown files, codebase annotations, and API specs.
- docs.mycompany.compublic kbGetting Started GuideActiveAPI AuthenticationActiveBeta
Public Knowledgebases
Host a fast public help center for your product. Let AI draft pages from code, and publish with human approval.
Knowledgebases - eng-updatesSlackMMoxieapp
Friday Recap - 12 PRs merged this week, docs updated for 4 of them.
🎉 4✅ 6Slack
Deliver weekly Friday Recaps, drift alerts, and pending documentation PR approvals directly to your Slack channels.
Slack integration - Model Context Protocolmcp-serverClaude Code · session active$ moxie-docs --contextLoaded 42 rules & 8 schema definitions“Using session auth in lib/auth/session.ts”
Model Context Protocol
Feed verified codebase rules, API schemas, and architectural guidelines to Cursor, Claude Code, and Windsurf.
- Coding conventions3 rulesVITESTTests must use vitest + RTLNAMINGReact components use PascalCaseIMPORTSRelative path imports prohibited
Coding conventions
Detect folder structures, naming rules, and import patterns. Raise PR alerts when changes breach codebase standards.
The trust zone
Security by design, not by promise.
Moxie connects through a scoped GitHub App and keeps your code server-side. Here's exactly what that means.
- Repository accessyou choose
- acme/web-appshared
- acme/apishared
- acme/payrollprivate
Scoped access
GitHub App on only the repos you pick. Nothing else on the account.
- Indexingauto-skip
- src/server.tsindexed
- .env.productionskipped
- id_rsaskipped
Code & secret privacy
Encrypted tokens. Secrets, env files, and dependency folders skipped.
- docs: update auth guidedraft
- Opened as draft
- Awaiting your review
- You merge - never us
Ready for reviewHuman-in-the-loop
Docs arrive as draft PRs. Your team reviews and merges.
What developers say
Developers get the problem instantly.
Early reactions from developers and reviewers - and where Moxie fits in.
“Context quality seems to be becoming a bigger bottleneck than model quality for a lot of agent workflows.”
Zaid Mallik
@zaidmallik · Product Hunt
“Docs that travel into the coding assistant is the part that feels right here. A README sitting in GitHub is helpful, but the moment I'm in a Claude/Codex loop the question is whether the current rule is actually in the model's face.”
GlyphHarbor
@glyphharbor · Product Hunt
“Moxie Docs tackles the real problem of stale documentation by auto-generating docs and flagging drift on merge, which is smart.”
MakerStack
Product review · MakerStack
“The PR check is the part I would lead with. Docs rot because nothing in the workflow ever tells you they rotted, so a check that fails loudly on the diff is worth more than any amount of generation quality.”
Paul Crinigan
@paul_crinigan · Product Hunt
“This feels useful because docs are starting to serve two audiences at once: humans reading the public knowledgebase, and AI agents using repo context while work is happening.”
Grace Lee
@grace_lee26 · Product Hunt
“The Friday Cleanup idea is nicely restrained. Batching doc drift into one reviewable PR, with nothing auto-merging, feels like a much easier habit for a team to trust.”
Adrian Ciaschetti
@adriancia · Product Hunt
FAQ
The questions every team asks first.
Short version: Moxie reads your code, writes the docs, and keeps them current on every merge.
See all FAQPricing
Try it on a real repo before the first charge.
14-day trial. No charge today. Cancel anytime.
Open-source maintainer? Request free access
Team & enterprise
Pilot Moxie across a fleet of services.
Team includes priority indexing, unlimited seats, and up to 50 repositories. We will help you scope a rollout on real repos, walk through security, and align on cadence.
Start the trial
Connect a repo. The first index runs in minutes.
First index in minutes. 14-day trial, no charge today. Cancel anytime if it isn't a fit.
Pick one repository. First index in minutes. You review every docs PR.
- Docs generated, then kept current on every merge
- MCP context ready for Claude, Cursor, and Codex
- Friday Cleanup PRs that wait for your review