Skip to main content
Glama

Just SQLite and local embeddings.

PyPI Downloads CI PyPI - Version PyPI - Python Versions License: MIT MCP Docs


Quickstart (30 seconds)

1. Add it to your MCP client. No install step — uvx fetches and runs it:

// Claude Desktop: claude_desktop_config.json
// Cursor:         .cursor/mcp.json
// Claude Code:    claude mcp add localmem -- uvx localmem-mcp
{
  "mcpServers": {
    "localmem": {
      "command": "uvx",
      "args": ["localmem-mcp"]
    }
  }
}

2. Restart the client and talk to it:

"Remember that we chose SQLite over Postgres for this project because it ships in a single file."

…then, in a completely new session tomorrow:

"What database did we pick, and why?"

That's it. Your agent now remembers, and nothing left your laptop.

pip install localmem-mcp     # then use "command": "localmem-mcp" in the config above

The config above covers most clients, but several agents want a different shape — and get it wrong silently. VS Code's root key is servers; Codex uses TOML; OpenCode and Kilo Code take command as an array; Goose calls them extensions; Zed nests them under context_servers.

Integrations → has the verified config for 20+ agents: Claude Code, Codex, Gemini CLI, Copilot CLI, Goose, OpenCode, Crush, Amp, Amazon Q, Qwen Code, Junie, Antigravity, Warp, Cursor, Windsurf, Zed, VS Code, JetBrains, Trae, Cline, Roo Code, Kilo Code, Continue, and Claude Desktop.

Related MCP server: code-recall

The three tools

Tool

What the agent uses it for

store_memory

Save a durable fact, decision, or preference — with optional tags.

search_memory

Find memories by meaning, not keywords. "which database?" finds "we went with SQLite".

recall_memory

Re-read a specific memory by id, or catch up on the most recent ones.

Plus memory_stats for where the database lives and how much is in it.

Also a Python library

The MCP server is a thin shell over a store you can import directly:

from localmem_mcp import MemoryStore

store = MemoryStore()  # ~/.localmem/memories.db
store.add("We chose SQLite over Postgres", tags=["decision", "architecture"])

for hit in store.search("what database are we using?"):
    print(hit.score, hit.memory.content)

And a CLI, for when you just want to look:

localmem-mcp add "Deploys go out on Thursdays" --tag ops
localmem-mcp search "when do we ship?"
localmem-mcp recall -n 5
localmem-mcp stats
localmem-mcp export > memories.jsonl     # take your memories elsewhere
localmem-mcp import memories.jsonl

Privacy

Nothing is sent anywhere. Memories live in one SQLite file you own, and embeddings are computed on-device with fastembed. The only network request the package ever makes is the one-time download of the embedding model (~90 MB, from Hugging Face) on first use — after that it works fully offline. Delete ~/.localmem/memories.db and the memory is gone.

Why localmem-mcp

The privacy pitch is the headline, but the cost story matters just as much: recall never calls an LLM. search_memory is local cosine similarity plus an FTS5 keyword bonus, both computed on-device — no tokens spent, no round trip, no per-call bill, whether you store ten memories or ten thousand. Most memory tools in this space run an LLM on the way in and the way out; localmem-mcp only ever runs the embedding model, locally, and only on the way in.

localmem-mcp

OpenMemory MCP (Mem0)

mem0-mcp-server

Zep / Graphiti

Cloud calls

Zero, ever, after the one-time model download

Yes — LLM call to extract facts

Yes — hosted Mem0 platform

Yes — LLM call to build/update the graph

API key required

None

OPENAI_API_KEY

MEM0_API_KEY

An LLM provider key

LLM on the recall path

No — cosine similarity + FTS5, both local

Yes — LLM involved in storing and recalling

Yes — hosted LLM involved in storing and recalling

Yes — LLM traverses/summarizes the graph

Install footprint

pip install localmem-mcp / uvx localmem-mcp, no other services

Docker Compose stack (API + vector DB)

Package + a hosted Mem0 account

Self-hosted graph DB + LLM, or hosted Zep Cloud

Datastore

One SQLite file

Qdrant (vector DB) + a history DB

Mem0's hosted store

Neo4j / FalkorDB (graph DB)

