litecontext-cli
LiteContext CLI
LiteContext CLI ist eine lokal-basierte Kontext-Engine und ein MCP-Server für persönliches Wissen. Es indexiert lokale Markdown- oder Obsidian-Ordner, bewahrt Quellzitate und ermöglicht kompatiblen KI-Clients, relevante lokale Kontexte über MCP abzurufen.
Es läuft ohne Desktop-Anwendung, Browser, Cloud-Konto oder localhost-UI. Ihre Quellen und Indizes bleiben standardmäßig in ~/.litecontext.
Installation
Die Go-Engine ist derzeit eine schreibgeschützte Kompatibilitätsvorschau. Sie öffnet den vorhandenen LiteContext-v1-JSON-Arbeitsbereich, wendet Context-Profile-Grenzen an und bietet zitiertes Suchen, Doctor und MCP stdio ohne Node zur Laufzeit:
go run ./cmd/litecontext doctor --workspace ~/.litecontext --json
go run ./cmd/litecontext search --workspace ~/.litecontext --query "project roadmap" --json
go run ./cmd/litecontext mcp serve --workspace ~/.litecontextEs schreibt noch keine Quellen, Profile oder SQLite. Die TypeScript-CLI bleibt während der Migration die Kompatibilitätsbasis für diese Operationen. Die erste Go-Binärversion wird über GitHub Releases und Homebrew verteilt; npm ist keine erforderliche Produktlaufzeit.
Related MCP server: ragi
Aktuelle TypeScript-CLI-Basis
litecontext source add ~/Documents/notes --source-id notes --name "Personal notes"
litecontext source list
litecontext doctor
litecontext serve --mcpFür einen Obsidian-Vault fügen Sie --source-type obsidian hinzu. source add erstellt ein Standard-Context-Profil, sofern nicht --no-default-profile angegeben wird. Verwenden Sie source sync <id>, um eine Quelle zu aktualisieren, und source remove <id>, um nur LiteContexts lokalen Index und Registrierungseinträge zu entfernen, niemals die Originaldateien.
MCP-Konfiguration
Drucken Sie eine einfügbare Konfiguration für einen KI-Client aus:
litecontext mcp-config --globalDer Serverbefehl lautet litecontext serve --mcp. Der MCP-Server liest denselben lokalen Arbeitsbereich, wenn keine Desktop-Anwendung ausgeführt wird.
Arbeitsbereich und Architektur
Local Markdown / Obsidian
-> connectors and ContextItem normalization
-> SQLite/FTS index + Context Profile
-> LiteContext CLI / MCP stdio
-> cited local context for an AI client@litecontext/core— Verträge, Profile, SQLite/FTS-Index, Abruf.@litecontext/connectors— portable Quellkonnektoren.@litecontext/cli— Quelllebenszyklus-Befehle, Diagnose und MCP-Server.
Entwicklung
Das Übergangsrepository verifiziert derzeit sowohl die TypeScript-Basis als auch die Go-Read-only-Engine. Es erfordert Go 1.24.1, Node 24.13–24.x und pnpm 10.
pnpm install
pnpm check
pnpm audit:securitypnpm check führt die gemeinsamen Golden-Fixture-Tests für beide Implementierungen aus.
Siehe CONTRIBUTING.md, SECURITY.md, Third-Party-Hinweise und den Release-Leitfaden.
Lizenz
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceA local-first MCP server that exposes personal notes and files as unified semantic context for AI agents via vector search and file monitoring.6MIT
- AlicenseAqualityDmaintenanceLocal-first RAG indexing and semantic search MCP server. Enables document retrieval and context-aware queries using local embedding models.314MIT
- AlicenseNot gradedqualityDmaintenanceA local-first MCP server that turns a .context/ folder of markdown files into a searchable knowledge layer for AI coding agents.202MIT
- AlicenseNot gradedqualityAmaintenanceLocal-first MCP server for retrieval over markdown wikilink vaults, offering hybrid vector+lexical search, note reading, neighbor expansion, and recent activity tracking with fully local embeddings and no network egress.MIT
Related MCP Connectors
Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Aries-0331/litecontext'
If you have feedback or need assistance with the MCP directory API, please join our Discord server