drio
Open app

🚀 Memgraph MCP Server

Source

Memgraph MCP Server

Catalog onlyCatalog onlySTDIO

Overview

Memgraph MCP Server is a server application designed to work with Memgraph, allowing users to run and manage their Memgraph instances effectively.

To use Memgraph MCP Server, follow these steps:

  1. Install uv and create a virtual environment.
  2. Install the necessary dependencies.
  3. Run the Memgraph MCP server using the provided command.
  4. Configure the Memgraph server in the Claude Desktop application.
  5. Open Claude Desktop to access the Memgraph tool.
  • Ability to run Cypher queries against Memgraph. - Provides schema information for Memgraph databases. - Integration with Claude Desktop for enhanced usability.
  1. Running complex queries on large datasets in Memgraph.
  2. Managing and configuring Memgraph instances through a user-friendly interface.
  3. Integrating Memgraph with other applications for data analysis and visualization.

Add to your AI client

Use these steps to connect 🚀 Memgraph MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-memgraph-memgraph": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-memgraph-memgraph"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-memgraph-memgraph": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-memgraph-memgraph"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-memgraph-memgraph": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-memgraph-memgraph"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-memgraph-memgraph": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-memgraph-memgraph"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-memgraph-memgraph": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-memgraph-memgraph"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-memgraph-memgraph": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-memgraph-memgraph"
      ]
    }
  }
}

FAQ

What is the purpose of Memgraph MCP Server?

It allows users to run and manage Memgraph instances efficiently.

Is Memgraph MCP Server free to use?

Yes, it is available under the MIT license.

What programming language is Memgraph MCP Server written in?

Memgraph MCP Server is written in Python.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2624,"uuid":"b585e6b7-cdab-4f94-848b-58dc4d61e7f9","name":"mcp-memgraph","title":"🚀 Memgraph MCP Server","description":"Memgraph MCP Server","avatar_url":"https://avatars.githubusercontent.com/u/17707542?v=4","created_at":"2025-03-13T09:14:30.559Z","updated_at":"2025-03-13T09:41:07.666Z","status":"created","author_name":"memgraph","author_avatar_url":"https://avatars.githubusercontent.com/u/17707542?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/memgraph/mcp-memgraph","target":"_self","content":"$29","summary":"$2a","img_url":"https://github.com/memgraph/mcp-memgraph/raw/main/mcp-server.png","type":null,"metadata":"{\"star\":\"16\",\"license\":\"MIT license\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-05-16 11:21:08\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]