glossa-cli
A standalone command-line client for Glossa — analyze text and manage your vocabulary from the terminal.
You'll need a Glossa account — sign up at glossa.pro. For setup help and the full integration guide, see glossa.pro/account.
Install (one command)
pipx install glossa-cli # recommended — isolated install
# or:
pip install glossa-cli
Both put two binaries on your PATH:
glossa— the terminal CLI for vocabulary managementglossa-mcp— a stdio MCP server for Claude Desktop, ChatGPT, etc.
Sign in
Run glossa login first. It opens a browser to authorise you; after you
approve, your tokens are cached in ~/.config/glossa/credentials.json and
refreshed automatically — you won't need to sign in again.
glossa login # opens a browser; prints an auth URL to approve
glossa login --force # clear the cached sign-in and authorise again
glossa logout # sign out — remove cached credentials
Switching accounts is glossa logout && glossa login (or just
glossa login --force). The glossa-mcp server reads the same credentials
file, so re-auth on the CLI then restart your MCP client to pick up the
new sign-in.
CI / scripting: skip the browser flow by exporting a static token from Glossa → Settings → Tokens:
export GLOSSA_API_TOKEN=glossa_xxx.
Quick start
glossa login # one-time browser sign-in
glossa add serenity # add a word to your vocabulary
glossa list --status learning # see what you're learning
glossa review # interactive FSRS review
echo "We've done the impossible, and that makes us mighty." | glossa analyze # CEFR breakdown
If your account has multiple learning languages enabled, Glossa will ask you
to pick one. Set a default with glossa lang set <code> (persistent), or
export GLOSSA_LANG=<code> (session). Single-language accounts don't need to
think about this.
MCP server
The same install ships glossa-mcp, a stdio MCP server for Claude Desktop,
ChatGPT, and other MCP-aware LLM clients. Add it to your client's config —
full setup guide is in the Glossa Account → MCP tab. To smoke-test:
glossa-mcp
# Run interactively → prints a brief help message explaining how to use it.
# Run with piped JSON-RPC on stdin → serves the protocol on stdout.
Usage
# Analyze text (arg, --file, or stdin) — language auto-detected
echo "And we choked 'em with those words." | glossa analyze
glossa analyze --file article.txt
glossa analyze "a short sentence" --json
# Add a word or phrase
glossa add serenity --status learning
glossa add "hold my beer" -t "watch how it's done"
# Change a word's state (upserts by lemma; --id targets one sense)
glossa set serenity known
glossa set --id 1234 saved
# List your vocabulary
glossa list --status learning
glossa list --json
# Interactive FSRS review session
glossa review
# Default learning language (only needed if your account has 2+ enabled)
glossa lang # show current default + source
glossa lang set fr # persist to ~/.config/glossa/config.json
glossa lang unset
Metadata
Release files for glossa-cli 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| glossa_cli-0.1.1-3-py3-none-any.whl | Python 3 | none | any | Details for glossa_cli-0.1.1-3-py3-none-any.whl |
Release files / glossa_cli-0.1.1-3-py3-none-any.whl
| Download URL | glossa_cli-0.1.1-3-py3-none-any.whl |
|---|---|
| Size | 25.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b41ab9df1dde3a6e77aa95f2e698e489b22bc6989e5aa13905a03425ba90530d
|
|
BLAKE2b-256 checksum How to use checksums |
1cac20486f9a4d8943737bda9cc055acbd1f07c614b9661dee05062e057cde4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.19
|
Security for glossa-cli 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.