Link logo

Link

Local Markdown memory for AI agents with search, context retrieval, graph traversal, reviewable writes, and repository-aware checks.

Install Link

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "link": {
      "command": "uvx",
      "args": [
        "link-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio link -- uvx link-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

uvx link-mcp

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

link MCP server gives local AI agents a shared memory layer backed by readable Markdown files. It captures sources into a wiki, stores approved preferences and decisions, and returns compact, source-backed context through MCP, the CLI, skills, or a local viewer. Reach for link when multiple agents need durable project context without putting the knowledge inside one vendor profile. It also supports reviewed rules, repository-based stale checks, session receipts, and agent-specific hooks or compiled instruction files.

Use cases

  • Share reviewed preferences across local AI agents
  • Retrieve project decisions and constraints across sessions
  • Turn notes and transcripts into a source-backed Markdown wiki
  • Check code-related memories for stale repository references
  • Inspect which memories an agent received in a session

Key features

  • Local Markdown wiki with raw and structured knowledge
  • Meaning-based memory search and compact context packets
  • Knowledge graph traversal through MCP and CLI
  • Review-gated memory writes and pre-call rules
  • Repository-aware stale-memory checks
  • Session receipts, synchronization, and agent compilation

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

24/24 checks healthy over the last 72d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 18d ago via OSV.dev · link-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars228Stargazers on the source repository.
Last commit4d agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.

How Link works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Link

link is an MCP server that connects local AI agents to a shared Markdown knowledge wiki and personal memory store. Its main tools support searching memory, retrieving compact context, and traversing linked knowledge, while review, receipts, stale checks, and synchronization help keep recalled information inspectable across sessions.

Install it with Homebrew or PyPI, then run `lnk setup`. Use `brew install gowtham0992/link/link` or `pip install link-mcp`; setup wires the agents link finds. `lnk status` can then show whether the installation is connected and being used.

Yes, link supports Cursor through MCP, hooks, and compiled rules. Cursor uses session-start and session-end hooks, and its documented shell, file-read, and file-write checks can ask for approval or hold a call according to link's integration behavior.

link stores memory locally as plain Markdown, with raw sources under `raw/` and structured pages under `wiki/`. The files can be opened, searched, and reviewed directly, while approved memories remain available to multiple local agents.

Yes, link checks memories that refer to repository files, scripts, dependencies, or functions and flags them when the repository no longer supports those references. This helps agents avoid treating outdated code context as current.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewLink AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/link?style=directory)](https://allmcps.com/mcp/link)
HTML Embed
<a href="https://allmcps.com/mcp/link"><img src="https://allmcps.com/api/badge/link?style=directory" alt="Link on AllMCPs" /></a>