# DejaView

Store and retrieve facts about entities through a persistent knowledge graph. Maintain long-term context across sessions with natural language querying and timeline tracking. Organize information usi…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add dejaview

# Browse available tools
npx -y @smithery/cli@latest tool list dejaview

# Get full schema for a tool
npx -y @smithery/cli@latest tool get dejaview agent_context

# Call a tool
npx -y @smithery/cli@latest tool call dejaview agent_context '{}'
```

## Direct MCP Connection

Endpoint: `https://dejaview.run.tools`

**Optional config:**
- `x-api-key` (header) — Your DejaView API key — get one free at https://dejaview.io

## Tools (11)

- `agent_context` — Get a full context summary of your knowledge graph.
- `remember` — Store a fact as subject -> predicate -> object in the knowledge graph.
- `remember_many` — Store multiple facts at once. More efficient than looping remember().
- `recall` — Get everything known about an entity — all relationships in and out.
- `search` — Search for entities in the graph by name (partial match).
- `ask` — Ask a natural language question about your knowledge graph.
- `timeline` — Get recent facts in reverse chronological order.
- `graph_stats` — Get a high-level summary of the knowledge graph.
- `share` — Create a public shareable link for any entity's subgraph.
- `forget` — Remove a specific fact from the knowledge graph.
- `forget_entity` — Remove an entity AND all its relationships from the knowledge graph.

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get dejaview <tool-name>
```

## Prompts (5)

- `start_session` — Load your knowledge graph context at the start of a conversation.
- `what_do_i_know` (topic) — Recall everything stored about a person, project, or concept.
- `log_decision` (decision, context, rationale) — Store an important decision with optional context and rationale.
- `capture_notes` (notes) — Extract and store facts from meeting notes, a conversation, or any freeform text.
- `recent_activity` — Show what's been added to the knowledge graph recently.
