Knowledge Graph RDBMS MCP server
A label property graph on SQLite/Postgres with multi-ontology routing and a gated MCP server.
1 stars34 downloads/wk
Reviews
Write oneNobody has reviewed Knowledge Graph RDBMS yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Knowledge Graph RDBMS tools (28, 6 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
kg_descendantsAll nodes reachable from `id` by following only `edge_type` edges.
kg_edge_addAdd an edge. Triples (from, type, to) are unique; repeats update properties.
kg_edge_removewrite actionRemove a specific edge by (from, type, to). Idempotent. Logged + reversible.
kg_edgesEdges of a node, optionally filtered by `edge_type`. `direction` is "out" (default), "in", or "both". Each result is the edge plus the node on the other end: {direction, id, from, to, type, properties, node}.
kg_event_revertReverse an event by emitting a compensating event. The original is never deleted.
kg_events_tailThe most recent events from the append-only log.
kg_findFind nodes by `kind` and/or `label`, each tagged with its source ontology ([{ontology, node}]). Give a kind, a label, or both (both = nodes of that kind that also carry that label).
kg_identityThe materialized SAME_AS cluster of a node — every leaf node explicitly asserted (transitively) to be the same real-world entity, fetched live and tagged by ontology ([{ontology, node}]). Pairs with kg_link(type=SAME_AS).
kg_importBulk-create many nodes and edges in ONE call (one gated + logged transaction).
kg_linkAssert a typed relationship between nodes in two DIFFERENT ontologies (impossible as a normal edge — those can't cross files). For "same real-world entity", use type="SAME_AS" with symmetric=True (read the cluster back with kg_identity). symmetric=True also writes the reverse. Gated + logged.
kg_links_ofEvery cross-ontology link touching a node (both directions).
kg_neighborhoodUndirected BFS from a node within `depth` hops (inclusive of self).
kg_node_deletewrite actionDelete a node (cascade removes its edges/properties).
kg_node_getFetch a node by id. One graph: returns the node, or null if absent.
kg_node_upsertwrite actionCreate or update a node — also the way to add labels or set properties (pass `labels=[...]` / `properties={...}`; both merge into the existing node). Properties are JSON-serializable.
kg_ontologies_listList registered ontologies: name, backend engine, extraction stance, path.
kg_ontology_createwrite actionRegister a new ontology (or update an existing one's metadata).
kg_ontology_deletewrite actionRemove an ontology from the registry (inverse of kg_ontology_create).
kg_prefix_addBind a CURIE prefix to an IRI base (e.g. person -> https://kg.local/person/).
kg_prefix_resolveResolve the prefix/IRI registry. With `curie`, expand it to its full IRI ({curie, iri}); without, return every prefix -> IRI-base binding.
kg_rdf_exportSerialize an ontology to RDF text (dependency-free).
kg_rdf_importLoad RDF text into an ontology through the gated + logged path (replayable).
kg_replayRebuild the graph projection from the event log.
kg_schemaThe observed schema — CALL THIS FIRST when you don't know what an ontology contains, before kg_find / kg_node_get. Returns the exact vocabulary so you never guess: kinds, edge types, labels, property keys per kind (+counts), and node/edge totals.
kg_shortest_pathShortest undirected path between two node ids, or None if no path.
kg_virtual_edge_addBind an edge TYPE to a query that resolves its instances live from an external source — no rows are copied into the graph (Ontology-Based Data Access). At traversal time kg_edges runs `query`, parameterized by the node you're standing on, and synthesizes the edges; results carry `_virtual: true`.
kg_virtual_edge_removewrite actionRemove a virtual-edge binding by type. The external source is untouched.
kg_virtual_edges_listList the ontology's virtual-edge bindings (edge type, source, directions, target shape, and the query). The connection string is shown by reference (`dsn_env`) or literal (`dsn`) exactly as stored.
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- Code scan21 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 48 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Knowledge Graph RDBMS compares
Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 75% of 802 Databases servers
- Tools
- 28
- the typical Databases server has 8
- Tools that change things
- 21%
- typical: 10%. Fewer write tools means less an agent can break
- GitHub stars
- 1
- more than 45% of 602 Databases servers
- Downloads a week
- 34
- more than 20% of 328 Databases servers with a package
What its tools let an agent do: 22 read · 6 change
Install Knowledge Graph RDBMS in Claude Code, Cursor or VS Code
claude mcp add knowledge-graph-rdbms -- uvx knowledge-graph-rdbms
What the publisher says
From the Knowledge Graph RDBMS repository's README, as published. We do not edit it. Read it on GitHub
knowledge-graph-rdbms
<!-- mcp-name: io.github.cunicopia-dev/knowledge-graph-rdbms -->
An embedded knowledge graph you own completely — in one SQLite file.
SQLite-native · zero-dependency core · MCP-ready · event-sourced · reversible.
Model anything as entities and relationships — agent memory, app ontologies, declarative datasets, "SQLite but my data is a graph" — without running Neo4j, RDF, Docker, or a separate graph service. No Cypher, no JVM, no server: five tables and one file you can copy, inspect, and version.
pip install "knowledge-graph-rdbms[mcp]"
# write a fact — auto-creates the graph in one SQLite file
kg node add person:ada --kind Person --name "Ada Lovelace"
# every write is logged; tail the log and roll any event back by id
kg events -n 5
kg revert <event_id>
# rebuild the graph as of any past moment — literal time travel
kg replay --upto 2026-01-01T00:00:00
# expose the whole graph to an AI agent over MCP
kg serveAgent / CLI / Python
│
gated + logged writes
│
SQLite label property graph
│
replay · revert · time-travelPython 3.10+ · MIT · zero-dependency core · library + CLI + MCP
The world isn't rows in a table — it's things, the kinds of things they are, and how they relate. A label property graph captures exactly that, and not much more: nodes (entities), typed edges (relationships), labels (sets), and JSON properties (everything else). There's no schema to design up front; meaning accretes as facts, and the shape stays as flexible as the domain it describes.
That flexibility is what makes it a natural substrate for AI agents. Hand an agent an MCP connection to this graph and it can do what agents are uniquely good at: read a domain, model what it learns, connect ideas, and reason over structure instead of prose. Every write is gated, attributed, and appended to an event log — so an agent can reshape the graph freely while you keep the receipts: audit it, replay it to any point in time, or roll a change back with one command. A memory that records why, not just what — in one embeddable file that travels wherever the agent runs: a laptop, a CI job, a serverless function, a Pi.
Small enough to hold in your head. Flexible enough to model anything.
Contents
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Knowledge Graph RDBMS: common questions
- Is Knowledge Graph RDBMS MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the Knowledge Graph RDBMS safety report
- How do I install Knowledge Graph RDBMS?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Knowledge Graph RDBMS need an API key?
- No secret keys are declared. It reads 2 settings from the environment.
- Is Knowledge Graph RDBMS maintained?
- The last commit was 87 days ago (2026-08-09). The latest release is v0.1.9.
- What can I use instead of Knowledge Graph RDBMS?
- Servers from other publishers that do the same job: AlphaFold Sovereign MCP server, Local Memory MCP server and ArcadeDB MCP Server.
- How does Knowledge Graph RDBMS compare with other Databases MCP servers?
- safety score 88/100 (higher than 75% of 802 Databases servers); tools 28 (the typical Databases server has 8); tools that change things 21% (typical: 10%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Knowledge Graph RDBMS
Same job from other publishers: the closest match first, then the best rated.
- AlphaFold Sovereign MCPMCP server for AlphaFold and 8 other biomedical data sources with a local SQLite knowledge graphnot reviewedGrowingA
- Local MemoryPersistent local AI memory. SQLite + FTS5 + vector search, knowledge graph. No cloud, no API keys.not reviewedGrowingA
ArcadeDB MCP ServerBuilt-in MCP server for ArcadeDB multi-model database (graph, document, vector, time-series)not reviewedGrowingB- QuarrySafety-railed database access: Postgres, MySQL, SQLite, Redis. Read-only by default.not reviewedGrowingA
- sqlite-graph-memoryRecall over your markdown notes: vector search plus your [[wikilinks]] as a graph, in SQLite.not reviewedGrowingA