Graphiti MCP Server
MCP clients can use the server to add episodes, search the graph, manage graph data, and inspect the server status.
Supported providers
The server supports these database providers:
- FalkorDB, which is the default provider
- Neo4j
The server supports OpenAI, Azure OpenAI, Anthropic, Gemini, and Groq for LLM inference. It supports OpenAI, Azure OpenAI, Gemini, and Voyage for embeddings.
Quick Start
This quick start uses the default OpenAI and FalkorDB configuration. The
checked-in default LLM model is gpt-5.5.
Prerequisites
Before you start, install or configure:
- Python 3.10 or later.
uv.- A FalkorDB or Neo4j database.
- Credentials for the selected LLM and embedding providers.
Installation
Clone the repository:
Install the MCP server dependencies:
Configuration
Command-line arguments override environment variables. Environment variables
override values in config/config.yaml.
For the default FalkorDB configuration, set these variables in .env:
For Neo4j, set the connection variables and select the provider when you start the server:
Running the Server
The default transport is streamable HTTP. Start the server from the
mcp_server directory:
The MCP endpoint is http://localhost:8000/mcp/.
Select Neo4j with a command-line argument:
MCP Client Integration
The server supports streamable HTTP and stdio. The SSE transport remains
available for compatibility, but it is deprecated.
Claude Desktop
Configure a stdio client with the main.py entry point:
Cursor IDE
Start the server with the default HTTP transport. Then configure the client to use the streamable HTTP endpoint:
Available Tools
The server registers these tools:
add_memorysearch_nodessearch_memory_factsdelete_entity_edgedelete_episodeget_entity_edgeget_episodessummarize_sagabuild_communitiesadd_tripletget_episode_entitiesclear_graphget_status
clear_graph clears the selected group IDs. If a request omits the group IDs,
the tool uses the configured default group. The tool requires an effective
group ID.
Docker Deployment
Run the provided Compose file from the mcp_server directory:
The Compose file starts FalkorDB and the MCP server. The server uses streamable
HTTP at http://localhost:8000/mcp/.
Concurrency and telemetry
The SEMAPHORE_LIMIT environment variable controls episode-processing
concurrency. Decrease the value if an LLM provider returns rate-limit errors.
Graphiti sends anonymous initialization telemetry by default. Disable telemetry with:
Next Steps
The MCP Server README contains the complete configuration schema and provider examples.
The MCP server is experimental and under active development. Features and APIs may change between releases.