Memgraph MCP Server
Memgraph MCP Server is a lightweight server implementation of the Model Context Protocol (MCP) designed to connect Memgraph with LLMs.
Quick start
Memgraph MCP Server Quick Start video
1. Run Memgraph MCP Server
- Install
uv
and createvenv
withuv venv
. Activate virtual environment with.venv\Scripts\activate
. - Install dependencies:
uv add "mcp[cli]" httpx
- Run Memgraph MCP server:
uv run server.py
.
2. Run MCP Client
- Install Claude for Desktop.
- Add the Memgraph server to Claude config:
MacOS/Linux
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
Windows
code $env:AppData\Claude\claude_desktop_config.json
Example config:
{
"mcpServers": {
"mpc-memgraph": {
"command": "/Users/katelatte/.local/bin/uv",
"args": [
"--directory",
"/Users/katelatte/projects/mcp-memgraph",
"run",
"server.py"
]
}
}
}
[!NOTE]
You may need to put the full path to the uv executable in the command field. You can get this by runningwhich uv
on MacOS/Linux orwhere uv
on Windows. Make sure you pass in the absolute path to your server.
3. Chat with the database
- Run Memgraph MAGE:
docker run -p 7687:7687 memgraph/memgraph-mage --schema-info-enabled=True
The --schema-info-enabled
configuration setting is set to True
to allow LLM to run SHOW SCHEMA INFO
query.
- Open Claude Desktop and see the Memgraph tools and resources listed. Try it out! (You can load dummy data from Memgraph Lab Datasets)
Tools
run_query()
Run a Cypher query against Memgraph.
Resources
get_schema()
Get Memgraph schema information (prerequisite: --schema-info-enabled=True
).
Roadmap
The Memgraph MCP Server is just at its beginnings. We're actively working on expanding its capabilities and making it even easier to integrate Memgraph into modern AI workflows. In the near future, we'll be releasing a TypeScript version of the server to better support JavaScript-based environments. Additionally, we plan to migrate this project into our central AI Toolkit repository, where it will live alongside other tools and integrations for LangChain, LlamaIndex, and MCP. Our goal is to provide a unified, open-source toolkit that makes it seamless to build graph-powered applications and intelligent agents with Memgraph at the core.
Memgraph MCP Server
Project Details
Categories
Recomended MCP Servers
mssql mcp server
Beancount MCP Server is an experimental implementation that utilizes the Model Context Protocol (MCP) to enable AI assistants...
A middleware server that enables multiple isolated instances of the same MCP servers to coexist independently with unique...
Supabase MCP Server enabling Cursor & Windsurf to use any method from Management API and query your database
connect to 50+ data stores via superset mcp server. Can use with open ai agent sdk, Claude app,...
这个项目是一个基于Model Context Protocol (MCP)的AutoCAD集成服务器,它允许通过自然语言与AutoCAD进行交互。通过这个服务器,用户可以使用Claude等大型语言模型来创建、修改和分析AutoCAD图纸,同时还可以存储和查询CAD元素的相关数据。目前制作参考学习,仅实现端到端之间的通信,具体工具函数尚未晚上
Model Context Protocol server for Directus
A beginner-friendly MCP server template featuring a PostgreSQL connector with clean, easy-to-understand code. Perfect for developers new to...
DButils is an all-in-one MCP service that enables your AI to do data analysis by harnessing versatile types...
A Model Context Protocol (MCP) server implementation that provides Elasticsearch and OpenSearch interaction.