
Memgraph Plugins for Claude Code and Codex: Skills, Docs and Memory in One Install
Ask a coding agent to build something on Memgraph, and it usually starts from what it remembers. That memory is months old. The agent writes Cypher for a version you don't run, guesses at your schema, and can't tell you whether its query works until you try it yourself.
The Memgraph marketplace fixes that for Claude Code and Codex. It's one place to install the Memgraph plugins: memgraph gives your agent Memgraph skills, the current docs and access to your database, and context-graph gives it memory across sessions. This post shows what each plugin adds, how to install them, and why we built them this way.
What's in the Memgraph Marketplace
The Memgraph marketplace has two plugins. Install either one, or both.

The two plugins don't depend on each other. If you build apps with Memgraph, start with memgraph. If you want your agents to remember what they did yesterday, add context-graph, whether or not you use Memgraph in your project.
Both are open source and the marketplace repository holds only the catalogs that Claude Code and Codex read. Each plugin lives next to its code, in memgraph/skills and memgraph/ai-toolkit.
Install the Memgraph Plugin in Claude Code or Codex
In Claude Code:
/plugin marketplace add memgraph/marketplace
/plugin install memgraph@memgraphIn Codex:
codex plugin marketplace add memgraph/marketplace
codex plugin add memgraph@memgraphIf you added memgraph/skills as a marketplace before, remove it and add memgraph/marketplace instead: /plugin marketplace remove memgraph in Claude Code, codex plugin marketplace remove memgraph in Codex.
The Memgraph MCP server runs with uvx, so you need uv. It connects to bolt://localhost:7687, or to the Memgraph in MEMGRAPH_URL if you set it before you start the agent.
Using another agent, such as Cursor? You can still install the skills with npx skills add memgraph/skills and add the docs MCP server by hand. The Memgraph plugins docs page has the steps for both.
Get Started With Memgraph in About a Minute
With Docker running, ask your agent:
Get started with MemgraphThe memgraph-start skill takes it from there:
- It checks Docker and picks free ports. If something already runs on 7687, it asks you instead of touching it.
- It asks which sample dataset to load: capital cities and their borders, Game of Thrones deaths, the Pandora Papers, or any of the 30+ sample datasets.
- It starts Memgraph with MAGE and Memgraph Lab in Docker, and loads the dataset.
- It reads the schema, runs one of the dataset's sample queries, and runs PageRank, mostly through the Memgraph MCP server.
- It gives you a query to paste into Memgraph Lab at
localhost:3000. For the capital cities, Lab draws them on a world map. - It asks what you're building and in which language, and finds the guide for it in the docs.
- It offers to set up Context Graph, so your agents keep AI memory across sessions. This is the only place where AI memory is a choice you make on the way.
In Codex, start the agent with codex -a on-request. Codex runs commands in a sandbox that can't reach Docker, and this lets the agent ask you to run the Docker commands outside it. To get fewer prompts, answer the first one with Yes, and don't ask again for commands that start with ….
Why the Plugin Bundles Skills, Docs and Your Database
Each part of the memgraph plugin fixes a different way a coding agent gets Memgraph wrong.
Skills give the agent the workflow. Agent Skills are instructions the agent loads only when a task needs them: modeling a graph, importing data, choosing indexes, running a MAGE algorithm, writing a query module. They cover what a model can't infer from the syntax alone.
The docs MCP server keeps the agent current. Instead of answering from memory, the agent searches the current docs and reads the pages it needs through the docs MCP server at mcp-docs.memgraph.com. In our tests on Memgraph tasks, coding agents with the docs MCP server failed less often than agents limited to web search, with both Claude Sonnet and Claude Haiku. The server needs no API key or sign-in, and it uses the same URL in every agent.
The Memgraph MCP server lets the agent check its work. With the Memgraph MCP server, the agent reads your real schema and runs its query before it answers, instead of handing you Cypher it never tried.
Add AI Memory With the Context Graph Plugin
A coding session ends, and everything the agent learned goes with it. The context-graph plugin records your sessions in Memgraph and lets your agents recall them later, across sessions and across agents. Codex can pick up what Claude Code did yesterday.
The plugin needs the memgraph-context-graph tool, so install it with its setup. One command installs the tool, starts its own Memgraph and connects your agents. See Get started with Context Graph. Nothing is recorded unless you install it. In Codex, run /hooks once and accept the new hooks, or nothing is recorded.
For how AI Memory works and why a graph fits it, read AI Memory on Memgraph.
One Marketplace for Every Memgraph Plugin
We could have shipped each plugin from its own repository, with its own install command. We put them in one marketplace instead, so you add one source and see everything Memgraph offers for your agent.
It also keeps updates simple. Claude Code and Codex update a plugin when its version changes, and a weekly job keeps the plugin's pinned versions of Memgraph, Memgraph Lab and the Memgraph MCP server current. In Claude Code, turn on auto-update for the memgraph marketplace in /plugin to get updates without asking for them.
Wrapping Up
Pick what fits how you work:
- You use Claude Code or Codex and build with Memgraph: install
memgraphand ask "Get started with Memgraph". - You want your agents to remember across sessions: install
context-graphwith its setup. It works with or withoutmemgraph. - You use another agent: install the skills with
npx skills add memgraph/skillsand add the docs MCP server by hand.
Try it, and tell us on Discord what your agent built, or where it still got stuck.