12 languages. JSDoc, PyDoc, Javadoc, Doxygen and more.
Bring your API key — your code never touches our servers.
Or install the CLI and document your entire codebase from your terminal.
Copilot, ChatGPT, and Cursor read your comments to understand developer intent. What comments describe code. Why comments explain the decision — trade-offs, edge cases, reasoning.
poly-glot comment src/auth.js in your terminal--why or --both flags for Pro modesCreate a free account, paste your OpenAI, Anthropic, or Google key, and generate documentation instantly. Your key goes directly to the provider — never to us. Get an Anthropic or OpenAI or Google AI Studio key ↗ · or install the CLI ↗
Your documented code will appear here
RAG-ready · GEO-optimized · Documented
Comment code from your terminal. poly-glot-ai-cli is a zero-dependency command-line tool for batch commenting, CI/CD pipelines, and scripting — powered by the same AI engine as the web app.
AI coding assistants like Copilot, ChatGPT, and Claude actively read and interpret your comments to understand intent, context, and business logic. Well-written comments are instructions for AI.
Context-aware AI chat built right into the tool. Explain functions, find bugs, suggest refactors, write tests — paste any code and get instant answers.
💡 Want to generate doc-comments for your code? That's the core product — use the generator above ↑ or the CLI. The assistant handles Q&A, debugging, refactors, and tests.
💻 Also available in VS Code Extension — View on Marketplace ↗Select code → keyboard shortcut → documented code appears inline. Supports Doc, WHY, and Both modes with full Pro plan gating.
@poly-glot /commentType @poly-glot in GitHub Copilot Chat. Select code, run a command, get documentation — all without leaving your editor.
Legacy codebases are a minefield of undocumented decisions, tribal knowledge locked in the heads of engineers who may have already left, and comment styles that vary wildly between files, teams, and decades of contributors. Poly-Glot gives engineering teams a repeatable, AI-powered workflow to bring legacy code up to modern documentation standards — without a costly rewrite.
--diff flag lets you review every AI-generated comment before it lands, so your team stays in control throughout the migration.
Goose, Claude Desktop, Cursor, Windsurf — any MCP client can call Poly-Glot's tools directly. Document, explain, and analyze code without leaving your workflow.
{
"command": "npx",
"args": ["-y", "poly-glot-mcp"],
"env": {
"POLYGLOT_SESSION_TOKEN": "pg_...",
"POLYGLOT_PROVIDER": "openai",
"POLYGLOT_API_KEY": "sk-...",
"POLYGLOT_MODEL": "gpt-4.1-mini"
}
}
POLYGLOT_SESSION_TOKEN from poly-glot.ai/dashboard → Account → API Token. Requires Pro or above.
Install once — Poly-Glot AI reviews every PR automatically. It scans changed files, detects missing documentation, and posts inline JSDoc, PyDoc, Javadoc, or Doxygen suggestions as review comments.
Custom pricing for large teams. SSO, compliance, private deployment, and dedicated onboarding — built around how your team works.