Configure MemoryGraph with the Claude Desktop application.

Prerequisites

  • Claude Desktop app installed
  • Python 3.10 or higher
  • MemoryGraph installed (pipx install memorygraphMCP)

Setup Steps

Step 1: Find the memorygraph Path

# Get the full path to memorygraph
which memorygraph

# Example output:
# /Users/yourname/.local/bin/memorygraph

Step 2: Open Claude Desktop Settings

Open Claude Desktop and navigate to Settings β†’ Developer β†’ MCP Servers.

Step 3: Add MCP Configuration

Add the following JSON configuration (replace path with your actual path):

{
  "mcpServers": {
    "memorygraph": {
      "command": "/Users/yourname/.local/bin/memorygraph",
      "args": []
    }
  }
}

Step 4: Restart Claude Desktop

Quit and reopen Claude Desktop for the changes to take effect.

Verify Connection

In Claude Desktop, you should see a tools icon indicating MCP servers are connected. Ask Claude to list available tools - you should see memorygraph tools.

Configuration File Location

The Claude Desktop config file is located at:

Platform Path
macOS ~/Library/Application Support/Claude/claude_desktop_config.json
Windows %APPDATA%\Claude\claude_desktop_config.json
Linux ~/.config/Claude/claude_desktop_config.json

Advanced Configuration

With Environment Variables

{
  "mcpServers": {
    "memorygraph": {
      "command": "/Users/yourname/.local/bin/memorygraph",
      "args": [],
      "env": {
        "MEMORYGRAPH_DATA_DIR": "/path/to/custom/data",
        "MEMORYGRAPH_LOG_LEVEL": "DEBUG"
      }
    }
  }
}

Troubleshooting

MCP Server Not Appearing

  • Verify the command path is correct and absolute
  • Check that memorygraph runs manually: /path/to/memorygraph --health
  • Restart Claude Desktop completely (quit from menu bar)

See the full Troubleshooting Guide for more solutions.