Temporal Knowledge Substrate
Provides tools for managing temporal organizational knowledge in a Neo4j graph database, including creating domains, sessions, knowledge entities with versioning, and graph analytics.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Temporal Knowledge SubstrateBegin a session in domain 'product-design' to document a gotcha about login flow."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Temporal Knowledge Substrate
An MCP server that lets LLM agents accumulate organizational knowledge across sessions, scoped by domain, backed by Neo4j. Tools enforce structural invariants so the graph can't corrupt itself — no raw Cypher writes.
Two-layer architecture:
Process layer (immutable) — Domains own Runs, Runs chain forward in time via NEXT_RUN. The arrow of time is enforced by the tool, not by instructions.
Knowledge layer (append-only) — 10 entity types (System, Process, Configuration, Gotcha, Rationale, etc.) connected by 7 relationship types. Knowledge evolves via EVOLVED_FROM chains — old versions are preserved, never overwritten.
Prerequisites
Python 3.10+
uv package manager
Neo4j 5.x instance (local or remote)
Quick Start
# Install
uv sync
# Run (stdio transport, default for MCP clients)
mcp-temporal-knowledge --db-url bolt://localhost:7687Configuration
All options can be set via CLI flags or environment variables. CLI takes precedence.
CLI Flag | Env Var | Default | Description |
|
|
| Neo4j connection URL |
|
|
| Neo4j username |
|
|
| Neo4j password |
|
|
| Neo4j database name |
|
|
| Transport: |
|
| (none) | Tool name prefix (e.g. |
|
|
| HTTP host (non-stdio transports) |
|
|
| HTTP port (non-stdio transports) |
|
|
| HTTP path (non-stdio transports) |
MCP Client Configuration
Claude Desktop / Claude Code
Add to your MCP config:
{
"mcpServers": {
"temporal-knowledge": {
"command": "mcp-temporal-knowledge",
"args": ["--db-url", "bolt://localhost:7687"]
}
}
}HTTP transport
mcp-temporal-knowledge \
--db-url bolt://localhost:7687 \
--transport streamable-http \
--server-host 0.0.0.0 \
--server-port 8000 \
--allow-origins "http://localhost:3000" \
--allowed-hosts "localhost,127.0.0.1"Tool Surface (20 tools)
Session workflow
Every session follows: create_domain (once) -> begin_session -> create/evolve/confirm knowledge -> end_session
Tool | Description |
| List all domains with run counts and last activity |
| Create a knowledge domain (idempotent) |
| Start a session — returns |
| Close a session with a summary of what was learned |
Knowledge mutation
Tool | Description |
| Create entities (System, Gotcha, Rationale, etc.) linked to the current session |
| Create a new version of an entity — old version preserved via EVOLVED_FROM |
| Record that entities were reviewed and found unchanged |
| Link entities (ENABLING, REQUIRING, CAUSING, etc.) |
Querying
Tool | Description |
| Fulltext search across names and descriptions |
| All current (head-of-chain) entities for a domain |
| Session history — who worked on what, when |
| Read-only Cypher escape hatch (writes rejected) |
Taxonomy & Analytics
Tool | Description |
| The 10 entity types with descriptions |
| The 7 knowledge + 4 process edge types |
| Create a GDS graph projection for analytics |
| Drop a GDS projection |
| PageRank centrality |
| Betweenness centrality (bridge nodes) |
| Louvain community detection |
| Weakly connected components |
Development
# Install with dev dependencies
uv sync --dev
# Run tests
uv run pytest
# Type checking
uv run pyrightSee HOWTO.xml for the ontological commitments and the tools' behavior. Provide this to the LLM as invariant scaffolding.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kenningai/mcp-temporal-knowledge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server