memora
Persistent semantic memory for Claude Code — auto-injects relevant context at session start, captures git commits, test results, and research via hooks, and provides 30+ MCP tools for memory management.
pinned to #bc64ff7updated 2 weeks ago
Ask your AI client: “install plugins/memora”.
Requires the metahub MCP server installed in your client. Set up MCP.
mh install plugins/memorametahub onboarded this repo on the author's behalf.
If you own github.com/agentic-box/memora on GitHub, claim the listing to take over publishing. Your claim preserves the existing eval history and badges; only the curator label is replaced with verified-publisher on your next publish.
Stars
431
Last commit
2 weeks ago
Latest release
published
- #agent-memory
- #ai-agent
- #claude
- #claude-code
- #cloudflare-d1
- #codex
- #knowledge-graph
- #llms
- #mcp
- #mcp-server
- #memory
- #model-context-protocol
- #rag
- #semantic-search
- #semantic-search-algorithm
- #sqlite
Evaluation report
WarningsAutomated checks the publisher passed at publish time — structure, docs, safety, and whether the artifact behaves as claimed.bc64ff7· 2 weeks ago
Kind-specific
31Plugin: manifest fields complete
Plugin: bundled artifacts presentwarn
Couldn't find a skills/ subdir or an MCP server config inside the plugin
A plugin is most useful when it bundles ≥ 1 skill or an MCP server.
Plugin: bundle shape
empty bundle
Plugin: manifest location
manifest at plugin.json
Release history
1- releasecurrentbc64ff7warn2 weeks ago
Contents
Persistent semantic memory for Claude Code sessions. Automatically injects relevant context at session start, captures significant actions via hooks, and provides 30+ MCP tools for memory management.
Features
- Context injection: SessionStart hook searches memora for relevant memories and injects them into the session
- Auto-capture: PostToolUse hook captures git commits, test results, web research, and documentation edits
- MCP tools: 30+ tools for creating, searching, organizing, and maintaining memories
- Knowledge graph: Interactive visualization at
http://localhost:8765 - Semantic search: Hybrid search combining keyword (FTS) and vector similarity
Installation
Prerequisites
Install memora via pip:
pip install git+https://github.com/agentic-mcp-tools/memora.git
Verify the server binary is available:
memora-server info
Plugin Installation
Option 1: Symlink (recommended for development)
ln -s /path/to/memora/claude-plugin ~/.claude/plugins/memora
Option 2: Copy
cp -r /path/to/memora/claude-plugin ~/.claude/plugins/memora
Option 3: Claude Code marketplace (when available)
claude plugins add memora
Enable the Plugin
Add to ~/.claude/settings.json under enabledPlugins:
{
"enabledPlugins": {
"memora@memora": true
}
}
Restart Claude Code after installation.
What's Included
| Component | File | Purpose |
|---|---|---|
| Manifest | .claude-plugin/plugin.json | Plugin metadata and version |
| MCP Server | .mcp.json | Auto-configures memora MCP server |
| SessionStart Hook | hooks-handlers/session_start.py | Injects relevant memories at session start |
| PostToolUse Hook | hooks-handlers/post_tool_use.py | Auto-captures significant actions |
| Skill | skills/memora/SKILL.md | Usage guide for memora MCP tools |
Configuration
The plugin uses sensible defaults. To customize, set environment variables:
| Variable | Default | Description |
|---|---|---|
MEMORA_DB_PATH | ~/.local/share/memora/memories.db | SQLite database location |
MEMORA_ALLOW_ANY_TAG | 1 | Allow creating tags on the fly |
MEMORA_GRAPH_PORT | 8765 | Knowledge graph server port |
MEMORA_AUTO_CAPTURE | false | Enable auto-capture in PostToolUse hook |
Override via the .mcp.json env section or system environment variables.
How It Works
SessionStart Hook
- Loads memora config from plugin
.mcp.json(falls back to~/.claude/settings.json) - Extracts project name from working directory
- Runs hybrid search (keyword + semantic) for top 5 relevant memories
- Injects formatted memories as
additionalContextin the session prompt
PostToolUse Hook (when MEMORA_AUTO_CAPTURE=true)
Captures actions with inherent context:
- Git commits: Maintained as a single per-project log memory
- Test results: Failures automatically create issues
- Web research: GitHub repos, documentation, comparison research
- Documentation edits: README, CHANGELOG, CONTRIBUTING, etc.
Does not capture raw code edits (Edit/Write to source files) since the hook lacks conversation context about why changes were made.
Features:
- Content-hash deduplication with 30-minute TTL cache
- Significance scoring to filter noise
- Automatic hierarchy placement based on existing memory structure
- Finds and updates existing memories instead of creating duplicates
Portability
All paths use ${CLAUDE_PLUGIN_ROOT} for portability. The hooks use python3 from the system PATH — memora must be installed in the default Python environment or a virtualenv that's on your PATH.
Reviews
No reviews yet. Be the first.
Related
agents-research
Agents for academic, market, and technical research, synthesis, and reporting
embedded-debugger
Embedded debugger workflow for probe-rs targets. Provides a CLI-first skill and optional MCP server for probe discovery, target checks, flashing, memory access, and RTT workflows.
manifest-dev-tools
Tools for working with prompts and PRs alongside the manifest workflow. Collaborative PR walkthroughs, autonomous PR review with per-comment verification, author-side PR babysitting via manifest-dev, gap-calibrated prompt engineering, cross-boundary context handoff, and incremental teaching for session work.
mh install plugins/memora