Skip to main content
Glama
Aries-0331

litecontext-cli

by Aries-0331

LiteContext CLI

LiteContext CLI is a local-first context engine and MCP server for personal knowledge. It indexes local Markdown or Obsidian folders, preserves source citations, and lets compatible AI clients retrieve relevant local context through MCP.

It runs without a desktop application, browser, cloud account, or localhost UI. Your sources and indexes remain in ~/.litecontext by default.

Install

The Go engine is currently a read-only compatibility preview. It opens the existing LiteContext v1 JSON workspace, applies Context Profile boundaries, and provides cited search, doctor, and MCP stdio without Node at runtime:

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 ~/.litecontext

It does not yet write sources, profiles, or SQLite. The TypeScript CLI remains the compatibility baseline for those operations during migration. The first Go binary release will be distributed through GitHub Releases and Homebrew; npm is not a required product runtime.

Related MCP server: ragi

Current TypeScript CLI baseline

litecontext source add ~/Documents/notes --source-id notes --name "Personal notes"
litecontext source list
litecontext doctor
litecontext serve --mcp

For an Obsidian vault, add --source-type obsidian. source add creates a default Context Profile unless --no-default-profile is supplied. Use source sync <id> to refresh a source and source remove <id> to remove only LiteContext's local index and registry entries, never the original files.

MCP configuration

Print a pasteable configuration for an AI client:

litecontext mcp-config --global

The server command is litecontext serve --mcp. The MCP server reads the same local workspace when no desktop application is running.

Workspace and architecture

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 — contracts, profiles, SQLite/FTS index, retrieval.

  • @litecontext/connectors — portable source connectors.

  • @litecontext/cli — source lifecycle commands, diagnostics, and MCP server.

Development

The transition repository currently verifies both the TypeScript baseline and the Go read-only engine. It requires Go 1.24.1, Node 24.13–24.x, and pnpm 10.

pnpm install
pnpm check
pnpm audit:security

pnpm check runs the shared golden fixture tests for both implementations.

See CONTRIBUTING.md, SECURITY.md, third-party notices, and the release guide.

License

MIT

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    A
    quality
    D
    maintenance
    Local-first RAG indexing and semantic search MCP server. Enables document retrieval and context-aware queries using local embedding models.
    3
    14
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Local-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

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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