Based on each project's own setup docs as of August 2026 — verify against their READMEs before deciding, since requirements like these change fast. None of this makes the others wrong: a temporal knowledge graph or LLM-extracted facts are real capabilities localmem-mcp doesn't have. The trade is deliberate — this project stays a SQLite file and an embedding model, on purpose, rather than growing into an agent framework or a hosted service. See ROADMAP.md for where the line is drawn.

Architecture

MCP client (Claude Code, Cursor, Claude Desktop, OpenClaw…)
        │  stdio / JSON-RPC
        ▼
  server.py    FastMCP — store_memory · search_memory · recall_memory
        ▼
  store.py     MemoryStore
        ├── SQLite  memories table + FTS5 index      (durable, single file)
        └── fastembed  ONNX embeddings, lazy-loaded  (on-device, 384-dim)

Search is hybrid: every memory is scored by cosine similarity against the query embedding, and memories that also hit the FTS5 keyword index get a bounded bonus — so paraphrases are found and exact terms like error codes or names aren't lost. Embeddings are stored as float32 blobs alongside the text, so a memory is one row and there is no second datastore to keep in sync.

The model loads lazily on the first store/search call, which keeps server startup near-instant for clients that spawn it eagerly.

Configuration

Environment variable

Default

Purpose

LOCALMEM_DB_PATH

~/.localmem/memories.db

Full path to the SQLite file.

LOCALMEM_HOME

~/.localmem

Directory used when LOCALMEM_DB_PATH is unset.

LOCALMEM_MODEL

BAAI/bge-small-en-v1.5

Any model name supported by fastembed.

Point separate projects at separate databases with --db or LOCALMEM_DB_PATH.

Star History

Contributing

Issues and PRs are welcome, and the project is deliberately small enough to read in one sitting — store.py is the whole thing, and everything else is a shell over it.

git clone https://github.com/OpenAgentHQ/localmem-mcp && cd localmem-mcp
python -m venv .venv && .venv/bin/pip install -e ".[dev]"
.venv/bin/python -m pytest -q        # offline, about a second

CONTRIBUTING.md covers the layout, the testing approach, and what does and doesn't fit the project. Good first issues are scoped to be approachable without deep context.

License

MIT

Available Tools

8 tools
forget_memoriesA

Permanently delete memories by tag and/or age.

Use this to prune stale facts en masse — drop every memory tagged "scratch", or everything older than 90 days. At least one filter is required; an unfiltered call is rejected so the store can't be wiped by accident. Deletion is hard: matching rows are gone, not hidden.

ParametersJSON Schema
NameRequiredDescriptionDefault
tagsNoOnly delete memories carrying all of these tags.
older_than_daysNoOnly delete memories created more than this many days ago.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the behavioral burden and does so well: deletion is hard and irreversible ('matching rows are gone, not hidden') and an unfiltered call is rejected. It does not cover permission requirements or response behavior, but the destructive traits that matter most are disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences with a front-loaded lead, an illustrative usage sentence, and a behavioral warning. There is no filler; the slight repetition of permanence reinforces the destructive nature rather than wasting space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter tool with full schema coverage and an output schema, the description covers the key context: batch use, filter requirements, and hard deletion. The only minor gap is that the interaction between tag and age filters when both are supplied is not explicitly labeled as AND/OR, though the schema conditions imply both apply.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description adds value by stating that at least one filter is required even though the schema marks neither property as required, and it supplies concrete usage examples for both parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('Permanently delete memories') and the exact filtering dimensions ('by tag and/or age'). The phrase 'prune stale facts en masse' clarifies batch scope and distinguishes it from the singular sibling tool forget_memory.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear when-to-use instruction ('Use this to prune stale facts en masse') with concrete examples (scratch tag, older than 90 days). It also states the safety precondition that at least one filter is required, though it does not explicitly name alternatives or when-not conditions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

forget_memoryA

Permanently delete one memory by id.

Use this when a stored memory is wrong beyond correction, sensitive, or simply no longer wanted — prune it so stale facts stop outranking current ones. To fix a memory instead of deleting it, use update_memory. The delete is hard: the row is gone, not hidden.

