GraphRAG MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GraphRAG MCPfind all documents related to Q3 financial projections"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Why GraphRAG MCP
To improve information retrieval efficiency within enterprises, there is a need for an Agent capable of extracting user-relevant information from scattered documents. By building enterprise document retrieval as an MCP (Model Context Protocol), other agents within the organization can simply connect to this MCP whenever document retrieval is required. This approach centralizes document search capabilities, making it easier to integrate and scale intelligent agents across the enterprise.
How to Run
Fill in the required environment variables in both
.envfiles located in the project root and in thegraphrag/directory.Open your terminal and navigate to the project root directory.
Run the following command to start the GraphRAG MCP:
uv run rag_client.py rag_server.py
After these steps, the GraphRAG MCP will be up and running.
Code Structure
.
├── main.py
├── rag_client.py # MCP client for graphrag
├── rag_server.py # MCP server for graphrag
├── pyproject.toml
├── .env
├── .gitignore
├── .python-version
├── README.md
└── graphrag/
├── .env
├── settings.yaml
├── cache/
│ ├── community_reporting/
│ ├── extract_graph/
│ ├── summarize_descriptions/
│ └── text_embedding/
├── input/
│ └── test.txt # knowledge base
├── logs/
├── output/
│ ├── context.json
│ ├── stats.json
│ └── lancedb/
└── prompts/
├── basic_search_system_prompt.txt
├── community_report_graph.txt
├── community_report_text.txt
├── drift_reduce_prompt.txt
├── drift_search_system_prompt.txt
├── extract_claims.txt
├── extract_graph.txt
└── ...Folder and File Descriptions
rag_client.py: Client for interacting with the RAG server.
rag_server.py: Server providing RAG-based tools.
pyproject.toml: Python project configuration.
.env, .gitignore, .python-version: Environment and versioning files.
graphrag/
.env, settings.yaml: Environment and configuration for GraphRAG.
cache/: Stores intermediate results for various pipeline stages.
community_reporting/: Caches community report data.
extract_graph/: Caches graph extraction results.
summarize_descriptions/: Caches description summaries.
text_embedding/: Caches text embeddings for retrieval.
input/: Contains input data files.
logs/: Stores log files generated during runs.
output/: Stores output data such as context and statistics.
context.json: Output context data.
stats.json: Output statistics.
lancedb/: Database files for vector storage.
prompts/: Contains prompt templates for different tasks.
basic_search_system_prompt.txt: Prompt for basic search.
community_report_graph.txt: Prompt for graph-based community reports.
community_report_text.txt: Prompt for text-based community reports.
drift_reduce_prompt.txt, drift_search_system_prompt.txt: Prompts for drift analysis.
extract_claims.txt, extract_graph.txt: Prompts for claim and graph extraction.
Core Technology: GraphRAG
GraphRAG is a Retrieval-Augmented Generation (RAG) framework that integrates graph-based reasoning with large language models. It enhances traditional RAG by representing entities, relationships, and claims as a knowledge graph, enabling more structured and context-aware retrieval.
Related MCP server: Graforest MCP
How GraphRAG Works
Data Ingestion: Raw text and tabular data are processed to extract entities, relationships, and claims, which are stored in a graph structure.
Prompting: Custom prompts guide the language model to generate responses grounded in the graph data.
Retrieval: When a query is received, relevant nodes and edges from the graph are retrieved using semantic search and graph traversal.
Generation: The language model synthesizes answers using both the retrieved graph context and prompt templates, ensuring responses are accurate and well-grounded.
Caching and Output: Intermediate and final results are cached for efficiency and stored for further analysis.
This approach allows for more explainable, reliable, and context-rich answers compared to standard RAG pipelines.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityFmaintenanceProvides AI agents with persistent memory and knowledge management through a comprehensive knowledge graph platform. Enables storing, searching, and managing entities, relationships, and observations with advanced features like trending analysis and smart ranking.Last updated3
- FlicenseAqualityCmaintenanceEnables AI agents to build, populate, and search knowledge graphs by providing tools for entity extraction, relationship mapping, and graph traversal. It manages the underlying database infrastructure so users can create searchable knowledge bases from text through natural language commands.Last updated131

Memsolus MCP Serverofficial
AlicenseAqualityDmaintenanceProvides persistent long-term memory for AI agents through semantic search and automated knowledge graph extraction. It enables agents to store, recall, and reason over facts, preferences, and relationships across multiple conversations and sessions.Last updated1429MIT- Alicense-qualityDmaintenanceEnables sophisticated reasoning workflows using graph-based representations for AI models.Last updated11Apache 2.0
Related MCP Connectors
Your company's brain for AI agents. Cited, permission-aware knowledge across every system.
End-to-end agent-managed company brain. Docs, diagrams, plans, Knowledge Graph. Lean & affordable.
Persistent memory and knowledge graphs for AI agents. Hybrid search, context checkpoints, and more.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/embracefailure/MCPHub'
If you have feedback or need assistance with the MCP directory API, please join our Discord server