Skip navigation
I added a Knowledge Graph to Cursor using MCP.
0:00 / 11:39

I added a Knowledge Graph to Cursor using MCP.

Santiago

@svpino457K followers

Visit on X
1,624 likesDownloadOriginal post

155,959 views

I added a Knowledge Graph to Cursor using MCP. You gotta see this working! Knowledge graphs are a game-changer for AI Agents, and this is one example of how you can take advantage of them. How this works: 1. Cursor connects to Graphiti's MCP Server. Graphiti is a very popular open-source Knowledge Graph library for AI agents. 2. Graphiti connects to Neo4j running locally. Now, every time I interact with Cursor, the information is synthesized and stored in the knowledge graph. In short, Cursor now "remembers" everything about our project. Huge! Here is the video I recorded.

11 Comments

Comments from the original post on X (Twitter)

  • Santiago's profile picture

    @svpino

    To get this working on your computer, follow the instructions on this link: Something super cool about using Graphiti's MCP server: You can use one model to develop the requirements and a completely different model to implement the code. This is a huge plus because you could use the stronger model at each stage. Also, Graphiti supports custom entities, which you can use when running the MCP server. You can use these custom entities to structure and recall domain-specific information, which will tenfold the accuracy of your results. Here is an example of what these look like:

    14 likes

  • Santiago's profile picture

    @svpino

    By the way, knowledge graphs for agents are a big thing. A few ridiculous and eye-opening benchmarks comparing an AI Agent using knowledge graphs with state-of-the-art methods: • 94.8% accuracy versus 93.4% in the Deep Memory Retrieval (DMR) benchmark. • 71.2% accuracy versus 60.2% on conversations simulating real-world enterprise use cases. • 2.58s of latency versus 28.9s. • 38.4% improvement in temporal reasoning. You'll find these benchmarks in this paper:

    13 likes

  • Santiago's profile picture

    @svpino

    If you would rather watch the video on YouTube, go here:

    7 likes

  • CoinStats's profile picture

    @CoinStats

    With CoinStats, you can track all your assets in one place and get advanced analytics. Connect your portfolio to start tracking your Profit & Loss today:

    73 likes

  • Damien Hughes's profile picture

    @damien_r_h

    Very cool. If I connect an existing GitHub project to Cursor with this installed will it save the entire code base to Neo4j?

    1 like

  • Santiago's profile picture

    @svpino

    It won't save the codebase. It only saves the breakdown of the specification you asked Cursor to generate. Any time you modify that spec, the knowledge graph will change as well.

  • Rohit Ghumare | Try createmvps.app's profile picture

    @ghumare64

    I use to generate this - Uses gemini 2.5 pro

    1 like

  • Kara Bot's profile picture

    @karaBotX

    Interesting development, how does it impact performance over long periods?

  • Amir Elaguizy's profile picture

    @amirpc

    This was playing in the bottom right corner of my fourth monitor and caught my attention because the video quality is absurdly good. Whatever setup you have everyone should be mandated to use for publishing video content. Kudos.

  • Ulises | Æ's profile picture

    @Ulises_0_

    Knowledge graphs giving AI long-term memory? Now that's how you supercharge productivity. Love seeing tools like Cursor evolve beyond just code generation into true project partners.😮‍💨💪

  • Devin J. Dawson's profile picture

    @unclemusclez

    I learned something before getting out of bed today, this is great