ParametersJSON Schema
NameRequiredDescriptionDefault
memory_idYesThe id of the memory to delete, from a previous store_memory or search_memory call.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full behavioral disclosure burden. It clearly states the delete is permanent and irreversible ('the row is gone, not hidden'), which is essential for a destructive operation. It does not mention behavior for nonexistent IDs, but the permanence warning is strong.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three concise, purposeful sentences: action, usage guidance, and behavioral warning. No filler or redundant information, and the most critical facts are front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter delete operation with an output schema, the description covers when to use it, what it does, the alternative, and the permanent consequence of invocation. Nothing essential is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents memory_id sufficiently, including its source from previous store_memory or search_memory calls. The description adds little beyond restating 'by id', which is acceptable since the schema carries the semantic weight.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States the exact action ('Permanently delete one memory by id') with a specific verb and resource, making the tool's function immediately clear. It is distinguishable from siblings like update_memory and search_memory based on the delete-per-id scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly describes when to use the tool: when a memory is wrong beyond correction, sensitive, or no longer wanted. It also names the alternative update_memory for fixing rather than deleting, giving clear routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_memoriesA

Enumerate memories with tag filtering, ordering, and pagination.

Use this to browse stored memories without requiring a search query — to audit memories, paginate through tag categories, or view memories in chronological or reverse-chronological order.

Filtering and ordering only — no embedding model or scoring is used.

ParametersJSON Schema
NameRequiredDescriptionDefault
tagsNoOnly consider memories carrying all of these tags.
limitNoMaximum number of memories to return (default: 20).
orderNoSort order: "newest" (default) or "oldest".newest
offsetNoSkip this many matching memories before returning `limit` of them.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the behavioral transparency burden. It clearly states the operation is filtering and ordering only, with no embedding-based scoring, which is non-obvious and valuable. The read-only nature is implied by 'Enumerate' and 'browse', though not explicitly stated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loaded with a clear one-line summary, followed by useful usage context and an important behavioral qualifier. Every sentence earns its place without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the output schema exists and the input schema fully documents all parameters, the description provides the missing contextual pieces: when to use it, how it differs from search, and that it performs no semantic scoring. This is sufficient for an agent to select and invoke the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already provides 100% parameter descriptions, including defaults and semantics for tags, limit, order, and offset. The description adds high-level context about tag filtering, ordering, and pagination, but does not need to repeat schema details.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'Enumerate memories with tag filtering, ordering, and pagination.' It immediately distinguishes itself from sibling search_memory by noting this is not a search query path and that no embedding model or scoring is used.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives concrete use cases: auditing memories, paginating through tag categories, and viewing memories chronologically. It also implies the alternative (semantic search) by saying no embedding model or scoring is used, though it does not explicitly name search_memory as the alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

memory_statsA

Report where memories are stored, how many there are, and which model is used.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden. 'Report' strongly implies a read-only operation and the description discloses what it reports, but it does not explicitly state that it does not modify memories or mention any side effects, permissions, or freshness constraints. For a simple stats tool this is adequate but not fully transparent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence that covers all essential information without wasted words. Every phrase contributes meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter read-only reporting tool with an output schema, the description is nearly complete. It tells the agent what kind of information to expect, though it could slightly improve by explicitly contrasting with list_memories or noting that this is an aggregate view.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, so the baseline is 4. The description adds no parameter-specific meaning because there are none to document, which is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Report') and resource ('memories'), and clarifies the scope by naming three concrete facets: storage location, count, and model. This distinguishes it from sibling tools like list_memories, which would return entries rather than aggregate statistics.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies this tool is for aggregate memory statistics, but it does not explicitly state when to prefer it over list_memories or search_memory. An agent can infer the intended use from the content, but there is no direct guidance about alternatives or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

recall_memoryA

Re-read a specific memory by id, or the most recent memories.

