recallx
v1.0.8
Published
Local-first RecallX runtime with API, renderer, CLI, and MCP entrypoint.
Downloads
542
Maintainers
Readme
RecallX
RecallX is a local-first personal knowledge layer for humans and agents.
It gives your local API, CLI, MCP-capable tools, and source-run UI one durable workspace for shared memory instead of scattering context across prompts, notes, and tool-specific state.
What It Is For
RecallX is built to keep these things in one local workspace:
- notes
- projects
- ideas
- questions
- decisions
- references
- activities
- relationships between them
The core idea is simple: one brain, many tools.
Why RecallX
- local-first storage with SQLite-backed workspaces
- shared memory for humans and coding agents
- append-first writes with explicit provenance
- compact context assembly for agent workflows
- HTTP API, CLI, MCP, and source-run UI access over the same local data
Distribution Paths
RecallX is documented around three public ways to use it:
- Git public repo for direct source execution
- npm package
recallxfor the full local runtime - npm package
recallx-headlessfor the headless runtime
RecallX does not currently ship separate OS-native installers or package formats such as .dmg, .msi, .deb, or AppImage.
1. Git Public Repo
Use the public repo when you want the full source-run surface:
- local API under
/api/v1 - source-run renderer workflow through
npm run dev - stdio MCP bridge through
npm run mcp - runtime workspace create/open switching without restarting the service
git clone https://github.com/jazpiper/RecallX.git RecallX
cd RecallX
npm install
npm run devMCP from source:
npm run mcpServer only:
npm run build:server
npm startChecks:
npm run branch:check
npm run version:check
npm run check
npm test
npm run buildStart unrelated work in a separate branch/worktree instead of stacking it on the current checkout:
npm run branch:new -- fix-short-nameWhen you are preparing a release, bump from the highest known version instead of whatever the current branch happens to say:
npm run version:bump -- patchIf you want an installable runtime instead of source-run workflows, use one of the npm distribution paths below.
2. npm Full Runtime (recallx)
Use the full npm package when you want a local install that includes the API, renderer, CLI, and MCP entrypoint:
npm install -g recallx
recallx serveIn another shell:
recallx health
recallx update
recallx mcp install
recallx-mcp --helpThe full npm package includes:
- local API under
/api/v1 - browser renderer served from
/ recallxrecallx serveand subcommandsrecallx-mcp
recallx mcp install writes a stable launcher to ~/.recallx/bin/recallx-mcp, which is the recommended command path for Codex and other editor MCP configs.
If the API is running in bearer mode, set RECALLX_API_TOKEN in the MCP client environment. The launcher does not write tokens to disk.
Start the packaged runtime with:
recallx serveOptional runtime overrides:
recallx serve --port 8787 --bind 127.0.0.1
recallx serve --workspace-root /Users/name/Documents/RecallX
recallx serve --api-token secret-tokenTo update an npm-installed full runtime:
recallx update
recallx update --applyrecallx update currently supports npm global installs of recallx and recallx-headless. Source checkouts should keep using their package manager directly.
3. npm Headless Runtime (recallx-headless)
Use the headless npm package when you want the local API, CLI, and MCP entrypoint without shipping the renderer bundle:
npm install -g recallx-headless
recallx serveIn another shell:
recallx health
recallx update
recallx-mcp --helpThe headless npm package includes:
- local API under
/api/v1 recallxrecallx serveand subcommandsrecallx-mcp
The headless npm package does not include:
- renderer pages
At /, the headless runtime returns a small runtime notice instead of the renderer.
To update an npm-installed headless runtime:
recallx update
recallx update --applyNode requirements:
- npm packages: Node 22.13+
- local source development: Node 25+ is recommended because the backend uses
node:sqlite
Use From Other Coding Agents
If you want another coding agent to use a running local RecallX service, start with health and bootstrap first instead of assuming the protected service index is available.
- health check:
GET http://127.0.0.1:8787/api/v1/health - bootstrap:
GET http://127.0.0.1:8787/api/v1/bootstrap - service index after auth or in optional mode:
GET http://127.0.0.1:8787/api/v1 - current workspace after auth or in optional mode:
GET http://127.0.0.1:8787/api/v1/workspace
Recommended instruction:
Use my running local RecallX service at http://127.0.0.1:8787/api/v1.
Start by calling GET /health and GET /bootstrap.
If authMode is bearer, include Authorization: Bearer <token> before calling GET /api/v1 or GET /workspace.
Use the returned endpoint list and request examples to search nodes and activities, inspect governance state, build context bundles, and switch workspaces.
Reuse the existing local service instead of starting a new one.MCP Bridge
RecallX also ships a stdio MCP adapter for agent clients that prefer tool discovery over raw HTTP calls.
npm run mcp
node dist/server/app/mcp/index.js --api http://127.0.0.1:8787/api/v1
recallx-mcp --api http://127.0.0.1:8787/api/v1For launcher paths, environment variables, and editor-specific setup, see docs/mcp.md.
Docs
docs/README.mdfor the full documentation map and reading orderapp/cli/README.mdfor the npm headless packagedocs/concept.mdfor product positioningdocs/api.mdfor the local HTTP and CLI contractdocs/mcp.mdfor MCP bridge setupdocs/workflows.mdfor common usage flowsdocs/schema.mdfor storage and data model details
License
MIT. See LICENSE.
