MCP integration and utilities for Memgraph MCP server
Project description
🚀 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
1. Run Memgraph MCP Server
- Install
uvand createvenvwithuv 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 uvon MacOS/Linux orwhere uvon Windows. Make sure you pass in the absolute path to your server.
3. Chat with the database
- Run Memgraph MAGE:
Thedocker run -p 7687:7687 memgraph/memgraph-mage --schema-info-enabled=True--schema-info-enabledconfiguration setting is set toTrueto allow LLM to runSHOW SCHEMA INFOquery. - 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_memgraph-0.1.0.tar.gz.
File metadata
- Download URL: mcp_memgraph-0.1.0.tar.gz
- Upload date:
- Size: 87.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f552a10a501f5ffbf1a3034187cdf57419a9dd6d90602fbdc74dcd39ac103a38
|
|
| MD5 |
cdc14c545e9ba5efef3c2d494cad838f
|
|
| BLAKE2b-256 |
afcd9e9c336cce3b1c91db477c481bb1d6fde582a4e028da7ba56680fb5a432f
|
File details
Details for the file mcp_memgraph-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mcp_memgraph-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd87607428c3ee5466e08460ea7c0bf3f3e7e0b6840feeba4111b62be2036ef4
|
|
| MD5 |
f9cb605a55fbbf0f06e240ab70960b4f
|
|
| BLAKE2b-256 |
b693302cd7bdfd5a0208a6be2e972a750c3ee3051666b9db39ff70eaae5b78d9
|