Ghostkeep
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Ghostkeepsearch for facts about the payment gateway migration"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Ghostkeep
Provenance-aware shared memory store and System 1 micro-decision sieve for AI agents.
The Problem
Developers work across multiple agent execution surfaces simultaneously:
Terminal CLI (
agy,claude) running long tasks, builds, and tests.IDE Agent (Antigravity IDE, Cursor, Windsurf) pair-programming and refactoring code.
They suffer from complete amnesia. The terminal agent fixes a bug or upgrades a dependency, but the IDE agent has zero awareness of it. Calling frontier LLMs (Claude Sonnet, GPT-4o) on every single terminal command and lint output takes 3 seconds and wastes thousands of tokens on noisy compiler logs.
Related MCP server: MCP Shared Memory Hub
The Solution: The 3-Tier Memory Sieve
Ghostkeep acts as the shared central nervous system across surfaces using a 3-tier architecture:
RAW CHAT TURN / TERMINAL COMMAND
│
▼
┌───────────────────────────────────────────────────────────────┐
│ TIER 1: THE SIEVE (sieve.py) - ~80ms System 1 Micro-Decision │
│ • Evaluates raw text in <100ms via Jev (or local engine) │
│ • Noul : "Contains durable decision or constraint?" │
│ • Choice: Route to domain (database, auth, ui, devops, etc.) │
└───────────────────────────────┬───────────────────────────────┘
│
Is `contains_decision` >= 0.75?
│
┌───────────────┴───────────────┐
▼ (No: 90% noise) ▼ (Yes: 10% signal)
┌─────────────┐ ┌──────────────────────────────┐
│ DISCARD │ │ TIER 2: THE SCRIBE (scribe) │
│ (Zero bloat)│ │ • Distills 1-sentence Fact │
└─────────────┘ │ • Cleans chatter & preambles │
└──────────────┬───────────────┘
│
▼
┌───────────────────────────────────────────────────────────────┐
│ TIER 3: PROVENANCE STORE (store.py) │
│ • Real-time contradiction check (no silent overwrites) │
│ • facts.json (Active & superseded facts) │
│ • conflicts.json (Queue of contradictory statements) │
│ • provenance.jsonl (Immutable audit ledger) │
└───────────────────────────────────────────────────────────────┘Tier 1 (The Sieve): Fast micro-decision filter (using Jev System 1 when
TYPESAFE_API_KEYis set, or local heuristic engine). Discards 90% of ephemeral terminal output in ~80ms.Tier 2 (The Scribe): Strips filler and distills the core 1-sentence canonical claim and metadata.
Tier 3 (The Store): Plain-file source of truth with full lineage (
source_agent,source_session_id,derived_from) and conflict detection.
Quick Start
Installation
git clone https://github.com/Akshu24Tech/ghostkeep.git
cd ghostkeep
pip install -e .To enable Jev System 1 acceleration:
pip install typesafe-sdk
export TYPESAFE_API_KEY="your-typesafe-key"CLI Usage
Ingest a turn through the Sieve
# 1. Ephemeral noise -> Discarded in 0 bytes:
ghostkeep ingest "npm test: 14 passing, 0 failing"
# 2. Durable decision -> Stored with provenance:
ghostkeep ingest "We decided to enforce Vanilla CSS across all components instead of Tailwind" \
--source "terminal-agy" \
--session "session-92"Search memories
ghostkeep search "CSS"List and resolve conflicts
ghostkeep conflictsMCP Server Configuration
Point your MCP clients to Ghostkeep so Terminal, IDE, and Desktop share the same memory:
Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"ghostkeep": {
"command": "python",
"args": ["-m", "ghostkeep.cli", "serve"],
"env": {
"GHOSTKEEP_DIR": "~/.ghostkeep"
}
}
}
}Cursor (.cursor/mcp.json)
{
"mcpServers": {
"ghostkeep": {
"command": "python",
"args": ["-m", "ghostkeep.cli", "serve"]
}
}
}MCP Tools Reference
Tool | Parameters | Description |
|
| The Ambient Sieve: Runs the 80ms filter. Discards noise or distills & saves durable memory. |
|
| Direct fact insertion with contradiction checks. |
|
| Ranked lexical and confidence memory search. |
|
| Lineage ancestry, derivation chain, and event audit trail. |
|
| List unresolved contradictory facts across agents. |
|
| Resolve conflict ( |
Running Tests
python -m unittest discover -s tests -p "test_*.py"In-Repo Brain (Obsidian Vault)
For conceptual models, research notes on System One AI, W3C PROV specifications, and comparison matrices, open:
projects/ghostkeep/brain in Obsidian.
License
MIT © 2026 Akshu24Tech
This server cannot be deployed
Maintenance
Related MCP Connectors
- memnodeOAuthdev.memnode
Persistent, inspectable memory for AI agents with lineage, correction, and a hosted MCP endpoint.
- KogniteOAuthdev.kognite
Hosted agent memory: store, search, and recall facts across sessions from any MCP client.
- MemocoreOAuthai.memocore
Shared memory for all your AI agents, your whole team and every MCP client — save, search, recall.
Cross-session memory for AI agents with a Source Receipt for every memory, over MCP.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceProvides persistent, searchable memory for MCP-compatible agents, enabling recall by meaning, automatic decay, trust scoring, and cross-agent handoffs.19 PyPI5MIT
- AlicenseNot gradedqualityCmaintenanceEnables multiple MCP-compatible AI clients to share persistent, versioned project knowledge across sessions with conflict-safe updates, provenance, hybrid retrieval, stale-memory handling, and context-budgeted recall.MIT
- AlicenseNot gradedqualityAmaintenanceProvides persistent, shared memory for AI agents via MCP, enabling retrieval of relevant memories instead of loading entire context. Allows agents across projects, machines, and tools to share a single auditable, markdown-native brain.3AGPL 3.0
- AlicenseNot gradedqualityBmaintenanceEnables multiple AI agents to share a persistent, attributable memory space through MCP, supporting durable storage, keyword search, and event history for cross-agent continuity.MIT