AI Glot websiteOpen AI Glot
CLICLI commands

CLI commands

Use every AI Glot CLI command for accounts, usage, existing translations, glossaries, language lookup, raw API access and MCP bridging.

Run aiglot help --json for a machine-readable description generated from the installed command tree.

Account and usage

Terminal
aiglot account
aiglot credits
aiglot usage --from 2026-07-01 --to 2026-07-31 --granularity day
aiglot languages

Without dates, usage returns the last 30 days. Dates accept YYYY-MM-DD or full ISO timestamps.

Existing translations

Terminal
aiglot batches list --status completed --limit 50
aiglot batches get <id>
aiglot batches rename <id> "French product catalogue"
aiglot batches archive <id>
aiglot batches archive <id> --undo
aiglot batches download <id> --output ./translated.csv

Use --cursor with the next_cursor from the previous list response. download --output - writes the CSV to standard output.

Glossaries

Language pairs use supported tags joined together, such as en-US-fr.

Terminal
aiglot glossaries list
aiglot glossaries get en-US-fr
aiglot glossaries create en-US-fr --from terms.csv
aiglot glossaries add en-US-fr --term "checkout=commande"
aiglot glossaries add en-US-fr --from additions.json
aiglot glossaries remove en-US-fr --term checkout
aiglot glossaries replace en-US-fr --from complete.csv
aiglot glossaries delete en-US-fr

Input may be a two-column CSV or a JSON term map. Add and remove are surgical. Replace deletes every term absent from the file; delete removes the complete glossary. Destructive commands ask for confirmation on an interactive terminal and require --force in non-interactive use.

Authentication

Terminal
aiglot auth login
aiglot auth login --device
aiglot auth login --key "$AIGLOT_API_KEY"
aiglot auth status
aiglot auth logout

Logout forgets the stored credential and revokes it server-side when the credential type supports revocation.

Escape hatches and utilities

Terminal
aiglot api GET /v1/account
aiglot api PATCH /v1/batches/<id> --data '{"archived":true}'
aiglot mcp
aiglot doctor
aiglot completion zsh

aiglot api makes a raw authenticated request, so a new REST endpoint is usable before a dedicated command exists. aiglot mcp bridges local stdio-only MCP clients to AI Glot’s remote HTTP server.

Use these docs with your AI tools

An AI agent can read this documentation directly. You do not need an account or an API key. Everything here is public and read-only.

Query these docs via MCP

Recommended

Add this server to Claude, Claude Code, Cursor, Mistral, or any tool that supports MCP. Your agent can then search AI Glot Docs documentation and read it in full, instead of answering from memory.

https://ai-glot.com/docs/mcp
  • searchFind the passages that answer a question.
  • fetchRead one page in full, as Markdown.
  • list_pagesSee every page in this documentation.

Query these docs over HTTP

The same tools also work as plain web requests. Use this for scripts, or for any tool that does not support MCP. There is one endpoint per tool. Arguments go in the query string, and the answer comes back as JSON.

https://ai-glot.com/docs/api/docs/search?query=custom+domain

Read the OpenAPI description. It is built from the same definitions as the tools, so it always matches what the endpoints do.

Read these docs as Markdown

Add .md to any page URL to get its Markdown source. You can also send the headerAccept: text/markdown to the page URL itself.

To read the whole documentation in one file, open llms-full.txt. For a short index of every page, open llms.txt.