Live MCP server — Claude Code · Cursor · Copilot

Your codebase, written.

Wright AI auto-generates docstrings, detects drift, and exposes your codebase to AI tools via MCP — inline in your editor, enforced in CI.

wright — zsh — 80×24
6
Languages Supported
4
Docstring styles
0
Config required
Free
No Credit card required

The problem

Documentation always loses
to shipping speed.

01 / Docs rot

Docs go stale the moment code ships.

Without
⚠ processPayment — drift detected
⚠ validateCard — undocumented
⚠ handleWebhook — stale

Engineers ship, docs rot. No one notices until production breaks.

Wright
✓ processPayment — docs current
✓ validateCard — documented
✓ handleWebhook — up to date

Every commit checks drift. Stale docs block the PR before they merge.

02 / Onboarding

New engineers lose days reading unfamiliar code.

Without
> how does auth work?
— reading 47 files...
— still confused

Days of context-reading. Tribal knowledge. Hope someone answers on Slack.

Wright
> wright chat — how does auth work?
JWT via validateToken() — auth/middleware.ts:14
↗ 2 sources cited

Ask anything. Get a sourced answer with exact file and line in seconds.

03 / AI context

AI tools start blind to your codebase every session.

Without
Claude: "I don't have context
about your codebase. Could
you paste the relevant code?"

Paste code every session. Lose context. Repeat. Hours wasted.

Wright
[MCP] wright: search_docs called
✓ 847 functions indexed
Claude: "Auth uses JWT — here's how..."

MCP server feeds Claude Code, Cursor, and Copilot your live docs automatically.

How it works

Everything your codebase needs.

payments/core.ts
10
// @Wright: Generate Docs ↑
11
 
12
/**
13
* Process a payment transaction.
14
* @param amount - Payment amount in paise
15
* @param card - Card details (CardInput)
16
* @returns PaymentResult with status + txId
17
* @throws InvalidCardError on bad card
18
*/
19
 
20
async function processPayment(
21
amount: number,
22
card: CardInput,
23
): Promise<PaymentResult> {
24
// ...
25
}
01 / Generate

One command generates docs for your entire codebase.

Wright reads each function's structure, callers, and callees — then writes a complete docstring in your team's style. Preview the diff before anything changes.

Reads callers and callees for full context — not just the function body
Preview the diff before a single line is committed
Supports JSDoc, Google, NumPy, and Sphinx styles out of the box
12% → 73%
typical first-run coverage jump

Get started

Works wherever you work.

Four integration points. Pick one or use them all.

VS Code Extension
One-click install

Install from the Marketplace, paste your Wright key, and click Generate Docs above any function. No config files, no terminal.

Inline lens above every undocumented function
Diff preview before anything is written
Drift warnings appear in the gutter as you type
Free · VS Code Marketplace
Install from Marketplace
Command Line
pip install wright

Full-featured CLI. Generate docs, measure coverage, detect drift, and chat with your codebase — all from your terminal.

Run once to doc an entire repo in seconds
Coverage report by folder, file, and function
Interactive chat with sourced file citations
~/projectpip install wright
wright init .
wright generate src/
wright coverage --report
wright chat
GitHub Action
Enforce in CI

Block PRs that drop below your coverage threshold or merge with stale docstrings. Add one step to your workflow.

Fails CI if coverage drops below your threshold
Blocks merges with detected doc drift
Posts a coverage summary comment on each PR
uses: surajs1999/WrightAI@v1
with:
mode: coverage
threshold: "0.8"
MCP Server
Live AI context

Exposes search_docs, get_function_doc, and list_undocumented to any MCP-compatible AI tool. Docs stay in sync as you code.

Claude CodeCursorCopilot
{
"mcpServers": {
"wright": {
"command": "wright-mcp"
}
}
}

Dashboard

Everything in one place.

Coverage, drift, chat, and keys — all from a single dashboard your whole team can use.

app.wrightai.dev/dashboard
WrightAI/my-project
MCP live
SS
Navigation
Coverage
73% — 7% below target
Total Functions
847
across 12 files
Coverage
73%
target: 80%
Drifted
12
needs fixing
Last Run
2m
ago · commit a3f8d2c
Recent activity
Generated 41 docstrings in payments/2 min ago
Drift detected in auth/middleware.ts — PR #214 blocked18 min ago
Coverage check passed — 73% ≥ threshold1 hour ago
MCP server re-indexed 847 functions3 hours ago
Start for free
FROM THE COMMUNITY

Loved by developers

Teams ship faster when their codebase can speak for itself.

What should Wright write next?

Every message is read. Your feedback shapes what gets built next.

feedback — wright

⌘ + Enter to send · No spam, ever

SC
MW
PN
TL
AR
JP
Trusted by 500+ developers

Documentation that writes itself, stays current,
and speaks to AI.

Stop writing docs manually. Let Wright handle it — from generation to drift detection to MCP.

Start for freeRead Documentation
Free to start
No credit card
Set up in 60 seconds