Best Knowledge Graph MCP servers

Build and query knowledge graphs (Neo4j, Graphiti and others) for structured long-term memory and GraphRAG. We compared 27 Knowledge Graph MCP servers — 22 updated in the last 90 days, 9 with one-click install — ranked by relevance and GitHub stars.

Official: Memory (Knowledge Graph) (official reference server) by modelcontextprotocol, mcp-neo4j by neo4j-contrib

Quick comparison

Top 12 by relevance. Status: maintained = commit in the last 90 days.

ServerStarsStatusUpdatedInstallAPI key
Memory (Knowledge Graph) (official reference server)modelcontextprotocol★ 91.2kMaintained3 days agoOne-clickNot mentioned
Graphitigetzep★ 31.7kMaintainedtodaySee READMELikely
mcp-neo4jneo4j-contrib★ 988Maintained1 month agoOne-clickNot mentioned
mcp-knowledge-graphshaneholloman★ 888Aging4 months agoOne-clickNot mentioned
codebase-memory-mcpDeusData★ 46.5kMaintainedtodayOne-clickLikely
code-review-graphtirth8205★ 32.1kMaintained7 days agoOne-clickLikely
pipeshub-aipipeshub-ai★ 3.8kMaintainedtodaySee READMELikely
redamonsamugit83★ 3kMaintained5 days agoSee READMELikely
mcp-memory-servicedoobidoo★ 2kMaintainedtodayCommandNot mentioned
gortexzzet★ 1.9kMaintainedtodaySee READMENot mentioned
NornicDBorneryd★ 905MaintainedtodayOne-clickNot mentioned
okf-agent-memoryokf-memory★ 771MaintainedyesterdaySee READMELikely

All 27 Knowledge Graph MCP servers

Showing all 27 servers

Memory (Knowledge Graph) (official reference server)

by modelcontextprotocol · TypeScript

Basic persistent memory using a local knowledge graph of entities, relations and observations, so the assistant can remember information about you across chats.

Memory & KnowledgeOfficialMaintained91.2k (repo)

Graphiti

by getzep · Python

Real-time temporal knowledge graphs for AI agents, with an MCP server that gives assistants long-term graph memory.

Memory & KnowledgeMaintained31.7k

mcp-neo4j

by neo4j-contrib · Python

Neo4j Labs Model Context Protocol servers

DatabasesMaintainedRemote988

mcp-knowledge-graph

by shaneholloman · JavaScript

MCP server enabling persistent memory for Claude through a local knowledge graph - fork focused on local development

Memory & KnowledgeAging888

codebase-memory-mcp

by DeusData · C

High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.

Developer ToolsMaintained46.5k

code-review-graph

by tirth8205 · Python

Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked context reductions on reviews and large-repo workflows.

Developer ToolsMaintainedRemote32.1k

pipeshub-ai

by pipeshub-ai · Python

The open-source context layer for AI agents. PipesHub turns your company's knowledge (Slack, Drive, Jira, GitHub, Microsoft 365 and 40+ connectors) into a permission-aware workspace that agents can search, grep, navigate and cite. MCP, SDKs and built-in agents. Self-hosted.

Memory & KnowledgeMaintained3.8k

redamon

by samugit83 · Python

Open-source, self-hosted AI penetration testing framework: maps your attack surface into a graph, autonomously exploits it from a Kali sandbox with human approval gates, and opens PRs that fix what it finds. MCP both ways: plug in any MCP server as a tool, or drive RedAmon from Claude Code or your own agent.

SecurityMaintainedRemote3k

mcp-memory-service

by doobidoo · Python

Open-source persistent memory for AI agent pipelines (LangGraph, CrewAI, AutoGen) and Claude. REST API + knowledge graph + autonomous consolidation.

Memory & KnowledgeMaintainedRemote2k

gortex

by zzet · Go

High-performance code-intelligence engine for AI agents and IDE, supports 257 languages, multi repositories, based on graph, with access via CLI, MCP Server, and API. AI coding agents teammate - expose only needed information, cutting token usage up to 50x. 100% local. Discord: https://discord.gg/39MFHu3J5d

Developer ToolsMaintainedRemote1.9k

NornicDB

by orneryd · Go

Nornicdb is a distributed low-latency, Graph+Vector, Temporal MVCC with all sub-ms HNSW search, graph traversal, and writes. Using Neo4j Bolt/Cypher and qdrant's gRPC means you can switch with no changes while adding intelligent features like schemas, managed embeddings, reranking+llm, GPU accel, Auto-TLP, Policy-based Memory Decay, and MCP server.

DatabasesMaintained905

okf-agent-memory

by okf-memory · Go

Git-native persistent memory for AI coding agents. Implements Google OKF v0.2 with sub-300µs in-memory BM25 search, embedded MCP server, and progressive disclosure. Slashes token bloat by 80% with zero external databases or dependencies. Built in pure Go.

Memory & KnowledgeMaintained771

context-portal

by GreatScottyMac · Python

Context Portal (ConPort): A memory bank MCP server building a project-specific knowledge graph to supercharge AI assistants. Enables powerful Retrieval Augmented Generation (RAG) for context-aware development in your IDE.

