GraphRAG MCP Server
by rileylemm
GraphRAG MCP is a Model Context Protocol server that enables querying a hybrid graph and vector database system. It combines Neo4j and Qdrant for powerful semantic and graph-based document retrieval, enhancing LLM integration.
Last updated: N/A
What is GraphRAG MCP Server?
GraphRAG MCP is a server that integrates Neo4j (graph database) and Qdrant (vector database) to provide a hybrid retrieval system for large language models (LLMs). It follows the Model Context Protocol (MCP) specification, allowing seamless integration with MCP-enabled clients.
How to use GraphRAG MCP Server?
To use GraphRAG MCP, clone the repository, install dependencies using uv, configure database connections in the .env file, and run the server. Then, add the server to your MCP configuration file (e.g., ~/.cursor/mcp.json) and restart your MCP client. You can then use the provided tools like search_documentation
and hybrid_search
within your LLM context.
Key features of GraphRAG MCP Server
Semantic search using sentence embeddings and Qdrant
Graph-based context expansion using Neo4j
Hybrid search combining both approaches
MCP tools and resources for LLM integration
Use cases of GraphRAG MCP Server
Semantic document retrieval
Context-aware information retrieval for LLMs
Knowledge graph querying
Integrating graph and vector data for enhanced search results
FAQ from GraphRAG MCP Server
What is GraphRAG MCP?
What is GraphRAG MCP?
It's a server that combines Neo4j and Qdrant for hybrid graph and vector database querying.
What are the prerequisites?
What are the prerequisites?
Python 3.12+, Neo4j, Qdrant, and indexed document data.
How do I install it?
How do I install it?
Clone the repo, install dependencies with uv, configure the .env file, and run the server.
How do I integrate it with Claude or Cursor?
How do I integrate it with Claude or Cursor?
Add the server to your MCP configuration file and restart your client.
What if I have connection issues?
What if I have connection issues?
Ensure Neo4j and Qdrant are running and accessible, and verify your database credentials.