Link
Lets your AI agent share reviewed, local memory stored as plain Markdown across tools like Codex, Claude and Cursor.
218 stars on GitHubby gowtham0992License MITUpdated 24 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add link -- uvx link-mcp
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Remember that we deploy on Tuesdays.
Where does local data live, as of March?
What it is
Link is a local memory layer for AI agents. You approve what gets remembered, and it is stored as readable Markdown files on your machine. Agents recall compact, source-backed context through MCP tools and the lnk command.
What it can do
- Remember: save a reviewed memory
- Recall: search memory by meaning
- Search and context packets
- Graph traversal over linked pages
lnk setup,lnk status,lnk import,lnk receiptlnk sync: sync memory through your own git remote
When to use
- βΊWhen you want several agents to share the same preferences and decisions
- βΊWhen you want memory you can open, search and git-diff
- βΊWhen you want to know what each agent session was given
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
memory-systemHelps your agent remember your preferences, project conventions and past decisions across separate sessions using a simple memory index.honcho-memoryHelps your agent remember you across chats by checking Honcho memory before replying and saving each exchange afterward, so it learns your preferences over time.cost-ledgerHelps your agent add up what you spent across Claude Code, Codex and Grok on your computer, using only the logs stored locally.Frequently asked questions
Is it free and open source?
Yes. The readme calls it open source and gives pip and Homebrew installs.
Does anything leave my computer?
No. The readme says it is provably local, and sync uses a git remote you control.
Do memories save automatically?
No. Writes are review-gated, so agents propose and you approve.
Does it use an LLM to store memory?
No. The readme says ingestion and recall are deterministic, with no model in the memory layer.
Which agents does lnk setup find?
Claude Code, Codex, Cursor, Windsurf, Zed, Kiro and Gemini CLI.
Can I import existing memory?
Yes, with lnk import from sources like Claude Code, Cursor or Codex. Items arrive as proposals.
If it does not work
- βΊRun lnk setup again after brew upgrade.
- βΊRun lnk status to check that it is wired up and being used.
- βΊSet LINK_USAGE=off if you want the usage ledger disabled.
5 new skills a week. 1 minute to read.