Memgraph MCP Server logo

Memgraph MCP Server

by Memgraph

Memgraph MCP Server is a lightweight server implementation of the Model Context Protocol (MCP) designed to connect Memgraph with LLMs. It allows you to interact with your Memgraph database using natural language through tools like Claude.

View on GitHub

Last updated: N/A

What is Memgraph MCP Server?

Memgraph MCP Server is a server that implements the Model Context Protocol, enabling communication between Memgraph and Large Language Models (LLMs). It provides tools to run Cypher queries and retrieve schema information, allowing LLMs to interact with and understand your graph data.

How to use Memgraph MCP Server?

To use the Memgraph MCP Server, you need to install the server, configure it to connect to your Memgraph database, and then configure your LLM (like Claude) to use the server. This involves setting up the server with uv, adding the server configuration to the LLM's settings, and ensuring Memgraph is running with schema info enabled.

Key features of Memgraph MCP Server

  • Connects Memgraph with LLMs

  • Lightweight server implementation of MCP

  • Provides tools to run Cypher queries

  • Provides tools to retrieve schema information

  • Enables natural language interaction with graph data

Use cases of Memgraph MCP Server

  • Building AI-powered applications with graph data

  • Integrating Memgraph with LLMs for question answering

  • Creating intelligent agents that can query and understand graph databases

  • Enhancing LLM capabilities with graph-based knowledge

  • Automating graph data analysis with natural language

FAQ from Memgraph MCP Server

What is MCP?

Model Context Protocol, a protocol for connecting models with external resources.

What is Memgraph?

An in-memory graph database.

What LLMs are supported?

Currently, the documentation focuses on Claude, but the MCP standard allows for integration with other LLMs.

How do I enable schema info?

Run Memgraph with the --schema-info-enabled=True flag.

Where can I find more information about Memgraph?

Visit the Memgraph website at memgraph.com