Groundly
Turn your course materials into a searchable study guide with page-level citations. Index your lectures, slides, and notes on your computer, then use an MCP host such as Claude Code or Codex to ask about the course, build a topic map, and write practice questions. Take tests in your browser, track your mastery, or share the course as one .groundly file.
Quick start
1. Install Groundly and index a course. Install uv first. In this example, os is the subject name and ./course-materials/ is your folder.
uv tool install groundly
groundly index os ./course-materials/
The local embedding and reranking models download on first use (about 2.7 GB together). Run groundly models install to fetch both ahead of time.
2. Connect your AI host and install the study skills. Here’s the setup for Claude Code. The MCP host guide covers Codex, Antigravity, and HTTP setup.
claude mcp add --scope user groundly -- groundly mcp
groundly skill install
Open a fresh host session and ask “Use Groundly to explain deadlock prevention in my os course. Cite the lecture and page.” Then ask “Map my os course” and “Write ten questions on deadlocks.”
3. Open the study page. Pick a topic or the whole course and start a test from the question bank.
groundly serve
What you can do
| Capability | How it works |
|---|---|
| Index and maintain a course | Ingest PDFs, Word files, slides, spreadsheets, EPUBs, Jupyter notebooks, and plain text, including Markdown and source code. Local OCR handles scanned PDFs and images. Re-run groundly index to add new material and skip duplicates. Use groundly list, groundly title, and groundly remove to manage subjects. |
| Search with citations | Search from your MCP host or with groundly search. Groundly combines dense and sparse BGE-M3 retrieval with BM25 and reranking, including Romanian queries over English sources. Hits include verbatim text, the filename, page where available, and heading path. The host can open the cited page with get_page. |
| Browse a course map | The host drafts a two-level topic tree from the course outline. Groundly selects sources for each topic and requires relevant course material before saving the tree. Browse topics, cited passages, and available source PDFs in the study page. |
| Take practice tests | Draw 5, 10, or 20 questions for a subtopic, a topic, or the whole course. The draw prioritizes unanswered and previously missed questions. The bank supports single-select, multiple-select, code-reading, and written questions. |
| Review results and track mastery | Choice questions are scored on submission. Ask your host to grade written answers against the references and cited material. Review past attempts, feedback, and source citations. Mastery requires at least 10 graded answers, with 9 or more correct among the latest 10. |
| Write and grade from the browser | With a signed-in Claude Code CLI on the Groundly machine (macOS or Linux), Write questions and Grade now launch a background run and show live updates. You can also ask your connected host to do either task in chat. |
Groundly saves a question if it is well formed, its citations resolve, and searching with its text returns at least one cited chunk. Your AI host supplies the answer keys and reviews written responses. Groundly itself needs no API key. The index and study history live on your machine, and your AI host may send course excerpts or written answers to its provider when you use it.
Study from a phone or tablet
Connect the Groundly computer and your mobile device to the same Tailscale network, then start the study page with remote access enabled.
groundly serve --tailscale
Scan the one-time QR code printed in the terminal or shown under Devices on the desktop study page. The paired browser can open the map, read cited passages, take tests, and see grading updates. You can revoke devices from the desktop page. MCP stays available only on the Groundly computer.
If you use several MCP sessions, run groundly start: it serves the browser app, and while it runs every stdio-registered session sends its searches and submissions to it, so the models load once. Hosts that can only connect by URL use its endpoint at http://127.0.0.1:8765/mcp (groundly start --http prints that command). It also accepts --tailscale for the browser app.
Share a course
groundly export os # creates os.groundly
groundly import os.groundly # run on the recipient's computer
The bundle includes the searchable index, topic map, question bank, and original materials by default. When the pinned embedding configuration matches, the recipient can reuse the index immediately. Personal attempts, written answers, mastery, and paired device sessions stay private. --no-materials omits the original files and still includes searchable excerpts.
Documentation
- MCP host setup and study skills
- Project specification and architecture overview
- System requirements and local inference, including MLX on Apple Silicon
- Security, privacy, and Tailscale
Bachelor thesis project at Universitatea Politehnica Timișoara.
Metadata
Release files for groundly 1.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| groundly-1.6.0.tar.gz | 1.9 MB | Without provenance | Details for groundly-1.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| groundly-1.6.0-py3-none-any.whl | Python 3 | none | any | Details for groundly-1.6.0-py3-none-any.whl |
Total release size: 2.4 MB
Release files / groundly-1.6.0.tar.gz
| Download URL | groundly-1.6.0.tar.gz |
|---|---|
| Size | 1.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
09845ff0f7a8a8cff33b9d65c640ba2151075fcab780e75ce2e79ddfd911504d
|
|
BLAKE2b-256 checksum How to use checksums |
b40d17a36962232bb28e2557408538f2c2f2408aa669886ab2e81908af338011
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / groundly-1.6.0-py3-none-any.whl
| Download URL | groundly-1.6.0-py3-none-any.whl |
|---|---|
| Size | 463.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e1ec633d3f731a5870f3704a8828da824914091040dc1cf5479b330cbdd7eac8
|
|
BLAKE2b-256 checksum How to use checksums |
646380b14c97dc8d2017116c3da42250c6dc2ab9e5ffa4d75fa42290eb819924
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for groundly 1.6.0
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.