~/.meridian/meridian.db. The dashboard and MCP server both read from this file, but you can also query it directly with any SQLite client. This is useful when you want a custom report, need to export data to another tool, or simply want to explore your activity history in ways the built-in views don’t cover.
Open the database
meridian.db grows at roughly 10 MB per ~9,000 screenpipe frames. A full workday of recording typically produces 5–20 MB depending on how frequently apps switch.Database schema
The key tables you’ll query most often:app_sessions — completed sessions
app_sessions — completed sessions
The primary table. One row per closed app session.
| Column | Type | Description |
|---|---|---|
id | INTEGER | Primary key |
app_name | TEXT | Application identifier (e.g. code.visualstudio.com) |
started_at | TEXT | ISO 8601 UTC timestamp |
ended_at | TEXT | ISO 8601 UTC timestamp |
duration_s | INTEGER | Wall-clock seconds |
frame_count | INTEGER | Number of screenpipe frames in the block |
category | TEXT | AI-assigned category (e.g. coding, meeting) |
confidence | REAL | Category confidence score (0.0–1.0) |
window_titles | TEXT | JSON array of {title, count} |
ocr_samples | TEXT | JSON array of up to 20 OCR text samples |
audio_snippets | TEXT | JSON array of transcribed audio |
signals | TEXT | JSON array of clipboard and app-switch events |
task_key | TEXT | Linked ticket key (e.g. KAN-108), if classified |
task_confidence | REAL | Ticket link confidence score |
active_session — currently open session
active_session — currently open session
A single-row table (id = 1) that the daemon keeps updated with the session currently in progress. Useful for “what am I doing right now?” queries.
| Column | Type | Description |
|---|---|---|
app_name | TEXT | App currently in focus |
started_at | TEXT | When this session began |
last_seen_at | TEXT | Last time the daemon wrote to this row |
window_titles | TEXT | JSON array of recent window titles |
frame_count | INTEGER | Frames accumulated so far |
pm_tasks — fetched tickets
pm_tasks — fetched tickets
All open tickets pulled from Jira, GitHub Issues, and Linear. Used as classification targets.
| Column | Type | Description |
|---|---|---|
task_key | TEXT | Ticket identifier (e.g. KAN-108, #42) |
title | TEXT | Issue title / summary |
status | TEXT | Current status in the tracker |
url | TEXT | Link to the ticket |
provider | TEXT | jira, github, or linear |
ticket_links — session-to-ticket mappings
ticket_links — session-to-ticket mappings
Audit log of every session-to-ticket classification decision made by Meridian’s AI classifier.
| Column | Type | Description |
|---|---|---|
session_id | INTEGER | Foreign key to app_sessions.id |
task_key | TEXT | Linked ticket key |
confidence | REAL | Classifier confidence |
method | TEXT | Classification method used |
created_at | TEXT | When the link was written |