Local SQLite memory server for coding agents with graph-aware recall, persistent context, and review-gated knowledge promotion.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Waypath.
waypath_recallSearch Waypath truth and archive recall.
waypath_session_startBuild a Waypath session-start context pack.
waypath_graph_queryExpand graph context for an entity.
waypath_pageSynthesize a Waypath knowledge page.
waypath_promoteCreate a Waypath promotion candidate.
waypath_reviewReview a Waypath promotion candidate.
English Β· νκ΅μ΄ Β· δΈζ
Local-first external brain for coding agents.
A SQLite-backed CLI that gives Claude Code, Codex, and any MCP client persistent context, graph-aware recall, and governed memory β with zero cloud dependencies.
[!TIP] New here? The Quick start gets you from
npm installto your first persistent agent session in about 60 seconds.
Waypath is a local-first knowledge engine for coding agents and solo developers. It stores your project decisions, entity relationships, and session artifacts in a single SQLite file, then serves graph-aware, truth-first context to any agent host β Claude Code, Codex, or an MCP client β through a thin CLI.
Unlike cloud memory services, Waypath:
| Problem | Waypath's answer |
|---|---|
| Agents forget across sessions | Persistent SQLite truth kernel |
| RAG returns irrelevant chunks | FTS5 + RRF hybrid ranking with graph expansion |
| Memory services hallucinate silently | Explicit page β promote β review governance |
| Cloud lock-in, data exfiltration | Everything is one local .db file you own |
| Tool per host (Claude, Codex, Cursor) | Single facade, thin host shims, native MCP server |
[!IMPORTANT] Requires Node.js β₯ 22. Node 22.5+ unlocks the native
node:sqlitedriver; earlier 22.x versions auto-fall back tobetter-sqlite3.
Verify:
1. Bootstrap a session (Codex example):
2. Recall relevant context:
3. Capture a distilled insight and promote it through review:
4. Run as an MCP server (for Claude Code, Cursor, any MCP client):
| Area | Commands |
|---|---|
| Session bootstrap | codex, claude-code, mcp-server |
| Recall | recall, explain, graph-query, history |
| Pages (distilled knowledge) | page, promote, refresh-page, inspect-page |
| Review governance | review, review-queue, inspect-candidate, resolve-contradiction |
| Import / scan | import-seed, import-local, scan |
| Health | source-status, health, db-stats, rebuild-fts |
| Maintenance | backup, benchmark, export |
Full help: waypath --help.
Waypath is built from four independent kernels behind a thin facade:
project_context, person_context, system_reasoning, contradiction_lookup).A single createFacade() exposes 14 verbs. Host shims adapt it to each agent's bootstrap protocol.
Waypath is zero-config by default. To tune retrieval weights, adapter toggles, or review thresholds, drop a config.toml in your working directory (or point WAYPATH_CONFIG_PATH at one):
Override anything via env vars:
Priority: env override > config.toml > built-in defaults.
Waypath ships a native MCP (Model Context Protocol) server as a second binary:
Or via the main CLI:
Tools exposed via MCP: recall, page, promote, review, graph-query, source-status.
node:sqlitebetter-sqlite3 is an optional fallback auto-used on 22.0β22.4 or where native sqlite is unavailable| Waypath | Cloud memory (mem0, zep) | Vector-only RAG | |
|---|---|---|---|
| Local-first | β | β | depends |
| Canonical truth schema | β | β | β |
| Graph-aware recall | β | partial | β |
| Explicit review gate | β | β | β |
| MCP server built-in | β | β | β |
| One-file install | β | needs service | varies |
Waypath welcomes host shims, source adapters, and bug fixes. Good first issues are labeled accordingly.
Read CONTRIBUTING.md for dev setup, code style, and PR flow.
Before submitting a PR:
MIT Β© TheStack.ai β see LICENSE.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/thestack-ai-waypath)<a href="https://allmcps.com/mcp/thestack-ai-waypath"><img src="https://allmcps.com/api/badge/thestack-ai-waypath?style=directory" alt="Waypath on AllMCPs" /></a>