Durable, time-correct memory for Claude and any MCP client. Remember facts, recall current or point-in-time state, inspect conflicts and lineage, and run locally for free with SQLiteβno API key or Docker required.
To add Lians Agent Memory to Claude, run the install command below or copy the ready-made config for Claude Code, Claude Desktop, Cursor and VS Code further down. Restart your client after adding it and its tools show up in your next conversation. It needs 5 environment variables, listed below.
Install
uvx lians-sdk@0.5.0Environment variables
LIANS_URLSet in your MCP configLIANS_API_KEYSet in your MCP configLIANS_AGENT_IDSet in your MCP configLIANS_LOCAL_DBSet in your MCP configLIANS_NAMESPACESet in your MCP configInstall with your client
claude mcp add lians-agent-memory --env LIANS_URL=<YOUR_LIANS_URL> --env LIANS_API_KEY=<YOUR_LIANS_API_KEY> --env LIANS_AGENT_ID=<YOUR_LIANS_AGENT_ID> --env LIANS_LOCAL_DB=<YOUR_LIANS_LOCAL_DB> --env LIANS_NAMESPACE=<YOUR_LIANS_NAMESPACE> -- uvx lians-sdk@0.5.0
Run this in a terminal to add the server to Claude Code.
What this does
Lians Agent Memory exposes a set of tools to Claude over the Model Context Protocol. After you add it to claude_desktop_config.json (snippet above) and restart Claude Desktop, those tools become callable inside any conversation.
Requirements
This server needs the following environment variables to be set before it can run:
LIANS_URL LIANS_API_KEY LIANS_AGENT_ID LIANS_LOCAL_DB LIANS_NAMESPACE
Set these via the env object in your MCP config (see claude_desktop_config.json snippet above).
Frequently asked questions
How do I install Lians Agent Memory?
Run the Claude Code command in the install section to add Lians Agent Memory to Claude Code, or copy the ready-made config for your client from the install section on this page. Restart your client afterwards and the tools appear in your next conversation.
Which clients work with Lians Agent Memory?
This page carries setup and config for Claude Code, Claude Desktop, Cursor and VS Code. Any other MCP client that accepts a standard server config can connect to Lians Agent Memory as well.
Does Lians Agent Memory need an API key?
Yes. Before it can run, set these environment variables: LIANS_URL, LIANS_API_KEY, LIANS_AGENT_ID, LIANS_LOCAL_DB, LIANS_NAMESPACE. They go in the env block of your MCP config.
Add this badge to your README
Show visitors this server is listed in the ClaudeRules directory. The badge links straight to this listing.
[](https://clauderules.net/mcp/lians-xila)<a href="https://clauderules.net/mcp/lians-xila" target="_blank" rel="noopener noreferrer"><img src="https://clauderules.net/api/badge/lians-xila" alt="Listed on clauderules.net" /></a>More AI MCP servers
GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Serena MCP: the IDE for your agent
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
MCP Toolbox for Databases
MCP Toolbox for Databases enables your agent to connect to your database.
Figma-Context-MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
