Persistent semantic memory for Claude. Built on W3C standards. Runs on your machine.
Apache Jena TDB2 triplestore with SPARQL 1.1, SHACL validation, RDF-star provenance, and forward inference. Exposed via MCP. Compiled to a GraalVM native binary.
Architecture
MCP Surface
The complete MCP surface for building and querying semantic memory.
createNamedGraphtoolgraphIri: String
loadTurtletoolgraphIri: String, turtleData: String
querytoolsparqlQuery: String, graphIri?: String
validateTurtletoolturtleData: String
validateInstancestoolgraphIri: String, shapesGraphIri?: String
cortex://graphsresourceTechnical depth
Claude skills
Build and query your knowledge graph through natural conversation.
Philosophy
Every Claude session starts from zero. You re-explain your domain, your teammates, your codebase. Insights surface, then vanish the moment the window closes — no recall, no continuity, no compounding.
You author OWL ontologies declaring what kinds of things deserve memory. Cortex watches your conversations, extracts matching facts, stores them in an RDF graph, and silently injects relevant context on every new prompt.
Only explicit facts — never inferences. User-authored schemas — you control the vocabulary. Idempotent storage — re-ingesting is a no-op. Local-first — your data lives in ~/.cortex.
Get started
Requires Claude Code and Docker. The cortex-server will start on port 8080.
# add the chatur.ai plugin marketplace claude plugin marketplace add chaturai/cortex # install cortex claude plugin install cortex@chaturai
Coming soon
Cortex is early. Here's what we're building next.