Skip to content

memgraph/mcp-memgraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Memgraph MCP Server

Run server

  1. Install uv and create venv with uv venv. Activate virtual environment with .venv\Scripts\activate.
  2. Install dependencies: uv add "mcp[cli]" httpx
  3. Run Memgraph MCP server: uv run server.py.
  4. Install Claude for Desktop.
  5. 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 running which uv on MacOS/Linux or where uv on Windows. Make sure you pass in the absolute path to your server.

  1. Open Claude Desktop and see the Memgraph tool listed. Try it out! (Have data loaded in Memgraph)

Tools

run_query()

Run a Cypher query against Memgraph

Resources

get_schema()

Get Memgraph schema information (run SHOW SCHEMA INFO; query) -> prerequisite: --schema-info-enabled=true.

About

Memgraph MCP Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages