New advertisers: 50% off your first month with code FIRSTMONTHSee slots
agripp87 avatar

Memoria

agripp87/memoria_mcp

Persistent plain-text memory store with hybrid search and agentic self-maintenance tools.

GitHub stars
1
tools
17
auth
Secret needed
transport
STDIO, HTTP
env vars
6
last updated
Nov 17, 2026
View on GitHub

What it does

  • Reads and searches memory with memory_search, memory_read, memory_list, and memory_reflect, using hybrid vector and keyword scoring over Markdown files
  • Writes with memory_write (dedup check against top-3 similar memories), memory_daily, and memory_ingest; memory_sources can only change a source's schedule over MCP
  • Runs over stdio for Claude Code or as OAuth 2.1 HTTP for remote clients; the local MiniLM embedding model downloads once and runs offline
  • Designed for agents that need durable, user-owned memory across sessions and devices, with self-maintenance via memory_lint, memory_optimize, and memory_compile

Tools

17 tools

Public tool metadata for what this MCP can expose to an agent.

memory_searchSemantic + keyword hybrid search with three-signal scoring

Semantic + keyword hybrid search with three-signal scoring

No parameter schema in public metadata yet.

memory_readRead a specific memory file (returns empty if missing, not error)

Read a specific memory file (returns empty if missing, not error)

No parameter schema in public metadata yet.

memory_writeCreate/update memory with dedup check (top-3 similar). Use `force: true` to skip.

Create/update memory with dedup check (top-3 similar). Use `force: true` to skip.

No parameter schema in public metadata yet.

memory_listList all memories, filter by type or tag

List all memories, filter by type or tag

No parameter schema in public metadata yet.

memory_indexRebuild vector + FTS5 search index and MEMORY_INDEX.md catalog

Rebuild vector + FTS5 search index and MEMORY_INDEX.md catalog

No parameter schema in public metadata yet.

memory_dailyAppend an entry (up to 50,000 characters) to today's daily log. Daily logs are UTC days, and entry times in them are UTC.

Append an entry (up to 50,000 characters) to today's daily log. Daily logs are UTC days, and entry times in them are UTC.

No parameter schema in public metadata yet.

memory_optimizeRun `decay`, `promote`, `detect_stale`, or `find_duplicates`

Run `decay`, `promote`, `detect_stale`, or `find_duplicates`

No parameter schema in public metadata yet.

memory_reflectRead recent daily logs for agent reflection/synthesis, newest first, up to `max_chars` (default 50,000)

Read recent daily logs for agent reflection/synthesis, newest first, up to `max_chars` (default 50,000)

No parameter schema in public metadata yet.

memory_statsHealth metrics: importance distribution, stale count, access patterns, warnings

Health metrics: importance distribution, stale count, access patterns, warnings

No parameter schema in public metadata yet.

memory_lintProactive health checks: contradiction scan, orphan detection, stale cross-refs, missing descriptions, gap analysis, index drift, entity-alias collisions and low-confidence claims, unknown directories

Proactive health checks: contradiction scan, orphan detection, stale cross-refs, missing descriptions, gap analysis, index drift, entity-alias collisions and low-confidence claims, unknown directories

No parameter schema in public metadata yet.

memory_compileCompile analysis results into structured core memories with auto-generated frontmatter and index update

Compile analysis results into structured core memories with auto-generated frontmatter and index update

No parameter schema in public metadata yet.

memory_compactRead recent daily logs, deduplicate by source+content, surface high-importance events.

Read recent daily logs, deduplicate by source+content, surface high-importance events.

No parameter schema in public metadata yet.

memory_entitiesCompile the daily-log firehose into durable, linked per-source entity pages under `entities/`

Compile the daily-log firehose into durable, linked per-source entity pages under `entities/`

No parameter schema in public metadata yet.

memory_sourcesList, enable, disable, add custom, remove, or configure data sources. Consent is granted only in the dashboard, and through MCP only a source's schedule can be changed.

List, enable, disable, add custom, remove, or configure data sources. Consent is granted only in the dashboard, and through MCP only a source's schedule can be changed.

No parameter schema in public metadata yet.

memory_ingestManually trigger ingestion of buffered events into core memory

Manually trigger ingestion of buffered events into core memory

No parameter schema in public metadata yet.

memory_fuseRun cross-source temporal fusion to detect correlated activities

Run cross-source temporal fusion to detect correlated activities

No parameter schema in public metadata yet.

memory_priorityView collector status, adjust importance thresholds, flush buffer

View collector status, adjust importance thresholds, flush buffer

No parameter schema in public metadata yet.

Configuration

MEMORIA_DIR

Root directory of the memory store. Defaults to ~/.memoria locally (or /data/memoria in Docker).

MEMORIA_EMBEDDINGSdefault: auto

Embedding provider: auto (local MiniLM if installed, else hash; never remote), openai (explicit opt-in: sends content to OpenAI), minilm or hash.

MEMORIA_API_KEY*secret

Bearer token authenticating /mcp, /ingest and /dashboard/api. Required for the HTTP transport.

MEMORIA_OAUTH_CLIENT_SECRETsecret

OAuth 2.1 client secret for remote clients (claude.ai). Required when BIND_ALL=true; keep it distinct from the API key.

MEMORIA_ENCRYPTION_KEYsecret

AES-256-GCM master key (64 hex chars) for the collector's encrypted buffer and credential store. Required when BIND_ALL=true.

MEMORIA_PUBLIC_URL

External URL of this server. Pins the OAuth discovery metadata so it is never derived from the Host header. Required when exposed.

Readme

Memoria

Persistent, plain-text memory for Claude — as a Markdown repo you own.

Memoria is an MCP server that gives Claude Code, claude.ai (Chat / CoWork) and any other MCP client a shared long-term memory. Memories are Markdown files with YAML frontmatter in a directory you control; a derived SQLite + FTS5 index provides hybrid semantic + keyword search; a set of agentic tools (reflect, lint, compact, compile) keeps the store healthy; and an optional collector daemon feeds in events from your own tools. It runs as a stdio server for Claude Code and as an OAuth 2.1 HTTP server for remote clients.

The Memoria dashboard's wiki view: a memory rendered from Markdown, with its details, related memories and backlinks

The dashboard's wiki view, showing the built-in demo data (npm run demo).


View the full README on GitHub

Details

Repository
github.com/agripp87/memoria_mcp
Categories
Memory & Context, AI Agents & LLM Apps
Package
@agrippa87/memoria-mcp
Transport
STDIO, HTTP
Auth
Required
Registry
MCP registry, active

Similar to Memoria

More Memory & Context