Building GraphRAG Python MCP tools
Build your own GraphRAG MCP server with graph-backed tools and resources.
In this 2-hour course, you will learn
This course follows on from the Developing with Neo4j MCP Tools course, which introduces the Model Context Protocol and key concepts like Servers, Clients and Tools.
In this course, you will build on that knowledge to create your own MCP server using the MCP Python SDK and create server features that can be consumed by any MCP client.
This course assumes that you have are familiar with the basics of Generative AI and Large Language Models. If you are not, we recommend that you take the GenAI Fundamentals and Developing with Neo4j MCP Tools courses first.
We also assume a basic understanding of Python and command line tools. We assume that you have Python installed along with the uv package manager.
If you are not familiar with uv, you should also review the uv documentation.
The course features hands-on challenges using GitHub CoPilot, you will need to enable either the free or Pro version.
FastMCP server development
Neo4j driver lifecycle management
Context-aware tools with logging
Pagination for large datasets
Text-to-Cypher natural language queries