Use this when you already know which memory you want (from a previous store_memory or search_memory call), or to catch up on what was recorded most recently. To find memories by meaning, use search_memory instead.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoHow many recent memories to return when memory_id is omitted.
memory_idNoThe id of a single memory to read back. Omit for recent ones.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the behavioral burden itself. 'Re-read' makes the read-only nature clear, and 'most recent memories' conveys the ordering expectation. It does not mention error behavior or access restrictions, but for a simple read operation with an output schema, the key behavioral point is covered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences with no filler. The core operation is front-loaded, and the second sentence provides usage context and the key alternative efficiently.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read tool with two optional parameters and an output schema, the description covers purpose, use case, and the main alternative. It is only slightly incomplete in not contrasting with list_memories as a possible overlapping sibling for browsing memories.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the parameters are already documented, giving a baseline of 3. The description adds value by explaining where memory_id comes from (previous store_memory or search_memory) and tying the limit parameter to the 'catch up on recent memories' use case.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('re-read') and resource ('memory'), and clearly distinguishes the two access modes: by id or by recent memories. It also differentiates from search_memory by explicitly reserving meaning-based lookup for that sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit when-to-use guidance: use it when you already know the memory id from a previous store_memory or search_memory call, or to catch up on recent entries. It also states when not to use it by directing meaning-based lookups to search_memory.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_memoryA

Find memories by meaning.

Semantic search over everything stored, so "what database did we pick?" finds a memory that says "we went with SQLite". Results are ranked by similarity, highest first.

To page through more matches, keep the same query and advance offset by limit — ranking is stable, so pages don't overlap or skip. An offset past the last match returns no results.

ParametersJSON Schema
NameRequiredDescriptionDefault
tagsNoOnly consider memories carrying all of these tags.
limitNoMaximum number of memories to return.
queryYesWhat you are trying to remember, in natural language.
offsetNoSkip this many ranked results before returning `limit` of them.
min_scoreNoDrop results scoring below this (0.0-1.0).

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the transparency burden. It discloses that results are ranked by similarity, that ranking is stable for pagination, that pages don't overlap or skip, and that offset past the last match returns no results. This is meaningful behavioral detail beyond the schema. It doesn't explicitly say the operation is read-only, but 'search' strongly implies no mutation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is tightly written in three short paragraphs. The core purpose is front-loaded, the example earns its place, and the pagination notes add essential operational detail without fluff. Every sentence contributes something actionable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has an output schema, so there is no need to restate return values. The description covers what the tool searches, how results are ranked, how to page reliably, and what happens at the end of results — all an agent needs to call it correctly. Combined with full schema coverage, this is complete for a search tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already documents all five parameters with 100% coverage, so the baseline is 3. The description adds value by explaining the offset/limit relationship ('advance offset by limit — ranking is stable'), clarifying query semantics with a natural-language example, and noting edge behavior for out-of-range offsets. This goes beyond the schema's minimal field descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with 'Find memories by meaning' and clarifies this is semantic search over everything stored, with a concrete example ('what database did we pick?' → 'we went with SQLite'). This clearly distinguishes it from siblings like recall_memory or list_memories, which likely operate on exact identifiers or literal listings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives a clear usage context: use it when you want to find memories by meaning rather than exact wording, and it explains pagination behavior. It does not explicitly name alternatives or state when not to use it, but the semantic-search framing makes the primary use case obvious enough.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

store_memoryA

Save something worth remembering across sessions.

Store durable facts, decisions, preferences, and project context — not transient chatter. The text is embedded locally so it can be found later by meaning, not just exact words.

ParametersJSON Schema
NameRequiredDescriptionDefault
tagsNoOptional labels for filtering, e.g. ["project-x", "preference"].
sourceNoOptional origin of the memory, e.g. "conversation" or a file path.
contentYesThe memory itself, written so it makes sense on its own later.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It explains that the text is embedded locally and can later be found by meaning rather than exact words, which adds real behavioral context beyond the schema. It does not cover failure modes, overwrite behavior, or permissions, but for a simple store operation the key behavior—persistence and semantic retrieval—is clearly disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and efficient: it opens with the core purpose, then provides selection guidance, and closes with a notable behavioral detail about embedding. No sentence is wasted, and the structure is well front-loaded for an agent scanning the definition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with only three parameters, full schema coverage, and an output schema, the description provides sufficient context: what to store, what not to store, and how storage works. It does not mention sibling alternatives explicitly, but the guidance is strong enough that an agent can invoke store_memory correctly without additional context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents all three parameters clearly. The description adds general guidance about what content is appropriate ('durable facts... not transient chatter') but does not provide parameter-level detail beyond what the schema already offers. This matches the baseline for fully covered schemas.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific action ('Save something worth remembering across sessions') and identifies the resource ('memory') with clear scoping: durable facts, decisions, preferences, and project context. It distinguishes itself from retrieval or management siblings by focusing on the act of persisting new information, and the 'not transient chatter' qualifier sharpens the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives clear usage criteria: store durable facts, decisions, preferences, and project context, and avoid transient chatter. It implies this tool is for creation/persistence rather than retrieval or modification, but it does not explicitly name alternatives like search_memory or update_memory, so it stops short of full when-to-use-versus-alternatives guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

