MCP Catalogs
Home

mcp-memory-libsql

by spences10·84·Score 46

High-performance persistent memory system for MCP with vector search and knowledge graph capabilities.

ai-llmknowledge-graphdatabase
17
Forks
12
Open issues
this month
Last commit
2d ago
Indexed

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:

you:Building AI agents with persistent memory and knowledge graphs
you:Implementing efficient semantic search and retrieval systems
you:Creating context-optimized memory storage for LLM applications
you:What databases are supported?
you:How do I authenticate with a remote libSQL database?

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 README
  • create_entity

    Create or update an entity with observations

  • delete_entity

    Delete an entity

  • search_entities

    Search entities by text with relevance ranking

  • explore_entity_relationships

    Explore relationships between entities

  • create_relation

    Create a relation between entities

  • delete_relation

    Delete a relation between entities

  • query_related_entities

    Query entities related to a specific entity

Comparable tools

semantic-memory-mcpvectordb-mcppostgres-mcpsqlite-mcp

Installation

Installation

  1. Install the server package:
npm install -g mcp-memory-libsql
  1. 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"
      }
    }
  }
}
  1. 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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.