localhold
Local-first memory for AI agents. Stays on your machine, stays yours.
Install / Use
claude mcp add gearboxlogic -- npx -y github:gearboxlogic/localholdIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Data & AnalyticsSupported Platforms
Our assessment of localhold
localhold scores 78/100 on our quality scale, 295th of 376 Data & Analytics skills we index.
Its MCP Server is 7.1 KB long, well organised into 8 sections with 6 code examples: a thorough specification that gives an agent plenty to work with.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated 32 days ago, so localhold is actively maintained.
- Our last check on 2026-09-20 found the source still online.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 87/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
localhold compared with similar skills
All 4 of these similar skills score higher than localhold; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| localhold (this skill)by gearboxlogic | 78 | 3 | 32d ago | MCP Server |
| claude-memby thedotmack | 100 | 94.9k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 86.1k | 13d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 74.1k | today | CLAUDE.md |
| rufloby ruvnet | 100 | 73.5k | today | CLAUDE.md |
Frequently asked questions
- How do I install localhold?
- Run
claude mcp add gearboxlogic -- npx -y github:gearboxlogic/localhold. The install tabs above show the steps for each supported agent. - Which AI agents does localhold work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is localhold safe to use?
- It is Apache-2.0-licensed and scores 87/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is localhold still maintained?
- The repository was last updated 32 days ago, so localhold is actively maintained.
Skill content
View source on GitHubLocalHold is local memory for AI agents. It runs as a standalone Model Context Protocol server and keeps durable, searchable context on your own machine — independent of any one agent, editor, or model provider.
The mark on the banner is a keep with its door standing open. There is no lock on the hold, because there is no lock-in: memories live in a plain SQLite file you can read, back up, migrate, or walk away with. Every agent you run can remember into the same store and recall from it later, and the record stays yours.
LocalHold is in early beta. Linux CPU is the primary supported environment; streamable HTTP, Windows, PostgreSQL, and CUDA reranking are preview surfaces.
What It Provides
- one durable store shared by every agent: multi-context memories, access policies, audit history, and maintenance tools
- keyword, semantic, hybrid, and text fallback search
- MCP over stdio or streamable HTTP
- SQLite storage by default, with optional PostgreSQL and
pgvector - OpenAI-compatible embedding endpoints — local servers such as vLLM, llama.cpp, and Ollama, or cloud providers
- optional ONNX cross-encoder reranking on CPU or CUDA
hold ui, a terminal browser over everything the store holds
Storage is local by default. When an external embedding provider is enabled, memory content and search queries are sent to the configured endpoint. LocalHold does not start or manage model servers. Review the security, privacy, and threat model before using network storage, HTTP transport, or external compute.
Quickstart
Install a release archive — Linux x86_64 CPU and CUDA 12, plus a Windows x86_64 preview — or build from source:
git clone https://github.com/gearboxlogic/localhold.git
cd localhold
./script/install.sh
export PATH="$HOME/.local/bin:$PATH"
hold
Then point an MCP client at the binary over stdio:
{
"mcpServers": {
"localhold": {
"command": "/absolute/path/to/hold"
}
}
}
For clients with a command-based setup:
claude mcp add --scope user localhold /absolute/path/to/hold
That is the whole setup. Out of the box search is keyword and text only — fully local, no model servers, nothing to download. Configure an embedding endpoint later for semantic search. See Installation for prerequisites, archive verification, and client details.
Browse The Hold
hold ui opens an interactive terminal browser over the store: multi-select
contexts grouped by kind in the left pane; search mode cycling across keyword,
text, semantic, hybrid, and auto; memory context editing; and an operator
Context Manager for definitions, hierarchy, grants, lifecycle, and policy.
Auto chooses the best available retrieval fallback. Browsing is
side-effect-free; edits and administrative changes go through audited
authorization paths.
The recording uses an explicitly selected hybrid browse mode before switching to keyword search, then opens the selected memory's detail view.
See Browse The Hold for navigation and editing keys.
Configuration
LocalHold reads ~/.config/localhold/localhold.toml on Linux and the
equivalent platform user-config directory elsewhere; it never loads config
implicitly from the current working directory. Runtime overrides use
LOCALHOLD_* environment variables. hold config init creates a starter file,
and hold config validate checks the effective settings without opening
storage. See localhold.example.toml for the complete
configuration surface.
To enable semantic search, configure an OpenAI-compatible /v1 endpoint:
[embedding]
provider = "openai_compatible"
dimensions = 768
[embedding.openai_compatible]
base_url = "http://127.0.0.1:8000/v1"
model = "nomic-embed-text"
To enable the built-in cross-encoder reranker:
[search.reranker]
enabled = true
execution_provider = "cpu"
LocalHold records the vector space that produced stored embeddings and refuses
to mix a different one; hold embeddings reindex --yes rebuilds vectors after a
provider change. See Embedding Providers for
authentication, health checks, and transport security, and
Operations for reranker artifacts, execution providers,
precision, and HTTP deployment.
Storage
SQLite is the default backend, stored under
~/.local/share/localhold/localhold.db. hold backup and hold restore
provide WAL-consistent online backups with validation, and hold doctor
checks installation and runtime readiness. PostgreSQL is opt-in, and
hold migrate sqlite-to-postgres moves an existing store across. See
Operations for backup, restore, migration, and
diagnostics.
MCP Tools
The everyday API consists of brief, context_resolve, context_create,
recall, read, read_many, remember, remember_many, handoff, revise,
and forget. Governed writes require a resolvable context, a policy default, or
explicit unresolved deferral. Maintenance and migration operations use
explicit admin_* tools, which are removed from discovery and dispatch unless
an operator enables them for a dedicated maintenance instance.
See Agent API for tool semantics, Architecture for the system design, Operations for running LocalHold, and the Compatibility Policy for what upgrades preserve. The Security, Privacy, And Threat Model maps stored data, network paths, identities, and operator-owned controls.
Development
./script/bootstrap.sh
just test
just check
just check runs formatting, clippy, dependency policy, and tests; Linux and
Windows checks also run in GitHub Actions. See
CONTRIBUTING.md before opening a pull request and
SECURITY.md for vulnerability reporting.
License
Copyright 2026 Gearbox Logic LLC.
Licensed under the Apache License 2.0. The license does not grant rights to LocalHold or Gearbox Logic trademarks; see TRADEMARKS.md. Third-party components and models retain their respective licenses.
Related Skills
claude-mem
94.9kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
86.1kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
74.1kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ruflo
73.5k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
