# Kindex [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/wandercom/kindex  
**GitHub Stars:** 53  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/kindex-2

## Description
Persistent knowledge graph and MCP server for AI workflows with git-tracked project context.

## Tools
Capabilities this server exposes over MCP:

- **kinbase_sync** — Refresh signed Kinbase evidence; raw verifies bytes, reduced retains governance snapshots.

    The source events are never modified. Reduced covers local event keys and
    invokes exact-key explain, never project (which may submit questions).
    The `kinbase` executable is the one on PATH: a tool caller does not name
    what runs. A reduced sync that would outlast KINBASE_SYNC_BUDGET_S is
    refused; the CLI has no such bound.
    
- **kinbase_status** — Report a repository's Kinbase certification, trusted facts and Unknowns.

    USE THIS: before relying on company direction in a repository, to see
    whether Company was reachable at all. A withheld snapshot degrades the
    projection to repository evidence without failing, so a repository that
    lost Company and one that never had direction read alike until this is
    asked.

    Not purely a read: Kinbase closes apologies whose deadline has passed
    before it reports, which is a signed write it performs on every `status`.
    Nothing here records the asking, and what it writes is bounded by what is
    already overdue rather than by how often it is called. The `kinbase`
    executable is the one on PATH: a tool caller does not name what runs.

    Args:
        repo: Path to the certified repository to report on.
    
- **kinbase_explain** — Explain why one Kinbase logical key currently reads as it does.

    USE THIS: when company direction and the repository disagree, to see the
    reducer steps, the rejected events, and the evidence that would change the
    answer. Read-only, exact-key, and it never submits a question; generating a
    whole task brief is `kinbase project`, a planner step, because that one
    writes.

    Args:
        repo: Path to the certified repository asking.
        logical_key: The exact key to explain, e.g. `symbol:class:Db`.
        decision: The decision the answer is being read for.
    
- **kinbase_submit** — Submit explicit text as AI-generated repository evidence to native Kinbase.

    This stages one observation through `kinbase ingest kindex`. It does not
    run separate bulk corpus admission, ratify authority, or submit a question
    to a human queue. Native ingestion may derive and admit facts; the native
    receipt reports that outcome. A question node is AI evidence, not a native
    `questions ask`.
    Text is limited to 16 KiB; recognized credentials are refused. Identical
    retries reuse the source artifact. A timeout may have submitted successfully
    and is reported as unknown, not as evidence of no change.
    
- **search** — Search the knowledge graph with hybrid FTS5 + graph traversal.

    USE THIS: before starting work on a topic, before adding nodes (to avoid
    duplicates), and whenever you need context about a concept.

    Each graph supplies its native hybrid ranking. When both project and
    configured global graphs contribute, equal-weight RRF interleaves those
    lists by rank, without comparing their locally normalized scores. The
    merged rank score is not calibrated cross-graph relevance. Results carry
    qualified graph IDs for safe follow-on writes.

    Args:
        query: Search query text.
        top_k: Maximum results to return.
        tags: Comma-separated tags to filter results (only nodes with these tags).
        include_archived: Include archived nodes (fenced from default search).
        trusted_only: Admit only current, explicitly verified, non-contradicted
            knowledge. False preserves ordinary legacy-compatible recall.
        graph: auto (selected project plus configured outer), project (selected
            store only), or global (configured outer store only).
    
