empirica-mcp
v1.14.20MCP server for Empirica — AI measurement and calibration tools via Model Context Protocol
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
session_create
Create new Empirica session
| Parameter | Type | Description |
|---|---|---|
ai_id | string | |
project_id | string | |
subject | string |
project_bootstrap
Load project context (findings, goals, unknowns, calibration)
| Parameter | Type | Description |
|---|---|---|
ai_id | string | |
depth | string | |
session_id | string |
bootstrap_context
Three-circle artifact graph bootstrap (v2 wire shape). Returns active_state (recency-decayed) + persistent_reference (no decay) + topic_relevant_backlog (Qdrant similarity-pulled). Designed for Claude Desktop / Cursor / Cline at chat-start to match what CLI hooks inject. See PROPOSAL_BOOTSTRAP_AGGREGATOR.md.
| Parameter | Type | Description |
|---|---|---|
project_path | string | |
session_id | string | |
similarity_threshold | string |
session_snapshot
Create snapshot of current session state
resume_previous_session
Resume a previous session
| Parameter | Type | Description |
|---|---|---|
ai_id | string | |
count | number | Count |
detail_level | string |
submit_preflight_assessment
Submit PREFLIGHT self-assessment (13 vectors 0.0-1.0). Optional `claims`: [{claim, grounding, ref}] with grounding read|ran|retrieved|assumed. Claims grounded by `read` or `ran` CERTIFY the transaction — praxic work may then proceed with no separate CHECK, which is the path for work you were already grounded in before opening. `retrieved` and `assumed` deliberately do not certify: prior artifacts are testimony, not observation.
| Parameter | Type | Description |
|---|---|---|
vectors * | object | 13 epistemic vectors (0.0-1.0) |
reasoning | string | Assessment reasoning |
session_id | string | Session UUID |
task_context | string | What you're working on |
work_context | string | greenfield|iteration|investigation|refactor |
work_type | string | code|infra|research|debug|docs|comms|design|audit |
submit_check_assessment
Submit CHECK gate assessment — gates noetic → praxic. Optional `claims`: [{claim, grounding, ref}] naming what the praxic work will rest on, so POSTFLIGHT can adjudicate each one rather than averaging them into a single know score.
| Parameter | Type | Description |
|---|---|---|
vectors * | object | 13 epistemic vectors (0.0-1.0) |
decision | string | |
reasoning | string | Assessment reasoning |
session_id | string | Session UUID |
submit_postflight_assessment
Submit POSTFLIGHT assessment — closes transaction, triggers grounded verification. Optional `claims`: [{index|id, verdict, evidence}] with verdict held|refuted|untested, adjudicating what was declared at PREFLIGHT/CHECK. Anything left unadjudicated is forced to `untested` and reported as a gap, so 'never checked' stays distinguishable from 'nothing declared'.
| Parameter | Type | Description |
|---|---|---|
vectors * | object | 13 epistemic vectors (0.0-1.0) |
reasoning | string | Assessment reasoning |
session_id | string | Session UUID |
finding_log
Log a finding (what was learned). Use source_ids to link to epistemic sources, visibility to opt into cross-project sharing, epistemic_source to tag provenance.
| Parameter | Type | Description |
|---|---|---|
finding * | string | |
description | string | |
entity_id | string | |
entity_type | string | |
epistemic_source | string | |
goal_id | string | |
impact | number | Impact |
project_id | string | |
scope | string | |
session_id | string | |
source_ids | array | List of source ids |
subject | string | |
task_id | string | |
via | string | |
visibility | string |
note
Jot a quick note-to-self (scratchpad) while in flow — for things to check on after the current work. Faster + lower-friction than a full finding/decision: pure metadata, NOT shared, NOT embedded. Notes are transaction-scoped, survive context compaction, and surface at POSTFLIGHT for triage. Optional tag: followup | doubt | idea. Review/clear via CLI: empirica note --list / --clear.
| Parameter | Type | Description |
|---|---|---|
text * | string | text (positional argument) |
project_id | string | |
session_id | string | |
tag | string |
unknown_log
Log an unknown (what needs investigation). Use description for a rich body.
| Parameter | Type | Description |
|---|---|---|
unknown * | string | |
description | string | |
entity_id | string | |
entity_type | string | |
epistemic_source | string | |
goal_id | string | |
project_id | string | |
scope | string | |
session_id | string | |
source_ids | array | List of source ids |
subject | string | |
task_id | string | |
via | string | |
visibility | string |
deadend_log
Log a dead-end (approach that didn't work). Use description for a rich body.
| Parameter | Type | Description |
|---|---|---|
approach * | string | |
why_failed * | string | |
description | string | |
entity_id | string | |
entity_type | string | |
epistemic_source | string | |
goal_id | string | |
project_id | string | |
scope | string | |
session_id | string | |
source_ids | array | List of source ids |
subject | string | |
task_id | string | |
via | string | |
visibility | string |
mistake_log
Log a mistake (error to avoid in future). cost_estimate + root_cause_vector capture severity + which vector misfired; description for a rich body.
| Parameter | Type | Description |
|---|---|---|
mistake * | string | |
prevention * | string | |
why_wrong * | string | |
cost_estimate | number | Cost Estimate |
description | string | |
entity_id | string | |
entity_type | string | |
epistemic_source | string | |
goal_id | string | |
project_id | string | |
root_cause_vector | string | |
scope | string | |
session_id | string | |
source_ids | array | List of source ids |
visibility | string |
assumption_log
Log an unverified assumption with confidence level. description for a rich body.
| Parameter | Type | Description |
|---|---|---|
assumption * | string | |
confidence | number | Confidence |
description | string | |
domain | string | |
entity_id | string | |
entity_type | string | |
epistemic_source | string | |
goal_id | string | |
project_id | string | |
session_id | string | |
source_ids | array | List of source ids |
via | string | |
visibility | string |
decision_log
Log a decision with rationale. Use evidence_refs/evidence_from to link supporting findings, source_ids for external sources, description for a rich markdown body.
| Parameter | Type | Description |
|---|---|---|
choice * | string | |
rationale * | string | |
alternatives | string | |
confidence | number | Confidence |
description | string | |
domain | string | |
entity_id | string | |
entity_type | string | |
epistemic_source | string | |
evidence_from | array | List of evidence from |
evidence_refs | array | List of evidence refs |
goal_id | string | |
project_id | string | |
reversibility | string | |
session_id | string | |
source_ids | array | List of source ids |
via | string | |
visibility | string |
source_add
Add an epistemic source reference
| Parameter | Type | Description |
|---|---|---|
source_type * | string | |
title * | string | |
description | string | |
session_id | string | |
url | string |
source_list
List epistemic sources for the project (filter by type/direction).
| Parameter | Type | Description |
|---|---|---|
direction | string | |
include_archived | boolean | Include Archived |
project_id | string | |
type | string |
epistemics_list
List epistemic artifacts for a session.
| Parameter | Type | Description |
|---|---|---|
session_id | string |
epistemics_show
Show epistemic artifact detail for a session (optionally by phase).
| Parameter | Type | Description |
|---|---|---|
phase | string | |
session_id | string |
log_artifacts
Log a connected set of epistemic artifacts in one call. JSON body on stdin: {nodes:[{ref, type, data}], edges:[{from, to, relation}]}. Node types: finding, unknown, dead_end, mistake, assumption, decision, source. Edge relations: evidence, raised_by, grounded_by, resolves, invalidates, sourced_from, caused_by, prevents, attached_to. Creates in dependency order, resolves $-refs to UUIDs.
| Parameter | Type | Description |
|---|---|---|
project_id | string | |
session_id | string |
resolve_artifacts
Batch resolve open artifacts in one call. JSON body on stdin: {resolutions:[{type, id, resolution, resolution_kind, superseded_by}]}. Closes unknowns, marks assumptions verified/falsified, completes goals. `resolution_kind` is stale|superseded|retracted|mistyped and records WHY it closed — `retracted` means the artifact was wrong, `mistyped` means it was never that type, and neither is `stale`. Also accepts a `filter` block ({type, matching, older_than, project_id}) for policy resolution; that path is dry-run unless apply:true, and every dry-run row should be read before applying — a leadi…
update_artifacts
Batch CORRECT fields on existing artifacts. JSON body on stdin: {updates:[{type, id, <field>: <value>}]}. Correctable fields are metadata only — visibility, impact, epistemic_source, subject, domain, and per-type extras — never the artifact body, which keeps the graph an audit trail rather than something rewritable after the fact. Ids shorter than 8 characters are refused: a short prefix that happens to be unique is lucky, not safe. This is the correction half of the surface; without it a wrong visibility or a mis-tagged provenance can be logged but never fixed.
delete_artifacts
Batch delete stale/non-pertinent artifacts. JSON body on stdin: {deletions:[{type, id}], reason: '...'}. Deletes from SQLite + Qdrant, logs deletion as a decision for audit. Use dry_run=true to preview.
| Parameter | Type | Description |
|---|---|---|
dry_run | boolean | Dry Run |
sync_push
Push local .empirica/ state to git remote. Cortex's git_watcher consumes the push and ingests artifacts into the project's Qdrant collection. Use after a coherent unit of work (or on a cadence) to propagate local writes to cloud. Lag budget: 10-15s end-to-end. Idempotent — Cortex dedups on artifact hash.
| Parameter | Type | Description |
|---|---|---|
dry_run | boolean | Dry Run |
force | boolean | Force |
remote | string |
sync_status
Show sync state — remote configured, last push/pull timestamp, pending local changes.
| Parameter | Type | Description |
|---|---|---|
remote | string |
doctor
Frontend-agnostic Empirica health check. Returns structured JSON: Python version, empirica CLI path/version, empirica-mcp path, .empirica/ folder state, git repo + remote, sync state (uncommitted changes), Cortex reachability. Designed for Claude Desktop where shell exec isn't available — narrow scoped replacement for general exec MCPs.
goals_create
Create a new goal. Use description for a rich markdown body (why/success criteria/links), scope_* for sizing, status=planned to queue without starting.
| Parameter | Type | Description |
|---|---|---|
objective * | string | |
description | string | |
estimated_complexity | number | Estimated Complexity |
project_id | string | |
scope_breadth | number | Scope Breadth |
scope_coordination | number | Scope Coordination |
scope_duration | number | Scope Duration |
session_id | string | |
status | string | |
success_criteria | string |
goals_list
List goals (use --completed to show completed goals)
| Parameter | Type | Description |
|---|---|---|
completed | boolean | Completed |
project_id | string | |
session_id | string |
goals_complete
Mark a goal as complete
| Parameter | Type | Description |
|---|---|---|
goal_id * | string | |
reason | string |
goals_add_task
Add a task to a goal
| Parameter | Type | Description |
|---|---|---|
description * | string | |
goal_id * | string | |
importance | string |
goals_get_tasks
List the tasks of a goal with their status/evidence.
| Parameter | Type | Description |
|---|---|---|
goal_id * | string |
goals_discover
Semantic search for goals across sessions (local Qdrant).
| Parameter | Type | Description |
|---|---|---|
from_ai_id | string | |
session_id | string |
goals_activate
Activate a planned goal (planned → in_progress).
| Parameter | Type | Description |
|---|---|---|
goal_id * | string |
goals_refresh
Mark a stale goal back to in_progress (e.g. after regaining context).
| Parameter | Type | Description |
|---|---|---|
goal_id * | string |
goals_mark_stale
Mark in-progress goals stale (e.g. at compaction).
| Parameter | Type | Description |
|---|---|---|
reason | string | |
session_id | string |
goals_add_dependency
Declare a goal-to-goal dependency.
| Parameter | Type | Description |
|---|---|---|
depends_on * | string | |
goal_id * | string | |
description | string | |
type | string |
goals_complete_task
Mark a task as complete
| Parameter | Type | Description |
|---|---|---|
task_id * | string | |
evidence | string |
goals_progress
Get goal progress details
| Parameter | Type | Description |
|---|---|---|
goal_id * | string |
goals_search
Search goals (positional query text required)
| Parameter | Type | Description |
|---|---|---|
limit | number | Limit |
project_id | string | |
query | string | query (positional argument) |
status | string | |
type | string |
goals_ready
List goals ready for work (no blockers)
| Parameter | Type | Description |
|---|---|---|
session_id | string |
unknown_list
List unknowns (open by default, use --resolved or --all)
| Parameter | Type | Description |
|---|---|---|
all | boolean | All |
limit | number | Limit |
project_id | string | |
resolved | boolean | Resolved |
session_id | string | |
subject | string |
unknown_resolve
Resolve an unknown. Use resolution_finding_id to link to the finding that answered it.
| Parameter | Type | Description |
|---|---|---|
unknown_id * | string | |
resolution_finding_id | string | |
resolved_by | string |
finding_resolve
Resolve a finding — kept for history, dropped from live retrieval. `kind` is the closed vocabulary and the queryable half: stale (true when written, has aged) | superseded (replaced by a NAMED newer artifact, pair with superseded_by) | retracted (was FALSE when written) | mistyped (belongs to another artifact type). Reach for 'retracted' when a claim was wrong rather than merely old — a practice that only ever records 'stale' cannot tell its own ageing from its own errors.
| Parameter | Type | Description |
|---|---|---|
finding_id * | string | finding_id (positional argument) |
resolution * | string | |
kind | string | |
superseded_by | string |
project_search
Semantic search over project knowledge (Qdrant)
| Parameter | Type | Description |
|---|---|---|
task * | string | |
limit | number | Limit |
project_id | string | |
type | string |
project_embed
Embed project artifacts to Qdrant for semantic search
| Parameter | Type | Description |
|---|---|---|
project_id | string |
calibration_report
Get calibration report with optional trajectory trend
| Parameter | Type | Description |
|---|---|---|
ai_id | string | |
trajectory | boolean | Trajectory |
weeks | number | Weeks |
assess_state
Get current epistemic state assessment
| Parameter | Type | Description |
|---|---|---|
session_id | string |
profile_status
Show artifact counts, drift, calibration summary
lesson_create
Create a reusable lesson (use --input or --json for full data)
| Parameter | Type | Description |
|---|---|---|
name * | string |
noetic_batch
Batched investigation: reads + greps + globs + investigate in one call. Replaces N round-trip noetic operations with a single tool call. Sentinel sees one noetic intent, no per-call gating overhead. JSON schema: {intent, reads:[{path,lines?}], greps:[{pattern,glob?,context?,case_sensitive?,max_matches?}], globs:[pattern OR {pattern,root?}], investigate:[{query,scope?,limit?}]}. See docs/architecture/NOETIC_BATCH_SPEC.md.
lesson_list
List available lessons
| Parameter | Type | Description |
|---|---|---|
domain | string |
lesson_search
Search lessons by text
| Parameter | Type | Description |
|---|---|---|
query * | string |
issue_list
List auto-captured issues
| Parameter | Type | Description |
|---|---|---|
severity | string | |
status | string |
issue_resolve
Resolve an auto-captured issue
| Parameter | Type | Description |
|---|---|---|
issue_id * | string | |
resolution * | string | |
session_id * | string |
investigate
Retrieve what this practice knows about a topic (alias of project-search --task; positional query text, not a file path)
| Parameter | Type | Description |
|---|---|---|
query * | string | query (positional argument) |
global_search | boolean | Global Search |
limit | number | Limit |
handoff_create
Create handoff report for session continuation
| Parameter | Type | Description |
|---|---|---|
key_findings | string | |
next_session_context | string | |
planning_only | boolean | Planning Only |
remaining_unknowns | string | |
session_id | string | |
task_summary | string |
workspace_overview
Show workspace overview (all tracked projects)
workspace_map
Show knowledge map across projects
checkpoint_create
Create a git checkpoint with epistemic metadata
| Parameter | Type | Description |
|---|---|---|
metadata | string | |
phase | string | |
session_id | string |
checkpoint_load
Load a checkpoint
| Parameter | Type | Description |
|---|---|---|
max_age | number | Max Age |
phase | string | |
session_id | string |
bus_register
Register this Claude instance in the shared dispatch bus registry. capabilities and subscribes are comma-separated strings.
| Parameter | Type | Description |
|---|---|---|
instance_id * | string | |
type * | string | |
capabilities | string | |
subscribes | string |
bus_dispatch
Send a typed dispatch action to another instance. Use to_instance='*' with required_capabilities for capability routing. Payload is JSON string.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
to_instance * | string | |
callback_channel | string | |
deadline | number | Deadline |
from_instance | string | |
payload | string | |
priority | string | |
required_capabilities | string | |
ttl | number | Ttl |
wait | boolean | Wait |
wait_timeout | number | Wait Timeout |
bus_instances
List all registered bus instances (optionally filter by capability)
| Parameter | Type | Description |
|---|---|---|
capability | string |
bus_status
Show an instance's registry state and inbox summary
| Parameter | Type | Description |
|---|---|---|
instance_id * | string |
bus_poll
Poll for incoming messages on a channel (default channel: dispatch). Use bus_subscribe equivalent: pass channel='dispatch' for typed dispatches.
| Parameter | Type | Description |
|---|---|---|
ai_id * | string | |
channel | string | |
limit | number | Limit |
status | string |
memory_compact
Compact session memory (deduplicate, prune stale)
efficiency_report
Generate efficiency report for session
| Parameter | Type | Description |
|---|---|---|
session_id | string |
practice_context
[requires: cortex] Ambassador addressbook — pulls /v1/users/me/roster from cortex and projects each (tenant, project) seat with substrate (cortex|git|local). Use to verify canonical 3-form before emitting target_claudes. Base empirica users (no cortex configured) will see a clear 'cortex config missing' error.
| Parameter | Type | Description |
|---|---|---|
ai_id | string | |
api_key | string | |
cortex_url | string | |
timeout | string |
commit_context
Walk artifacts anchored to commit(s) via git notes. Modes: single SHA (positional), --range (rev range), --since/--until (date window), --session (all commits in a session). --depth N expands the artifact graph; --full includes payloads.
| Parameter | Type | Description |
|---|---|---|
commit | string | commit (positional argument) |
depth | string | |
full | string | |
only_with_artifacts | string | |
range | string | |
session | string | |
since | string | |
until | string |
listener_on
[cortex-orchestrated, runs standalone] Register listener + emit Monitor command. Without cortex configured, listens to any supplied ntfy --topic. Pairs with `listener arm` + `listener off`.
| Parameter | Type | Description |
|---|---|---|
ai_id | string | |
instance_id | string | |
name | string | |
topic | string |
listener_arm
Update listener state file with the Monitor task_id (so `listener off` can TaskStop it later).
| Parameter | Type | Description |
|---|---|---|
task_id * | string | task_id (positional argument) |
ai_id | string | |
instance_id | string | |
name | string |
listener_off
Emit a TaskStop command for the armed listener + clear state. Inverse of `listener on`/`arm`.
| Parameter | Type | Description |
|---|---|---|
ai_id | string | |
instance_id | string | |
name | string |
loop_register
Register a loop (idempotent). Kind: cron | interval | monitor. Adaptive backoff supported via --backoff exponential + --base-interval/--max-interval.
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
name * | string | |
backoff | string | |
base_interval | string | |
cron | string | |
description | string | |
instance_id | string | |
interval | string | |
max_interval | string |
loop_heartbeat
Heartbeat a loop fire with result signal (found|empty|fail|paused). Optionally records the next scheduled job_id for pause/cancel.
| Parameter | Type | Description |
|---|---|---|
name * | string | name (positional argument) |
instance_id | string | |
message | string | |
next_scheduled_job_id | string | |
result | string | |
scheduler_kind | string | |
status | string |
loop_status
Read loop registry state: pause flag, last fire, last result, streak position.
| Parameter | Type | Description |
|---|---|---|
name * | string | name (positional argument) |
instance_id | string |
loop_schedule_next
Compute the next fire interval per backoff policy + emit a cron_one_shot expression for CronCreate.
| Parameter | Type | Description |
|---|---|---|
name * | string | name (positional argument) |
instance_id | string |
notify_emit
Multi-backend notification dispatcher. Reads ~/.empirica/notify.yaml for routing decisions. Severity: info|warning|critical. Backends: ntfy, macos, dbus, slack, email — pluggable.
| Parameter | Type | Description |
|---|---|---|
message * | string | |
severity * | string | |
title * | string | |
actions | string | |
backend_override | string | |
click_url | string | |
dry_run | boolean | Dry Run |
rationale | string | |
source | string | |
tags | string | |
topic_override | string |
mailbox_reply
[requires: cortex] Atomic cortex_propose reply + cortex_complete_proposal close in one call. Fixes the AI ack-discipline gap (no separate completion step). Type defaults to collab_brief; result {shipped,failed,wont_fix} on close.
| Parameter | Type | Description |
|---|---|---|
parent_id * | string | |
summary * | string | |
commit_sha | string | |
no_archive | string | |
no_close | string | |
payload | string | |
result | string | |
source_claude | string | |
target_claudes | string | |
title | string | |
type | string |
mesh_status
[cortex-orchestrated, local layer standalone] Mesh health table — LOCAL (systemd/launchd service + loop_fires.log + loops) ALWAYS available; CORTEX BRIDGE (ntfy curl + inbox poll) only when cortex is configured. Per-instance ai_id rows, green/yellow/red, distinguishes DOWN vs WAITING.
| Parameter | Type | Description |
|---|---|---|
instance | string | instance (positional argument) |
get_empirica_introduction
Get introduction to the Empirica epistemic framework