memgraph
MCP server from mgorunuch/memgraph-mcp-server
claude mcp add --transport stdio mgorunuch-memgraph-mcp-server memgraph-mcp-server \ --env MEMGRAPH_URI="bolt://localhost:7687 (default)" \ --env MEMGRAPH_USER="Memgraph username (optional, defaults to none)" \ --env MEMGRAPH_PASSWORD="Memgraph password (optional)"
How to use
This Memgraph MCP Server provides a bridge between Claude's MCP tooling and a Memgraph graph database. It exposes a standard MCP interface that Claude can connect to, enabling you to run Cypher queries against Memgraph, retrieve schema information, and generate JSON configuration for Claude integration. The server blocks potentially destructive queries by default, ensuring safer operation, and can be configured to connect to Memgraph via the Bolt protocol using the MEMGRAPH_URI, MEMGRAPH_USER, and MEMGRAPH_PASSWORD environment variables. Once running, you can generate an MCP JSON configuration for Claude with the --json flag, and then use Claude's MCP features to query the graph or inspect its schema through the provided run_query and get_schema tools.
How to install
Prerequisites:\n- Go 1.21 or higher (per the project requirements) or use Homebrew to install the binary.\n- Memgraph database accessible via Bolt protocol.\n\nInstallation steps (via Homebrew):\n1) Add the tap for the repository:\n brew tap mgorunuch/memgraph-mcp-server https://github.com/mgorunuch/memgraph-mcp-server\n2) Install the server:\n brew install mgorunuch/memgraph-mcp-server/memgraph-mcp-server\n\nInstallation steps (via Go source):\n1) Clone the repository:\n git clone https://github.com/mgorunuch/memgraph-mcp-server.git\n2) Build the server:\n cd memgraph-mcp-server\n go build\n\nConfiguration after installation:\n- Set Memgraph connection parameters via environment variables (optional): MEMGRAPH_URI, MEMGRAPH_USER, MEMGRAPH_PASSWORD. If not provided, defaults to bolt://localhost:7687 with no authentication.\n- Run the server:\n memgraph-mcp-server\n\nTo generate a Claude MCP configuration for integration, use:\n memgraph-mcp-server --json --connection-uri 'bolt://localhost:7687' --username 'username' --password 'password'\n
Additional notes
Notes and tips:\n- The server exposes a controlled set of MCP tools: run_query for executing Cypher queries against Memgraph, and get_schema for retrieving schema information.\n- By default, destructive operations (DELETE, REMOVE, DROP, CREATE, MERGE, SET) are blocked. To allow such operations, you must explicitly set unsafe: true when using the run_query tool.\n- Ensure Memgraph is reachable at the configured bolt URI and that any required credentials are supplied via MEMGRAPH_USER and MEMGRAPH_PASSWORD.\n- The --json option can be used to quickly produce a Claude-compatible MCP configuration JSON.\n- When using Claude, point its MCP configuration to the running memgraph-mcp-server instance.\n
Related MCP Servers
trpc-agent-go
trpc-agent-go is a powerful Go framework for building intelligent agent systems using large language models (LLMs) and tools.
station
Station is our open-source runtime that lets teams deploy agents on their own infrastructure with full control.
tiger-cli
Tiger CLI is the command-line interface for Tiger Cloud. It includes an MCP server for helping coding agents write production-level Postgres code.
gopls
MCP server for golang projects development: Expand AI Code Agent ability boundary to have a semantic understanding and determinisic information for golang projects.
kubernetes
A Model Context Protocol (MCP) server for the Kubernetes API.
gcp-cost
💰 An MCP server that enables AI assistants to estimate Google Cloud costs, powered by Cloud Billing Catalog API and built with Genkit for Go