Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By neo4j-labs Verified Orgv0.1.44
Gives agents a Neo4j-backed memory that recalls prior project learnings at session start and captures new ones. Hooks log every session event and run an LLM extraction pass at Stop, writing to your own graph.
meta-knowledge-graph@mkg, from the plugin/ folder. Claude Code treats the two as separate plugins. Both builds have hooks, and Claude Code runs the hooks of only one plugin per name: with both installed, one build's hooks don't run. View the author's build →You run one by typing its /name in Claude Code.
1 critical · 2 cautions to review before installing
A hook runs before every tool call and can block or approve it
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
agent-memory, knowledge-graph, mcp-server, session-memory, claude-code, mcp, hooks
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
The Meta Knowledge Graph (MKG) is a self-improving, graph-structured memory
layer for AI agents, backed by Neo4j. It is harness-agnostic: the Neo4j
store and the MCP server plug into any MCP-capable harness, and the
capture/injection scripts ride on whatever lifecycle hooks the harness exposes.
This repo ships ready-made wiring for Claude Code
(.claude/settings.json) and Codex
(.codex/config.toml plus
.codex/hooks.json); plugging a custom harness in means
pointing its lifecycle events at the same scripts.
It ships as two halves that form a closed capture-and-recall loop:
meta-knowledge-graph) — surfaces project memory, the underlying
graph, the persisted system prompt, and (optionally) a data catalog and
warehouse to the agent as tools.:Learning candidates (scoped project or user,
covering durable facts and decisions alike) from what just happened, plus an
append-only :Observation timeline entry per work window (episodic memory:
what happened — headlines recalled by recency at session start, bodies and
older history pulled on demand through episode_fetch / episode_search).The hooks write to the same graph the MCP tools read from, so each new session
starts with the most relevant prior learnings already injected — both
project-scoped memory and durable facts about the user. Everything is tagged
with a user id (see User identity): sessions, learnings,
observations, and the profile all carry the email of the person driving the
harness, user-scoped memory is recalled per user, and each user gets their own
(:UserProfile). The persisted system prompt is frozen: only the seed
scripts write it, and it is never rewritten by consolidation. What adapts
instead is that per-user (:UserProfile) node — a compact "user adaptations"
section a rate-limited Stop/SessionEnd hook distills from accumulated
gate-approved user-profile memory, which the injection hook appends to the
frozen base at session start (keeping every superseded section as version
history). The memory extraction prompt is a fixed code constant — there is
no Neo4j-backed self-improvement loop.
A complete end-to-end demo — a B2B sales / customer-success assistant for an enterprise car-rental provider — ships in the repo; see Sales agent use case for setup.
MKG is harness-agnostic, and can run in several ways:
.codex/ wiring.Either way MKG is two halves — lifecycle hooks (capture + recall) and an
MCP server (Neo4j / BigQuery / neocarta tools) — and the only host
prerequisites are uv and a reachable Neo4j
instance; both halves execute through uv.
claude plugin marketplace add neo4j-labs/meta-knowledge-graph
claude plugin install meta-knowledge-graph@mkg
mkg; the qualified plugin id is meta-knowledge-graph@mkg.uv run --project to create the plugin cache virtualenv (one-time; that start
is slower). Later MCP starts execute the cached .venv/bin/python -m meta_knowledge_graph directly, with the venv on PATH so optional MCP
subprocesses run from the same environment instead of doing their own uvx
startup install.claude plugin list shows meta-knowledge-graph@mkg enabled; inside
a session the MKG system prompt is injected and mcp__meta-knowledge-graph__*
tools are available.claude plugin disable meta-knowledge-graph@mkg
claude plugin update meta-knowledge-graph@mkg
claude plugin details meta-knowledge-graph@mkg # component inventory + token cost
For an installed Claude Code plugin, the config path is:
~/.config/meta-knowledge-graph/.env
Credentials live in that one user-global file (mode 600), read by both the
hooks and the MCP server. It survives plugin updates and is never written into
the ephemeral plugin cache.
MKG deliberately does not use
/plugin configure— there is nouserConfig/keychain schema, so credentials stay file-based and portable across harnesses (Codex, etc.).
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Generated from the plugin's indexed repository (neo4j-labs/meta-knowledge-graph) — no native marketplace selected
npx claudepluginhub p/neo4j-labs-meta-knowledge-graphPlugins from other owners that cover similar ground