linklore
AI-native coding memory — lore/doc that AI agents read and write directly, via MCP
README
LinkLore
AI-native coding memory — a project memory that AI agents read and write directly (lore/doc), via MCP.
AI agents record decisions, pitfalls, and specs as they work — and recall them next session with code context attached (file links, stale detection, bidirectional links). Local-first: everything lives in a .linklore/ SQLite store in your project.
mcp/— the readable portion of the MCP server source (PyPI:llre, run withuvx llre)plugin/— Claude Code plugin wrapper
Quick start — tell your agent
This is an MCP server, meant to be set up by an AI agent rather than typed in by hand. Paste this as your first message to Claude Code, Cursor, or any other MCP-capable agent:
Set up LinkLore (an MCP server for project memory) in this repo. It's the PyPI package
llre, run viauvx llre— no install or clone needed. Register it as an MCP server for whichever client you are (Claude Code:claude mcp add llre -- uvx llre; otherwise add{"mcpServers": {"llre": {"command": "uvx", "args": ["llre"]}}}to this project's.mcp.json), then runuvx llre inithere. Ask me first before runninguvx llre login— it opens a browser for Google login and is only needed for personal backup or team sharing.
Prefer to do it by hand?
{
"mcpServers": {
"llre": {
"command": "uvx",
"args": ["llre"]
}
}
}
Or with Claude Code:
claude mcp add llre -- uvx llre
The official guide ships inside the product, as lore — LinkLore documents itself with itself. After init(), your project carries the guide as a read-only source:
show(tag='guide')
It updates with the package: upgrade llre and brief() tells you what changed.
Source model
Mostly readable, core compiled. This repository publishes the MCP server's source in the clear — the entry point, i18n catalogs, base utilities, and the onboarding guide — under the Elastic License 2.0. The core modules (search, ranking, contradiction detection, the tool logic) ship as compiled extensions in the published wheel rather than plaintext source, so "read every line and fork it" isn't 100% true — but the majority is readable, and you can run it, self-host it, and use it commercially inside your own org. We'd rather be upfront that the crown-jewel logic is compiled than pretend it's fully open.
This tree is not buildable on its own (the compiled modules are not here) — install the published package instead: uvx llre.
Research
LinkLore is the case study of the paper "When the Agent Is the User: Agent-Driven Evolution of AI-Native Tools" — defining the AI-Native Tools category, where the AI agent is the primary operator.
DOI: 10.5281/zenodo.21216858 · citation: CITATION.cff
License
Elastic License 2.0. Free to install and use; you may not provide the software as a competing managed service, circumvent license-key functionality, or remove licensing notices.
Team sync, cross-project sharing, and cloud backup are provided by the backend service at linklore.io (not part of this repository).
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.