Skip to main content

MCP

Give agents the context they keep trying to rediscover.

Repo docs, conventions, gaps, and verified commands - compact MCP tools, same index your team reads.

Quick Answer: To give Claude Code or Cursor codebase context without token bloat, Moxie Docs runs a hosted MCP server at /api/mcp that serves verified, pre-indexed repository context - conventions, docs, gaps, and commands - on demand. Agents make one scoped lookup instead of re-crawling the whole repo every prompt, so they spend far fewer tokens and stop guessing at your house rules.

Setup guides: Cursor, Claude Code, Codex, Windsurf, Cline & Roo Code, GitHub Copilot · All integrations

  • Fewer tokens. One scoped lookup instead of dozens of file reads.
  • Never stale. Re-checked on every merge - agents see what code does now.
  • Read-only. Context only - never billing, settings, or merge.

CLI on GitHub · Pricing

Works with Cursor, Claude Code, Codex, and Windsurf

  • Cursor
  • Claude Code
  • Codex
  • Windsurf

Task: add retry handling to the billing webhook

Without Moxie Docs

read package.json

grep "webhook" · 38 matches

read api/billing/route.ts

read lib/billing/stripe.ts

read 11 more files…

grep "retry" · 24 matches

still inferring conventions

Every prompt, every task

With Moxieread-only

→ get_conventions()

12 rules · paths cited

→ get_doc_impact(billing/route.ts)

2 docs to update in this PR

→search_docs("webhook retries")

top hit: billing webhook behavior

ready to write

Three scoped lookups

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.

The toolbox

12 tools, one continuously updated index.

Everything an agent should know before editing, and the tools to land doc updates in the same PR as the code change.

  • moxie.get_conventions

    Returns categorized repo conventions, confidence, and evidence paths agents should follow before editing.

  • moxie.search_docs

    Searches generated docs and source-linked explanations for implementation details, APIs, flows, and patterns.

  • moxie.list_docs

    Lists every generated doc as a paginated table of contents, grouped by section, so agents can browse what already exists before adding more.

  • moxie.get_doc_gaps

    Lists missing or stale documentation areas with severity, summaries, and suggested doc paths.

  • moxie.get_documentation_opportunities

    Lists recommended documentation updates agents should consider while planning or finishing code changes.

  • moxie.get_documentation_patterns

    Explains where this repo keeps docs today so generated updates follow the team's existing structure.

  • moxie.get_ai_context

    Provides compact agent-ready context: setup status, commands, conventions, docs, gaps, and team notes.

  • moxie.get_doc_impact

    Given the file paths an agent plans to change, returns the matching conventions, doc gaps, and existing docs to update in the same PR, and flags net-new or undocumented paths.

  • moxie.get_api_context

    Given the files an agent is about to touch, returns the API endpoints they map to with method, path, request and response schema, and known consumers.

  • moxie.review_change

    Self-reviews a change before the PR opens: flags convention breaches, docs the change makes false, undocumented new surface, and doc references broken by deletions.

  • moxie.propose_doc_update

    Resolves where a doc should live and returns the path and content for the agent to write into its own branch, so docs land in the same PR as the code change.

  • moxie.propose_doc_removal

    Validates and returns the path of a now-irrelevant Moxie Docs-tracked doc so the agent deletes it in the same PR as the code change.

Plus slash commands & an auto-installed skill

  • /moxie-docs:document-this-changeRuns Moxie Docs' doc-impact check on your changed files and walks the agent through landing the doc updates in the same PR.
  • /moxie-docs:fix-stale-docsSurfaces this repo's open doc gaps and drift, then guides the agent to repair them.
  • /moxie-docs:review-before-finalizeRuns Moxie Docs' guardrail over your diff before the PR opens and lists convention breaches, docs the change makes false, and undocumented new surface.
  • moxie-docs skillAuto-committed to your repo. Triggers when an agent edits code and points it at live Moxie Docs context before it opens a PR - no extra setup.

Setup

Works where your agents already work.

The fastest way

$ npx moxie-docs setup

Sign in, configure your editor, and install the skill - one command.

Open source on GitHub →

Prefer manual setup?

Wire up any MCP client by hand. OAuth-capable clients can sign in without a token; use a repo token for everything else.

  1. 01

    Create a repo token

    Encrypted. Reveal, rotate, or revoke anytime.

  2. 02

    Add the endpoint

    Copy-paste configs for each client in the dashboard.

  3. 03

    Agents read first

    Conventions, docs, and gaps before the first edit.

FAQ

MCP questions, answered.

What teams ask before pointing their agents at the Moxie Docs MCP endpoint.

Your agents are re-reading the repo right now.

Connect a repo and the MCP endpoint goes live with the first index.