# link [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/gowtham0992/link  
**GitHub Stars:** 228  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/link

## Description
Personal knowledge wiki as MCP tools — search, context, graph traversal.

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

```json
"mcpServers": {
  "link": {
    "command": "uvx",
    "args": ["link-mcp"]
  }
}
```

## Documentation

## What link does

link provides local, source-backed memory for AI agents. Its storage is a Markdown wiki that separates raw material from structured pages and reviewed memories. Raw sources can include notes, transcripts, documents, screenshots, and project context. Explicit requests such as preferences, decisions, facts, and project constraints become memories that can be inspected, reviewed, archived, or forgotten.

The system is designed for knowledge that should persist across sessions and remain available to more than one local agent. Because the underlying files are plain Markdown, they can be opened, searched, and versioned independently of link.

## How it works

The workflow has five stages:

1. Sources are placed in `raw/`.
2. Source-backed pages are organized under `wiki/`.
3. Explicitly approved memories are saved for later recall.
4. Agents request compact context packets rather than receiving the entire wiki.
5. Reviewed rules can be checked before a tool call is allowed to run.

Retrieval matches meaning rather than requiring the same wording used when a memory was saved. Returned context includes provenance and follow-up actions. Session receipts show which memories reached an agent and whether the complete memory was delivered.

Memories that refer to repository files, scripts, dependencies, or functions are checked against the repository and can be flagged when they become stale. Durable writes require approval, keeping new memory reviewable before it becomes part of the shared store.

## Setup and configuration

Install with Homebrew or PyPI, then run setup to connect link to the agents it finds:

```bash
brew install gowtham0992/link/link
lnk setup
```

The Python package can be installed with `pip install link-mcp`. Useful commands include `lnk status` to inspect wiring and usage, `lnk import claude-code` to bring in existing memory, and `lnk compile --global` to write reviewed personal memory into instruction files for agents without a session-start hook.

A macOS menu bar application is available separately through the `linkbar` Homebrew cask.

## Tools and capabilities

The MCP and CLI interfaces support searching memory, retrieving context, and traversing the knowledge graph. They also support recall, review, stale checks, receipts, synchronization, and compilation of memory into agent instruction files.

Agent-specific delivery can use MCP, startup or session hooks, global rules, project instruction files, or compiled files. The documented integrations include Claude Code, Cursor, Codex, Gemini CLI, Antigravity, Copilot and VS Code, Windsurf, Devin CLI, Kiro, and Zed. The exact delivery method depends on the agent: some use hooks, some read generated rules, and some use both.

Rules may ask for approval before a tool call or block the call until an approval command such as `lnk approve <id>` allows that exact call once. Receipts record the memory supplied to sessions.

## Limitations and notes

Agent behavior differs by integration. Agents without session-start hooks rely on compiled global instructions, and agents without hooks cannot use the same pre-call enforcement path. Zed evaluates calls through its own permission rules, so its calls are not held for `lnk approve` or counted in link receipts. The README also identifies Kiro CLI V3 as the environment for Kiro hooks and notes that Copilot's cloud agent does not receive link hooks.

The memory store is local and file-based, so link is best suited to local agents and workflows that can access its Markdown files. Approval, review, and compilation behavior should be evaluated against the particular agent integration being used.

_Full upstream README: https://allmcps.com/mcp/link/readme_

