mcp-memgraph MCP Server
MCP integration and utilities for Memgraph MCP server
mcp-memgraph scores 48 (Fair), licensed Apache-2.0 and written in Python. It installs as a local process. It does not declare tools yet. Filed under Communication, Knowledge. GitHub shows 119 stars. Package registries report about 194 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
48 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: apache-2.0.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is gradedMaintenance: Grade B
Last commit or release 12 days ago. Down one letter for 59 open issues against 119 stars.
How maintenance is graded
Where the 48 comes from
0 + 20 + 7 + 10 + 4 + 7 = 48. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 7 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "memgraph-ai-toolkit": { "command": "uvx", "args": [ "mcp-memgraph" ] } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
Memgraph AI Toolkit
Python packages for building AI applications with Memgraph: agent memory, knowledge graphs, GraphRAG, and framework integrations.
Use the packages independently, or combine them to bring documents, databases, and agent activity into a graph.
Documentation · Examples · Discord · Issues
Choose your starting point
| I want to… | Start here |
|---|---|
| Give coding agents memory across sessions and tools | Context Graph |
| Extract entities and relationships from documents | unstructured2graph |
| Query Memgraph in natural language or build a LangChain agent | langchain-memgraph |
| Connect an MCP client to Memgraph | mcp-memgraph |
| Use Memgraph as LightRAG storage | lightrag-memgraph |
| Migrate a MySQL or PostgreSQL database into a graph | structured2graph |
| Work directly with Memgraph from Python | memgraph-toolbox |
| Define and validate a graph's entity and relation types | hygm |
Agent memory with Context Graph
Keep what your agents learn in a database you control. Context Graph captures sessions, tool calls, and skill usage, stores explicit memory, and retrieves relevant past conversations for the next session.
It supports Claude Code, Codex, Copilot CLI, Cursor, OpenCode, Antigravity CLI, and Grok Build, plus applications built with the Claude Agent SDK or OpenAI Agents SDK.
curl -fsSL https://raw.githubusercontent.com/memgraph/ai-toolkit/main/context-graph/scripts/install.sh | bash
Setup installs the CLI and connectors, starts its own Memgraph container or connects to one you specify, and wires the agents you select. Docker is needed if setup starts Memgraph for you.
Get started with Context Graph · Components · Recall benchmarks
Knowledge graphs from documents
unstructured2graph parses documents and extracts entities and relationships. Its default backend, GLiNER2, runs locally without an LLM API key; LightRAG is available as an LLM-based alternative.
Start Memgraph:
docker run -p 7687:7687 --name memgraph \
memgraph/memgraph-mage:latest --schema-info-enabled=true
Install the package:
pip install unstructured2graph
Extract a graph from text:
import asyncio
from memgraph_toolbox.api.memgraph import Memgraph
from unstructured2graph import from_texts
from unstructured2graph.gliner2_backend import GLiNER2Backend
async def main():
await from_texts(
texts=["Alice works for Acme in London."],
memgraph=Memgraph(),
extraction_backend=GLiNER2Backend(),
enforce_ontology=True,
)
asyncio.run(main())
The extraction model downloads on first use. See unstructured2graph for files, URLs, document-format extras, and custom ontologies.
Framework integrations
Install only the integration you need:
pip install langchain-memgraph # graph store, QA chain, and agent toolkit
pip install mcp-memgraph # MCP server for database queries and schema tools
pip install lightrag-memgraph # LightRAG storage backends
Each package's README covers its connection settings and examples. LLM-based features need credentials for the model provider you choose; local extraction, capture, and recall do not require an LLM key.
Developing locally
This is a Python 3.10+ uv workspace. From the repository root:
uv sync --all-packages --all-extras
uvx ruff@0.16.0 check .
uvx ruff@0.16.0 format --check .
uvx ty@0.0.75 check .
These are the versions CI pins in the lint workflow.
Context Graph, HyGM, and unstructured2graph use an isolated test Memgraph managed by the development script:
./scripts/dev-memgraph.sh test
./scripts/dev-memgraph.sh test sessions-graph # one package
./scripts/dev-memgraph.sh test-down # remove the test container
For other packages, see their READMEs and the test workflow for dependencies and credentials. The development script also manages a separate exploration database for dogfooding.
Community
Ask questions on Discord, report bugs or request features in GitHub Issues, and explore the Memgraph AI documentation.
Frequently asked questions
What is mcp-memgraph MCP Server?
MCP integration and utilities for Memgraph MCP server
How do I install mcp-memgraph MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. mcp-memgraph MCP Server runs locally from the PyPI package mcp-memgraph with the command uvx mcp-memgraph.
Is mcp-memgraph MCP Server free and open source?
Yes. mcp-memgraph MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does mcp-memgraph MCP Server support remote (HTTP) connections?
No remote endpoint is listed for mcp-memgraph MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is mcp-memgraph MCP Server's trust score calculated?
mcp-memgraph MCP Server scores 48 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.