mcp-memory-libsql
by spences10·★ 84·Score 46
High-performance persistent memory system for MCP with vector search and knowledge graph capabilities.
Overview
mcp-memory-libsql is a TypeScript-based MCP server that provides a persistent memory system using libSQL as its database backend. It offers high-performance text search with relevance ranking, entity and relationship management, and is optimized for LLM context efficiency. The server supports both local SQLite and remote libSQL databases with secure authentication, making it suitable for AI agents and knowledge graph applications.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this when you need a persistent memory system with vector search capabilities for AI agents, especially if you're already using libSQL or SQLite databases.
When NOT to choose this
Avoid if you need read/write access to existing databases or require more advanced semantic search capabilities beyond basic vector search and relationship management.
Tools this server exposes
7 tools extracted from the READMEcreate_entityCreate or update an entity with observations
delete_entityDelete an entity
search_entitiesSearch entities by text with relevance ranking
explore_entity_relationshipsExplore relationships between entities
create_relationCreate a relation between entities
delete_relationDelete a relation between entities
query_related_entitiesQuery entities related to a specific entity
Comparable tools
Installation
Installation
- Install the server package:
npm install -g mcp-memory-libsql- Configure in your MCP client. For Claude Desktop:
{
"mcpServers": {
"mcp-memory-libsql": {
"command": "npx",
"args": ["-y", "mcp-memory-libsql"],
"env": {
"LIBSQL_URL": "file:/path/to/your/database.db"
}
}
}
}- Set the LIBSQL_URL environment variable to specify your database location (default: file:/memory-tool.db)
FAQ
- What databases are supported?
- The server supports both local SQLite databases and remote libSQL databases (like Turso) through the LIBSQL_URL environment variable.
- How do I authenticate with a remote libSQL database?
- Set the LIBSQL_AUTH_TOKEN environment variable with your authentication token when connecting to remote databases.
Compare mcp-memory-libsql with
Last updated · Auto-generated from public README + GitHub signals.