Memory & KnowledgeAging767

memora

by agentic-box · Python

Give your AI agents persistent, collective memory — with deduplicating absorb, supersession lineage, semantic search, and a graph UI. Speaks MCP.

Memory & KnowledgeMaintainedRemote737

MegaMemory

by 0xK3vin · TypeScript

Persistent project knowledge graph for coding agents. MCP server with semantic search, in-process embeddings, and web explorer.

Memory & KnowledgeAging722

tokensave

by aovestdipaperino · Rust

The most comprehensive code intelligence MCP server for AI coding agents. 40+ tools, 30+ languages, 9 agent integrations. Pre-indexed semantic knowledge graphs for instant code understanding — fewer tokens, fewer tool calls, 100% local.

Developer ToolsMaintained662

token-optimizer-mcp

by ooples · JavaScript

Measure token savings per AI coding agent, optimize context, and share a live local knowledge graph across 16 CLI clients.

Developer ToolsMaintained545

octocode

by Muvon · Rust

Structural code intelligence for AI agents — semantic search, knowledge graphs, and a built-in MCP server in one Rust binary. Give Claude, Cursor, and any MCP client a deep understanding of your codebase.

Developer ToolsMaintained510

caura

by caura-ai · Python

Caura (formerly MemClaw) — governed shared memory for AI agent fleets. Multi-agent, multi-tenant, MCP-native. Trust tiers, keystone policies, audit trails, knowledge graph, self-improving retrieval. Apache 2.0.

Memory & KnowledgeMaintainedRemote499

memtrace-public

by syncable-dev · Python

Structural memory for AI coding agents. Bi-temporal graph, MCP-native, zero LLM calls. Cursor · Claude Code · Codex · DeepSeek Harness · Hermes · VS Code · Windsurf.

Developer ToolsMaintained491

atlas-mcp-server

by cyanheads · TypeScript

A Model Context Protocol (MCP) server for ATLAS, a Neo4j-powered task management system for LLM Agents - implementing a three-tier architecture (Projects, Tasks, Knowledge) to manage complex workflows. Now with Deep Research.

Productivity & CommsStaleRemote477

obsidian-mcp-plugin

by aaronsb · TypeScript

High-performance Model Context Protocol (MCP) server for Obsidian that provides AI tools with direct vault access through semantic operations and HTTP transport.

Productivity & CommsMaintained466

AgentHound

by adithyan-ak · Go

Offensive security framework for AI agent infrastructure - recon, credential looting, model exfiltration, poisoning, and attack-path analysis across MCP, A2A, gateways, and AI services. BloodHound for the agentic stack.

Cloud & DevOpsMaintained449

marm-memory

by Lyellr88 · Python

Local-first 3-in-1 AI memory layer & MCP server for Claude Code, Codex, Grok, Gemini, VS Code and Cursor. Fuses session history, codebase indexing & concept graphs in SQLite. Enables zero-cloud, privacy-first context & instant recall, supports multi-agent swarms.

Developer ToolsMaintainedRemote420

AgenticX

by DemonDamon · Python

AgenticX is a unified, production-ready multi-agent platform — Python SDK + CLI (agx) + Studio server + Machi desktop app. Features Meta-Agent orchestration, 15+ LLM providers, MCP Hub, hierarchical memory, avatar & group chat, skill ecosystem, safety sandbox, and IM gateway (Feishu/WeChat).

Productivity & CommsMaintainedRemote397

MemoryMesh

by CheMiguel23 · TypeScript

A knowledge graph server that uses the Model Context Protocol (MCP) to provide structured memory persistence for AI models.

Memory & KnowledgeAging354

lemmalog

by JordyZomer · Rust

A Datalog engine for LLM agent memory: stratified rules, provenance-tracked facts, incremental derivation, and an MCP server that lets your harness use it as a shared brain.

Memory & KnowledgeMaintained334

Knowledge Graph MCP server FAQ

What is the best Knowledge Graph MCP server?

Based on GitHub stars and recent activity, Memory (Knowledge Graph) (official reference server) by modelcontextprotocol (★ 91.2k, updated 3 days ago) is the most popular actively maintained option on HookMCP, followed by Graphiti and mcp-neo4j. The right choice depends on whether you need write access, a hosted (remote) endpoint, or a server that runs locally without an API key.

Is there an official Knowledge Graph MCP server?

Yes — Memory (Knowledge Graph) (official reference server) by modelcontextprotocol, mcp-neo4j by neo4j-contrib are published by the vendor or the MCP project. Official servers are usually the safest first install.

How do I install a Knowledge Graph MCP server in Claude, Cursor or VS Code?

Open the server's page on HookMCP, choose your client tab (Claude Desktop, Cursor, VS Code or Claude Code) and copy the config — 9 of the 27 servers here have one-click install links for Cursor and VS Code. Restart your AI app and the new tools appear automatically.

Do Knowledge Graph MCP servers need an API key?

16 of 27 servers here mention API keys or tokens in their README; 11 don't mention any. Check each listing's Details panel, and pass keys as environment variables rather than pasting them into chat.

Related integrations

Or browse by category: Developer Tools, Security, Memory & Knowledge, Databases.