Repertorio
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Repertorio
Bring what you know to the AI assistant you already learn with.
Repertorio is a local MCP server that gives an assistant access to your repertoire, activity evidence and familiar examples. Correct something once; the next authorized session uses the corrected profile. Your assistant conducts the lesson. Repertorio supplies persistent, structured context with explicit limits.
Get started · Guia em português · Download v0.2.0 · Evidence · MIT license
No separate chat interface. No LLM API key, embedding service or cloud account required by the server. Your chosen assistant has its own access requirements.
New in v0.2.0: easier first use, prospective tutor evaluation and an empty adult pilot kit. Changes and limits. The kit prepares a study; human reviews, consent and participant observations remain to be obtained.
See the behavior
The included demo uses real MCP subprocesses and a synthetic profile:
Step | What happens |
Register | Save familiarity with shopping budgets, prices and alternatives. |
Explain | Request |
Practice | Record a synthetic activity result with the help received and its provenance. |
Return | Restart the server and read the persisted profile. |
Correct | Set familiarity to zero using the observed revision. |
Adapt | Receive a direct-teaching fallback because that reference is no longer eligible. |
This sequence also worked across two actual hosts: Claude Code created the profile; Codex read and corrected it. See the sanitized calls. This is evidence of continuity, not a learning-outcome experiment.
Related MCP server: eigma-mcp
Get started
Install Python 3.13 and uv, then run:
git clone https://github.com/kayammaori2-afk/repertorio.git
cd repertorio
uv sync --locked
uv run repertorio doctor
uv run repertorio demoThe bare demo command uses a temporary synthetic database and is safe to repeat. It opens two server processes in sequence, checks persistence and prints actual tool calls and results. It does not populate your normal profile.
To keep a demo transcript and database, choose fresh paths and an empty profile:
uv run repertorio --db demo.sqlite3 --profile demo demo --output demo-transcript.jsonFor a package-only installation, download the wheel from the v0.2.0 release, install it with python -m pip install PATH_TO_WHEEL, then run repertorio doctor and repertorio demo. The lockfile pins the complete tested environment; the wheel pins direct dependencies. PyPI publication is not part of this release.
Connect an assistant
Run
uv run repertorio --profile student setup --output host-setupto generate correct paths. Supply--dbbeforesetupto choose another private database.Read
host-setup/START-HERE.txtand merge only the repertorio entry into your host configuration. Existing files are never changed by setup. Reconnect the MCP server.Ask: “Help me start with Repertorio. Show the available topics without assuming what I know.” The assistant calls
learning_options. Keep host tool approvals enabled. Session instruction.
-m repertorio --db ABSOLUTE_PRIVATE_DATABASE_PATH --profile student serveHost | Configuration | Verification |
Claude Code | Actual create/read/context flow executed | |
Codex | Actual continuity, correction and fallback executed | |
VS Code / Copilot | Configuration provided; host flow unobserved |
Replace the placeholders. Windows uses .venv/Scripts/python.exe; Linux/macOS use .venv/bin/python. Both assistants must use the same database path and profile to share continuity. doctor shows the default data location if you omit --db. Use different profiles for people who should not share records.
Try this request after connecting:
Quero estudar custo de oportunidade. Mostre como começar com Repertorio. Posso escolher explicar diretamente sem cadastrar repertório.
The initial catalog contains 16 original mappings across four concept IDs: opportunity_cost, marginal_analysis, conditional_probability and independence. It uses explicit repertoire IDs and confirmed elements. Adding an arbitrary film or book does not automatically create a reviewed pedagogical mapping. Unsupported concepts or unsuitable references return a fallback so the assistant can continue teaching directly.
Tool reference
Need | Tool |
Start/resume; discover topics and confirmed context |
|
Read current records and provenance |
|
Register or correct familiarity, progress and preferences |
|
Get eligible mappings, reasons, limitations and fallback |
|
Record an activity result or reported context use |
|
Move a profile between installations |
|
Review and execute authorized deletion |
|
Mutations use opaque request IDs for retries. Corrections require the current revision. Conflicting edits fail instead of silently replacing newer information. Delivery and reported use are distinct; neither a positive reaction nor one correct answer is treated as durable mastery.
Local HTTP and data controls
stdio is the default. Optional Streamable HTTP binds only to loopback and authenticates every protected request. Generate credentials into a private directory:
uv run repertorio --profile student init-token --credentials-file PRIVATE_DIR/credentials.json --token-file PRIVATE_DIR/bearer.txt --scopes read write
uv run repertorio serve --transport http --credentials-file PRIVATE_DIR/credentials.json --host 127.0.0.1 --port 8765The endpoint is http://127.0.0.1:8765/mcp. Configure a trusted client to read the token file and send a Bearer header. Keep tokens out of prompts, shell arguments and source control. Revoke with repertorio revoke-token --credentials-file PRIVATE_DIR/credentials.json --credential-id ID_FROM_INIT; the server reloads the registry on the next request. init-token and revoke-token share an exclusive lock; retry a busy operation and never edit the live registry manually. Profile/scopes come from the credential, never model arguments. Transport details.
Choose a private directory outside the checkout for PRIVATE_DIR. Export a logical backup or a readable snapshot for an assistant without MCP:
uv run repertorio --profile student export --output PRIVATE_DIR/profile.json
uv run repertorio --profile student export --format summary --output PRIVATE_DIR/context.txt
uv run repertorio --profile restored import --input PRIVATE_DIR/profile.json
uv run repertorio --profile restored import --input PRIVATE_DIR/profile.json --applyImport previews first, validates the whole payload and deduplicates identical records. JSON preserves the complete profile; CSV supports repertoire. Deletion is disabled unless granted and requires a scoped, expiring preview confirmation. Deleted payloads are removed from active records; anti-replay markers, external backups and host conversations have separate retention limits.
The database is local, but your host may send returned context to its model provider. A process with the same filesystem permissions can read the database. Security and privacy · Backup, restore and deletion.
Reproduce the checks
uv run python scripts/verify.py
uv run repertorio evaluate --output evidence/evaluation
uv run repertorio pilot --output evidence/pilot
uv buildThe verification command runs lint, types, tests, the offline selector evaluation and artificial pilot analysis, and exits nonzero on failure. Version-specific results cover real stdio/HTTP flows, package installation outside the source tree and the regression suite; earlier Inspector observations are separately dated. The verification record identifies exact environments and limits. The manual CI workflow targets Windows and Linux with standard runners; no automatic push/PR trigger is configured.
What the experiment says
The benchmark compares no repertoire (A), favorites (B), the full selector (C), and a same-candidate tag baseline (D). It contains 31 internally authored synthetic cases, including 25 with applicable ranking metrics.
The fixed-order held-out result is negative: C−B is −0.05031 nDCG@3 across 12 cases. Symmetric random-tie diagnostics change it to +0.15140. Even the sign depends on tie order. Labels share an author with the catalog, and variants are dependent. These results do not establish general superiority or human learning benefit.
The evaluation report preserves negative cases, denominators and post-result changes. The adult pilot protocol includes artificial data to exercise analysis; it has not recruited participants or received expert validation.
Project map and contributing
flowchart LR
Assistant[Your existing assistant] --> MCP[stdio or local authenticated HTTP]
MCP --> Service[Scoped tools]
Service --> DB[(SQLite profile)]
Service --> Selector[Deterministic selector]
Catalog[Versioned catalog] --> SelectorArchitecture · Data contract · Contribution guide · AI and owner contributions · Changelog
Useful contributions include reproducible bug reports, independently reviewed mappings and cases that challenge the selector. Use synthetic data in issues. Report vulnerabilities through private reporting.
License
MIT covers the project code, documentation and original bundled examples/data. Dependencies keep their own licenses; see the license scope and dependency inventory. User profiles are not project fixtures and are not licensed or published by this repository.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
One user-owned memory shared across AI assistants: recall, spaces, and confirmed references.
Private cross-media memory for AI assistants: recommendations, progress and controlled actions.
Connect assistants to your workspace knowledge, skills, and work tools.
Persistent memory for AI assistants: store, search, and connect knowledge across conversations.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to conduct academic research workflows such as paper discovery, literature mapping, citation chasing, author pivots, citation repair, and regulatory or species document retrieval.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to turn conversations into a searchable personal wiki, read and organize pages, and propose edits such as merges, translations, and fact-checks as reviewable changesets.3MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP-compatible AI clients to tutor students through a full learning workflow, including knowledge retrieval, assessments, mastery tracking, and personalized next-action recommendations.MIT
- AlicenseNot gradedqualityBmaintenanceEnables agents to retrieve learner profiles, analyze longitudinal academic and attendance trends, retrieve supporting evidence, and record teacher review decisions for evidence-backed, human-in-the-loop educational recommendations.ISC