- **add** — Add a knowledge node to the graph. `search` first: when a matching node
    already exists, change it with `edit` or `supersede` instead of adding a duplicate.

    Choose the right node_type — it determines how the node behaves:
    - concept: facts, patterns, key files, domain terms (default, most common)
    - decision: "we chose X over Y because..." — architectural choices with rationale
    - question: open problems to investigate later — gets surfaced until answered
    - task: actionable work — prefer `task_add` instead (supports priority/due/linking)
    - skill: demonstrated ability with evidence
    - constraint: hard rule that MUST hold — set trigger/action in text (e.g. "never push to main without tests")
    - directive: soft behavioral guideline with scope (e.g. "use snake_case in Python modules")
    - watch: something needing periodic attention — flaky test, unstable API, known tech debt.
      Set owner and expiry in text. Gets surfaced in every session until resolved or expired.
    - checkpoint: pre-flight checklist item — verify before a specific event

    Args:
        text: The knowledge to capture (becomes title + content). Be specific.
        node_type: See types above. Default: concept.
        tags: Comma-separated tags for contextual surfacing (e.g. "kindex,python").
        domains: Alias for tags (deprecated, use tags instead).
        audience: Visibility scope (private, team, org, public). Default: private.
        referent: Path or URL the claim describes (R0 binding). File paths
            are hashed now — use an absolute path (the MCP server's cwd is
            not the project's) or supply referent_digest.
        referent_digest: Explicit content digest (required for url/repo
            scope; sha256 hex, or 7-64 hex commit for repo scope).
        referent_scope: file | url | repo (default: url for URLs, file
            otherwise).
        asserted_at: RFC3339 claim time (default: now when binding).
        true_of: RFC3339 instant the referent was observed in the digested
            state (default: asserted_at).
        graph: project (selected graph) or global (configured outer graph).
        source_refs: Comma-separated graph-qualified result IDs used as evidence.
            A global source routes this new node to the global graph.
    
- **edit** — Edit a node in place (policy-aware). Accepts a node ID or exact title.

    Edit classes by node type:
    - editable (concept, document, artifact, skill, person, project, question):
      every field below is allowed
    - additive (decision, constraint, directive, checkpoint, watch): history
      matters — only append and expires; use `supersede` to replace
    - managed (task, session, coordination): refused — use the dedicated
      task/session/coordination tools

    Args:
        node_id: Node ID or exact title.
        title: Replace the title.
        content: Replace the content.
        append: Append a dated addendum block to the content.
        add_tags: Comma-separated tags to add.
        remove_tags: Comma-separated tags to remove.
        intent: Replace the intent.
        expires: Set an expiry date (YYYY-MM-DD) — expired nodes stop surfacing
            and are archived by the daemon.
        force: Override a foreign advisory lock.
    
- **supersede** — Replace a node with a fresh one, preserving history. Accepts ID or title.

    Creates a new node (same type/tags/audience/intent), links it with a
    `supersedes` edge, marks the old node status='superseded', and migrates
    its retrieval pheromone. Use this instead of `edit` for additive types
    (decision, constraint, directive, checkpoint, watch) when the content
    must change rather than grow.

    Args:
        node_id: Node ID or exact title of the node to replace.
        new_text: Full replacement text (becomes title + content).
        expires: Optional expiry date for the new node (YYYY-MM-DD).
        reason: Why the node is being replaced (kept as provenance).
    
- **context** — Get a formatted context block for injection into conversation.

    Args:
        topic: Topic to search for (auto-detects from cwd if empty).
        level: Context tier (full, abridged, summarized, executive, index), or
            evidence: the matching nodes in full, dated and oldest first, with
            the standing directives (what `ask` returns; default 4,000 tokens).
        max_tokens: Token budget (overrides level with auto-selection if set;
            with level=evidence, the evidence budget).
        trusted_only: Admit only current, explicitly verified,
            non-contradicted knowledge. False preserves ordinary recall.
        graph: Read scope: auto, project, or global.
    
- **candidate_create** — Stage one bounded automatic capture for review without promoting knowledge.

    Args:
        title: Candidate title (at most 500 characters).
        content: Candidate content (at most 4,000 characters).
        source_digest: SHA-256 digest of the source material.
        node_type: Allowed Kindex node type; defaults to concept.
        domains: Optional domain labels.
        connections: Optional proposed edges.
        ttl_days: Optional positive candidate lifetime in days.
    
- **candidate_list** — List quarantined automatic-capture receipts without payload fields.

    Args:
        status: Optional pending/conflicted/accepted/rejected/expired filter.
        limit: Maximum receipts to return.
    
- **candidate_show** — Show the exact untrusted candidate payload plus its freshness token.

    Read this before `candidate_accept`, which needs the returned
    `review_token`. The token proves snapshot freshness only: it goes stale
    when the candidate or the graph state it was checked against changes. It is
    not caller authentication, authorization, or proof of reviewer identity.

    Args:
        candidate_id: Exact capture-candidate ID (from `candidate_list`).
    
- **candidate_accept** — Accept a fresh candidate with asserted reviewer and verification method.

    Promotes the candidate to a durable node. Refused when the token is stale,
    the candidate is expired or already accepted/rejected, its payload carries
    credentials, a durable node already has its title, or a proposed
    `contradicts` edge conflicts with verified knowledge. Use this only after
    reviewing the payload from `candidate_show`.

    Args:
        candidate_id: Exact capture-candidate ID.
        review_token: The `review_token` from a current `candidate_show`.
        reviewed_by: Asserted reviewer identifier (audit text, not
            authenticated; at most 128 characters).
        prov_method: How the content was verified, as short audit text
            (at most 128 characters).
        valid_at: Optional RFC 3339 start of the half-open valid interval.
        invalid_at: Optional RFC 3339 exclusive end; must be later than
            valid_at.
    
- **candidate_reject** — Reject and minimize a live capture candidate.

    Args:
        candidate_id: Exact capture-candidate ID.
        reviewed_by: Asserted reviewer identifier.
        disposition_code: Bounded machine disposition code.
    
- **candidate_prune** — Expire due pending/conflicted candidates; never promotes knowledge.
- **candidate_erase** — Erase a candidate or minimized review receipt by exact ID.

    Deletes the row outright, whatever its status; the activity log keeps only
    the ID and prior status. A promoted node is not affected. Returns
    `erased: false` when no such ID exists.

    Args:
        candidate_id: Exact capture-candidate ID.
    
- **verify** — Assert node verification and an optional half-open valid interval.

    Verified, current, non-contradicted nodes are what `trusted_only=True`
    search and context admit. Reviewer identity is asserted audit text within
    the local trust boundary; this tool does not authenticate it.

    Args:
        node_id: Node ID, graph-qualified reference, or exact title.
        verified_by: Asserted verifier identifier (at most 128 characters).
        prov_method: How the node was verified, as short audit text
            (at most 128 characters).
        verified_at: Optional RFC 3339 verification time (default: now).
        valid_at: Optional RFC 3339 start of the half-open valid interval.
        invalid_at: Optional RFC 3339 exclusive end; must be later than
            valid_at.
    
- **invalidate** — Set a node's exclusive valid-time end without deleting it.

    A foreign advisory lock on the node refuses the change unless force=True.
    The activity log names this server's agent identity as the actor; the
    caller's `invalidated_by` is kept beside it as an assertion.

    Args:
        node_id: Durable node ID or exact title.
        invalidated_by: Asserted invalidating actor.
        disposition_code: Bounded machine invalidation reason.
        invalid_at: Optional timezone-aware RFC 3339 exclusive end time.
        force: Override a foreign advisory lock.
    
- **show** — Show full details of a node including edges and provenance.

    Args:
        node_id: Node ID or title to look up.
        resolve_sources: Inspect durable evidence with read-only SQLite opens.
            Saved references never authorize writes or bypass session scopes.
    
- **link** — Create an edge between two nodes. Links are the graph's primary value.

    Choose the right relationship type:
    - relates_to: general connection (default)
    - depends_on: A requires B to function
    - implements: A is a concrete realization of B
    - contradicts: A and B are in tension
    - blocks: A prevents progress on B
    - answers: A resolves question B
    - supersedes: A replaces B
    - context_of: A provides background for B
    - spawned_from: A was derived from B
    - exemplifies: A is an example of B

    Args:
        node_a: Source node ID or title.
        node_b: Target node ID or title.
        relationship: Edge type (see above). Default: relates_to.
        weight: Edge strength 0.0-1.0. Use 0.7+ for strong connections, 0.3-0.5 for weak ones.
        reason: Why this connection exists (stored as provenance — always provide this).
    
- **list_nodes** — List nodes in the knowledge graph with optional filters.

    Args:
        node_type: Filter by type (concept, decision, skill, person, project, etc.).
        status: Filter by status (active, archived, deprecated).
        audience: Filter by audience (private, team, org, public).
        tags: Filter by tags (comma-separated, AND logic — node must have all).
        limit: Maximum number of nodes to return.
        graph: auto (both allowed stores), project, or global.
    
- **status** — Get per-graph health and statistics for the selected read scope.
- **ask** — Ask a question of the knowledge graph.

    Returns the evidence `kin ask` answers from: the matching nodes in full,
    dated and oldest first, with today's date and the standing directives, in
    graph-local sections whose refs show and edit accept, within `kin ask`'s
    budget. Counting, listing and ordering questions search deeper and say
    when the evidence may be incomplete. With answer=True and an LLM configured, it also drafts the
    answer the way `kin ask` does (planned searches, answering rules), within
    the LLM budget; otherwise it makes no model call.

    Args:
        question: Natural language question.
        graph: Read scope: auto, project, or global.
        answer: Also draft an answer with the configured LLM (spends budget).
        max_tokens: Token budget for the evidence (default: `kin ask`'s, small for
            a single answer and wide for counts, lists, orderings and advice).
    
- **suggest** — Show pending bridge opportunity suggestions.

    These are potential connections between concepts that Kindex detected
    but hasn't confirmed yet.

    Args:
        limit: Maximum suggestions to show.
        graph: auto (both allowed stores), project, or global.
    
- **learn** — Extract knowledge from text and add it to the graph.

    USE THIS: after reading long files, articles, command outputs, or completing
    complex multi-step tasks. Summarize what happened and pass the text here
    for automatic concept extraction and linking.

    Extracts with the configured LLM when one is available (it reads the first
    4,000 characters) and with keyword matching otherwise. Creates up to 10
    concept nodes: low-information ones are rejected, and a concept whose title
    already exists reuses that node. When it creates any, it grounds them to a
    new source node holding the first 500 characters of the text. It links
    extracted connections between nodes whose titles match and stores bridge
    suggestions. Decisions and questions found in the text are counted in the
    result but not created; capture those with `add`.

    Args:
        text: Text to extract knowledge from (session notes, documentation, etc.).
        graph: project (selected graph) or global (configured outer graph).
        source_refs: Comma-separated graph-qualified evidence IDs. A global
            source routes extracted knowledge to the global graph.
    
- **graph_stats** — Get source-separated graph analytics for auto, project, or global.
- **graph_heal** — Diagnose each allowed graph independently without modifying it.
- **stale_check** — Re-hash referent-bound nodes; demote stale ones from trusted recall.

    R0 staleness sweep: every active node carrying a file-scope referent is
    re-hashed against its recorded content digest. A mismatch (or missing
    file) records a demotion marker — the node drops out of trusted_only
    recall, shows " [stale-referent]" in search/context output, and becomes
    a re-verification candidate. Content is never deleted or rewritten.
    A fresh re-hash clears a previously recorded marker.

    Args:
        base_dir: Resolve relative referent paths against this directory
            (default: the server's cwd — prefer absolute referent paths).
        rebind: Node ID to deliberately re-verify instead of sweeping:
            re-hash its referent and rebind to the current state (moves
            true_of to now, keeps asserted_at, clears the stale marker).
    
- **mask_scan** — Find (or mask) known secret values already stored in the graph.

    Requires ``secret_mask`` in the user's ~/.config/kindex/kin.yaml (env
    files such as ~/.profile whose values are secrets). New writes are masked
    as ``$NAME`` automatically; this reports rows written before, by key name
    and location, never values.

    Args:
        apply: Rewrite the matches as ``$NAME`` after a recovery snapshot
            (the snapshot keeps the old values; the report names it).
    
- **graph_merge** — Merge two nodes that represent the same concept.

    Moves all edges from the source node to the target node, then archives
    the source. Use when you find duplicate or near-duplicate nodes.

    Policy-aware like `edit`: managed types (task, session, coordination)
    are always refused — their tooling owns them. Additive types (decision,
    constraint, directive, checkpoint, watch) are refused unless force=True
    — prefer `supersede` so history survives. A foreign advisory lock on
    either node blocks the merge unless force=True.

    Args:
        source_id: Node to merge FROM (will be archived).
        target_id: Node to merge INTO (will receive edges).
        keep: Which node to keep: 'target' (default) or 'source'.
        force: Merge additive types / override a foreign lock.
    
- **dream** — Run knowledge consolidation (dream cycle).

    Performs memory consolidation: fuzzy deduplication, suggestion
    auto-application, and bounded domain-link proposals for review. Like sleep
    consolidating memory — replay, strengthen, prune.

    Args:
        mode: 'lightweight' (fast, <5s) or 'full' (non-LLM). The LLM 'deep'
            mode spends on model calls and runs only from a shell
            (`kin dream --deep`), not from a tool call.
        dry_run: If True, report what would happen without making changes.
    
- **changelog** — Show recent changes to the knowledge graph.

    Args:
        since: ISO date/timestamp to look back from (e.g. '2026-02-20').
        days: Look back N days from now (default 7, ignored if 'since' is set).
        graph: auto (both allowed stores), project, or global.
    
- **ingest** — Ingest knowledge from external sources.

    Args:
        source: Adapter name (github, linear, files, commits, projects, sessions) or 'all'.
        limit: Maximum items to ingest per adapter (0 = each adapter's own default;
            code is unlimited, network/LLM adapters cap at 50).
        repo: GitHub owner/repo for github adapter (e.g. 'jmcentire/kindex').
        since: ISO date — only ingest items after this date.
    
- **tag_start** — Start a new session tag for tracking work context.

    Args:
        name: Human-readable tag name (e.g. 'auth-refactor').
        description: What this session is about.
        focus: Current focus area.
        remaining: Comma-separated list of remaining items.
    
- **tag_update** — Update, segment, pause, or end a session tag.

    Args:
        name: Required tag name from tag_start or tag_resume. Concurrent agents
            can have active tags in the same project, so omission is unsafe.
        focus: New focus area (used for update and segment actions).
        description: Updated description.
        remaining: Replace remaining items (comma-separated).
        add_remaining: Add items to remaining (comma-separated).
        done: Remove items from remaining (comma-separated).
        summary: Summary for segment/pause/end actions.
        action: One of: update, segment, pause, end.
    
- **tag_resume** — Resume a session tag — get full context for continuing work.

    Args:
        name: Tag name to resume (shows active/paused tags if empty).
        tokens: Exact UTF-8 byte budget for the resume block. The argument name
            is retained for compatibility; provider-token guarantees require a
            direct library caller to supply that provider's exact counter.
    
- **task_add** — Add a task to the knowledge graph.

    Tasks are graph-connected -- link them to concepts, projects, or other
    nodes so they surface contextually when you're working in related areas.
    Use link_to to connect tasks to existing graph nodes by ID or title.

    Args:
        text: Task title/description.
        priority: 1=urgent 2=high 3=normal 4=low 5=someday.
        due: Optional due date ('tomorrow', '2026-03-15', 'in 3 days').
        scope: 'global' (always visible) or 'contextual' (surfaces by proximity).
        link_to: Comma-separated node IDs or titles to link this task to.
        effort: Optional effort estimate (small, medium, large).
        project_path: Explicit repository path overrides the inferred association.
            When omitted, a contextual task routed to the global graph from
            an implicitly selected project is bound to that selected project
            (not the MCP process cwd). Other creation keeps legacy behavior.
        session_id: Optional host conversation ID for contextual reminders.
        graph: project (selected graph) or global (configured outer graph).
        source_refs: Comma-separated graph-qualified evidence IDs. A global
            source routes this task to the global graph.
    
- **task_list** — List tasks, optionally filtered.

    With an implicitly selected project graph, also includes relevant tasks
    from the configured global graph and returns qualified IDs.

    Args:
        status: Filter: open, in_progress, done, all. Default: open.
        scope: Filter: global, contextual, or empty for both.
        priority: Max priority level to show (1-5). Empty for all.
        project_path: Optional explicit project filter.
        limit: Maximum number of matching tasks to return.
        graph: auto (selected project plus relevant outer tasks), project
            (selected store only), or global (configured outer store only).
            This is independent of task scope.
    
- **task_done** — Mark a task as completed.

    Args:
        id: Task node ID.
        agent: Agent completing it (default: resolved agent id). Another
            agent's live claim refuses the change unless force is true.
        force: Complete even though another agent holds a live claim.
    
- **task_claim** — Claim a task for an agent with an expiry.

    Args:
        id: Task node ID.
        agent: Agent/sub-agent name claiming the task (default: resolved agent id).
        ttl_minutes: Claim TTL. Expired claims can be taken over.
        note: Optional claim note.
        force: Override an existing unexpired claim.
    
- **task_release** — Release a task claim.

    Args:
        id: Task node ID.
        agent: Agent name. Required to match the claim unless force is true.
        force: Release even if the agent does not match.
    
- **task_get** — Get a complete structured durable task by its exact graph ID.
- **task_update** — Update task fields; omitted fields stay unchanged. Empty due clears it.

    expected_version provides compare-and-swap protection against concurrent edits.
    A status change that ends another agent's live claim is refused unless
    force is true; agent defaults to the resolved agent id.
    Use task_execute for explicit host scope and durable operation replay.
    
- **task_cancel** — Cancel a task without deleting its durable record or history.
- **task_execute** — Scoped typed task operation for host adapters, including durable retries.

    Mutations require arguments.operation_id; update accepts expected_version.
    Operations: create/get/list/update/complete/cancel/claim/release/reconcile.
    Explicit project/session scope comes from the caller, never the MCP cwd.
    
- **coord_start** — Start a short-lived coordination conversation.

    Args:
        name: Conversation name.
        task_id: Optional related task ID.
        agent: Agent creating the conversation (default: resolved agent id).
        ttl_minutes: Conversation TTL. Expired conversations are cleaned up.
    
- **coord_join** — Join a coordination conversation as a member.

    Members get read cursors (unread tracking) and receive standing inject
    messages in their session context. Idempotent.

    Args:
        name: Conversation ID or name.
        agent: Joining agent name (default: resolved agent id).
    
- **coord_post** — Post a message to a coordination conversation.

    Args:
        conversation: Conversation ID or name.
        agent: Posting agent name (default: resolved agent id).
        message: Message body.
        to: Optional target agent — message is delivered (unread counts,
            injection) only to them; broadcast when empty.
    
- **coord_read** — Read messages from a coordination conversation.

    Without since_id, reads from the agent's member cursor and advances it
    (unread tracking).

    Args:
        conversation: Conversation ID or name.
        since_id: Only return messages with a higher id (0 for all); leaves
            the read cursor unchanged.
        limit: Maximum messages to return.
        agent: Reading agent name (default: resolved agent id).
    
- **coord_attach** — Attach a graph node to a conversation as a shared resource.

    Attached resources surface in members' contexts when locked, so agents
    see who holds what.

    Args:
        name: Conversation ID or name.
        node_id: Node ID or title to attach.
    
- **coord_inject** — Manage standing inject messages on a coordination conversation.

    Inject messages are pushed into member agents' session context by the
    prime/prompt hooks until cleared or expired. Only the conversation's
    creator or members may set or clear them, and only the creator may clear
    another agent's message.

    Args:
        name: Conversation ID or name.
        action: set, clear, or list.
        text: Message text (for set).
        to: Optional target agent (for set); broadcast when empty.
        message_id: Specific inject message id to clear (0 = clear all you may).
        agent: Acting agent name (default: resolved agent id).
    
- **coord_list** — List coordination conversations.

    Args:
        status: active, ended, or all.
        task_id: Optional related task ID filter.
    
- **coord_end** — End a coordination conversation and clear transient messages.

    Only the conversation's creator or members may end it while it is live.

    Args:
        conversation: Conversation ID or name.
        summary: Optional retained summary.
        agent: Ending agent name (default: resolved agent id).
    
- **lock_acquire** — Acquire an advisory lock on a node for the current agent.

    Locks are advisory: they signal "I am working on this" to other agents
    (edit refusal, collab context). Expired locks never block anyone.

    Args:
        node_id: Node ID or title to lock.
        ttl_minutes: Lock TTL. Re-acquiring refreshes it.
        note: Why the node is locked.
        force: Take over a foreign unexpired lock.
    
- **lock_release** — Release an advisory lock held on a node.

    Args:
        node_id: Node ID or title to unlock.
        force: Clear a lock held by another agent.
    
- **watch_add** — Create a watch node for something needing periodic attention.

    Watches surface in every session's context. Use for:
    - Flaky tests, unstable APIs, known tech debt
    - Pending decisions, things to revisit
    - Anything Claude should keep an eye on

    Args:
        text: What to watch (becomes the node title).
        owner: Who owns this watch (person or team).
        expires: When this watch expires (YYYY-MM-DD). Auto-archived after expiry.
        link_to: Comma-separated node IDs/titles to link this watch to.
        graph: project (selected graph) or global (configured outer graph).
        source_refs: Comma-separated graph-qualified evidence IDs. A global
            source routes this watch to the global graph.
    
- **watch_list** — List watch nodes.

    Args:
        status: Filter by status: active (default), archived, all.
        graph: auto (both allowed stores), project, or global.
    
- **watch_resolve** — Resolve/archive a watch node.

    Args:
        id: Watch node ID.
        reason: Why this watch is being resolved.
    
- **remind_create** — Create a reminder with natural language time parsing.

    Args:
        text: What to be reminded about.
        when: When to fire: 'in 30 minutes', 'tomorrow at 3pm', 'every weekday at 9am'.
        priority: Priority level (low, normal, high, urgent).
        channels: Comma-separated notification channels (system, slack, email, claude).
        action: Shell command to execute when the reminder fires (optional).
        instructions: Natural language instructions for Claude to follow when due (optional).
        conversation_id: Optional chat/session id for scoped hook injection.
        scope: Reminder visibility for hook injection: chat or global.
        wake: Wake an agent when due: codex or opencode.
        wake_session: Optional host session id to resume; 'last' is resolved to the
            current (or newest Codex) session now, not when the reminder fires.
        wake_cwd: Working directory for the wake run (default: this project).
        wake_model: Optional model override for the wake run.
        wake_agent: Optional OpenCode agent override for the wake run.
    
- **remind_list** — List reminders with optional filters.

    Args:
        status: Filter by status (active, snoozed, fired, all).
        priority: Filter by priority (low, normal, high, urgent).
    
- **remind_snooze** — Snooze a reminder.

    Args:
        id: Reminder ID.
        duration: Snooze duration (e.g. '15m', '1h'). Uses config default if empty.
    
- **remind_done** — Mark a reminder as completed.

    Args:
        id: Reminder ID.
    
- **remind_check** — Check for due reminders and fire notifications.

    Runs the reminder check cycle: finds due reminders, sends notifications,
    handles auto-snooze for stale fired reminders.
    
- **remind_exec** — Manually trigger a reminder's action.

    Args:
        id: Reminder ID.
    
- **mode_activate** — Activate a conversation mode. Returns the priming artifact to inject.

    Modes are state inductions, not instructions. They shift how you think,
    not what you think about. Based on research showing induced understanding
    outperforms direct instruction by 5.4x.

    Built-in modes: collaborate, code, create, research, chat.
    Custom modes can be created with mode_create.

    Args:
        name: Mode name (e.g. 'collaborate', 'code', 'create').
        session_context: Optional prior session context to resume from.
    
- **mode_list** — List available conversation modes (built-in and custom).
- **mode_show** — Show details of a conversation mode including its primer, boundary, and permissions.

    Args:
        name: Mode name.
    
- **mode_create** — Create a custom conversation mode from a primer, boundary, and permissions.

    A primer is a state induction (~80 words) that establishes how to think.
    A boundary defines what quality means for this mode.
    Permissions state what's explicitly allowed (tangents, pushback, etc).

    Args:
        name: Mode name (short, lowercase, no spaces).
        primer: The mode-setting passage. Under 80 words. Not instructions.
        boundary: 2-3 sentences defining output quality for this mode.
        permissions: What's explicitly permitted to keep the conversation alive.
        description: Optional one-line description.
        link_to: Comma-separated node IDs/titles to link this mode to.
    
- **mode_export** — Export a mode as a portable, PII-free artifact (JSON).

    Args:
        name: Mode name to export.
    
- **mode_import** — Import a mode from a portable artifact (JSON string).

    Args:
        artifact_json: JSON string of the mode artifact.
    
- **mode_seed** — Seed the default conversation modes into the graph. Idempotent.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "kindex": {
    "command": "uvx",
    "args": ["--from","kindex","kin-mcp"]
  }
}
```

## Documentation

## What Kindex does

Kindex provides a persistent knowledge graph for AI workflows. It gives MCP-capable agents shared access to project memory instead of limiting context to one session or vendor. Graph data is kept in local SQLite stores: a user-level graph under `~/.kindex/` and repository-specific graphs under `.kin/`.

Knowledge is represented as typed nodes and relationships. Node types include concepts, decisions, questions, skills, constraints, directives, watches, and checkpoints. Nodes can carry tags, audience scopes, referents, validity intervals, verification data, and source references. Edges capture relationships such as dependency, contradiction, implementation, answers, supersession, and provenance.

The server also exposes Kinbase operations for repositories with company-level evidence. These include refreshing signed evidence, checking certification and trusted facts, explaining the reduction of one logical key, and submitting explicit repository evidence.

## How it works

Search uses a hybrid full-text and graph traversal strategy. Searches can target the project graph, a configured global graph, or both. When both contribute, their ranked results are merged by reciprocal rank fusion rather than by comparing local relevance scores. Search results include graph-qualified identifiers for follow-on writes.

Trusted recall is optional. With `trusted_only`, search and context accept only knowledge that is current, explicitly verified, and not contradicted. File-bound knowledge can be re-hashed with `stale_check`; changed or missing referents are demoted from trusted recall without deleting their content.

`context` produces a formatted block for prompt injection with selectable levels and token limits. `ask` returns dated evidence and can draft an answer with a configured LLM.

Automatic captures can be quarantined as candidates. Reviewers inspect a freshness token with `candidate_show`, then accept or reject the candidate. Acceptance requires asserted reviewer and verification-method text, and stale or conflicting candidates are refused.

## Setup and configuration

Install the MCP extra with one of the supported Python workflows:

```bash
pip install 'kindex[mcp]'
uv tool install 'kindex[mcp]'
```

For a one-off invocation, `uvx --from 'kindex[mcp]' kin-mcp --help` runs the server from the cache. Source installation is also available through the repository's `make install` target. Initialize a graph with:

```bash
kin init
```

Register the standard stdio server by invoking `kin-mcp`, or use the Claude Code plugin installation. A repository-bound `kindex-lite --repo /absolute/path/to/repo` instance restricts access to that repository's graph and Kinbase reads; options can disable Kinbase or require explicit permission for Kinbase submission and write-capable status operations.

Optional extras include `llm` for Anthropic-powered extraction and answers, `vectors` for sqlite-vec similarity search, and `reminders` for natural-language time parsing. Local data stays on the machine unless an LLM or embedding provider is configured.

## Tools and capabilities

- Search, list, inspect, and summarize graph knowledge.
- Add, edit, supersede, merge, and link nodes with policy-aware history handling.
- Verify or invalidate knowledge and track validity intervals.
- Stage, review, accept, reject, prune, or erase automatic-capture candidates.
- Extract concepts from text and surface unconfirmed bridge suggestions.
- Generate token-bounded context blocks and evidence-based graph answers.
- Inspect graph health, statistics, and stale file referents.
- Scan stored graph data for configured secret values and mask matching entries.
- Refresh, inspect, explain, and submit Kinbase repository evidence.

## Limitations and notes

`add` should follow `search` to avoid duplicate nodes. Additive node types such as decisions, constraints, directives, checkpoints, and watches should generally be replaced with `supersede` when their content changes, preserving history. Managed types such as tasks, sessions, and coordination records are handled by dedicated tooling rather than general edits.

Reviewer and verifier identities are asserted audit text inside the local trust boundary; these tools do not authenticate those identities. Candidate review tokens establish snapshot freshness, not authorization or reviewer identity. Kinbase submission accepts text up to 16 KiB, and a timeout may leave submission status unknown rather than proving that no change occurred.

_Full upstream README: https://allmcps.com/mcp/kindex-2/readme_

