Knowledgegraph MCP MCP Server

MCP server for enabling persistent knowledge storage for Claude through a knowledge graph with multiple storage backends

Local serverstdio

What is the Knowledgegraph MCP MCP server?

MCP server for enabling persistent knowledge storage for Claude through a knowledge graph with multiple storage backends. That is what the knowledgegraph mcp mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

A simple way to give LLMs persistent memory across conversations. This server lets Claude or vscode remember information about you, your projects, and your preferences using a knowledge graph.

The tools it exposes

The server publishes 11 tools. What each one is for:

  • create_entities — The create_entities tool exposed by this server
  • create_relations — The create_relations tool exposed by this server
  • add_observations — The add_observations tool exposed by this server
  • add_tags — The add_tags tool exposed by this server
  • read_graph — The read_graph tool exposed by this server
  • search_knowledge — The search_knowledge tool exposed by this server
  • open_nodes — The open_nodes tool exposed by this server
  • delete_entities — The delete_entities tool exposed by this server
  • delete_observations — The delete_observations tool exposed by this server
  • delete_relations — The delete_relations tool exposed by this server
  • remove_tags — The remove_tags tool exposed by this server

Getting it running

The server ships on npm as knowledgegraph-mcp, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

What it needs from you

Configuration is passed through the environment: KNOWLEDGEGRAPH_SQLITE_PATH, KNOWLEDGEGRAPH_STORAGE_TYPE, KNOWLEDGEGRAPH_CONNECTION_STRING. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

How it compares

Among the file and storage access options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Knowledgegraph MCP's toolset — create_entities, create_relations, add_observations and 8 more — is a fair guide to whether it matches your workflow. It is maintained by n-r-w; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Knowledgegraph MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 11 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Knowledgegraph MCP.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
create_entitiesThe create_entities tool exposed by this server.
create_relationsThe create_relations tool exposed by this server.
add_observationsThe add_observations tool exposed by this server.
add_tagsThe add_tags tool exposed by this server.
read_graphThe read_graph tool exposed by this server.
search_knowledgeThe search_knowledge tool exposed by this server.
open_nodesThe open_nodes tool exposed by this server.
delete_entitiesThe delete_entities tool exposed by this server.
delete_observationsThe delete_observations tool exposed by this server.
delete_relationsThe delete_relations tool exposed by this server.
remove_tagsThe remove_tags tool exposed by this server.

How to install the Knowledgegraph MCP MCP server

{
  "mcpServers": {
    "Knowledge Graph": {
      "command": "npx",
      "args": ["-y", "knowledgegraph-mcp"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
KNOWLEDGEGRAPH_SQLITE_PATHFilesystem location the server is allowed to use.Optional
KNOWLEDGEGRAPH_STORAGE_TYPEConfiguration value read at startup.Optional
KNOWLEDGEGRAPH_CONNECTION_STRINGConfiguration value read at startup.Optional

Example prompts to try

  • Use Knowledgegraph MCP to create entities.
  • Use Knowledgegraph MCP to create relations.
  • Use Knowledgegraph MCP to add observations.

Frequently asked questions

It connects Knowledgegraph MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 11 tools (create_entities, create_relations, add_observations, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Knowledgegraph MCP directly.