update_memoryA

Correct an existing memory in place.

Use this when a stored memory is wrong — a misremembered decision, a misspelled name, a fact that has since changed. It edits the original record rather than adding a related one, and re-embeds the text so search finds the correction. Only the fields you pass are changed.

ParametersJSON Schema
NameRequiredDescriptionDefault
tagsNoReplacement tags. Omit to keep the current tags.
sourceNoReplacement source. Omit to keep the current source.
contentNoThe corrected memory text. Re-embeds the memory when changed.
memory_idYesThe id of the memory to correct, from a previous store_memory or search_memory call.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full responsibility for behavioral disclosure. It clearly communicates that the tool mutates the original record, re-embeds changed text so search reflects the correction, and only modifies explicitly passed fields. This provides substantial behavioral context, though it does not mention reversibility or failure modes.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact, well-structured, and front-loaded with the core purpose. The first sentence states the action, and the second sentence provides targeted context without unnecessary detail. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity, the presence of an output schema, and the description covering when to use it, what it does, and its side effects, the description is complete for selecting and invoking the tool correctly. The schema fully documents parameters, and the description handles behavioral context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description adds meaningful semantic value beyond the schema by clarifying partial-update behavior: 'Only the fields you pass are changed.' This directly helps an agent understand that omitted nullable parameters preserve existing values rather than clearing them.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description immediately identifies the specific operation: 'Correct an existing memory in place.' It clearly distinguishes itself from store_memory by stating it 'edits the original record rather than adding a related one,' making the tool's role unambiguous among the memory-related siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit usage guidance is provided: 'Use this when a stored memory is wrong — a misremembered decision, a misspelled name, a fact that has since changed.' It also explains what this tool is not for by contrasting with 'adding a related one,' effectively steering an agent toward store_memory for new information.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

TDQS

A4.3/5.0
Disambiguation4/5

Each tool targets a distinct operation (store, search, recall by id, list, update, delete, bulk delete, stats), and descriptions clearly separate search from recall and list. The only mild overlap is recall_memory's 'most recent memories' versus list_memories in chronological order, but the descriptions give enough guidance to choose correctly.

Naming Consistency4/5

Most tools follow a consistent verb_noun pattern (store_memory, search_memory, update_memory, forget_memory), and all names are lowercase snake_case. memory_stats breaks the pattern by using a noun_noun form rather than a verb like get_stats, and singular/plural alternates between memory and memories.

Tool Count5/5

Eight tools is well-scoped for a memory store: create, read (three retrieval modes), update, delete (single and bulk), and stats. Each tool earns its place without redundancy or bloat.

Completeness5/5

The surface covers the full memory lifecycle: store, retrieve by meaning/id/browse, update, delete, bulk prune, and inspect storage. There are no obvious dead ends; even bulk deletion is safely gated by requiring a filter.

Maintenance

ActivityMaintained
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Persistent semantic memory for AI agents. SQLite-backed, local-first, zero config. Semantic search via Ollama embeddings with keyword fallback. Tools: remember, recall, history, forget, stats.
    17
    37
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Gives AI coding agents persistent memory by storing observations, decisions, and learnings in a local SQLite database with vector search, full-text search, and a rules engine.
    4
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to maintain persistent, local memory with retrieval-augmented search, knowledge graphs, and context surfacing, without any cloud dependencies.
    135
    MIT

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/OpenAgentHQ/localmem-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server