L

LibSQL Memory

Provides a LibSQL-based persistent memory database for storing and retrieving knowledge graph entiti...

375 views
1 installs
Updated Nov 22, 2025
Not audited
Provides a LibSQL-based persistent memory database for storing and retrieving knowledge graph entities and relations across conversations.
  1. Determine Your Database Type
    • Decide whether you will use a local SQLite database or a remote libSQL (such as Turso) database.

If using a local SQLite database:

  1. Locate or Create Your Database File

    • Choose a path for your SQLite database file (e.g., /path/to/your/database.db).
    • You can use any .db file—create a new one or use an existing one.
  2. Set the Database URL

    • Set the LIBSQL_URL value to point to your SQLite file in the following format:
      file:/path/to/your/database.db
      
    • If using WSL, ensure you use the Linux filesystem format for paths (e.g., /home/username/database.db).

If using a remote libSQL database (such as Turso):

  1. Create a Remote Database

    • Sign up or log in to your remote libSQL provider (e.g., Turso).
    • Create a new database following their instructions.
  2. Obtain Your Database Connection URL

    • After creating your database, find the connection URL for your database.
    • It will look like:
      libsql://your-database.turso.io
      
  3. Obtain Your Authentication Token

    • Generate or locate the authentication token for your database on your provider’s dashboard.
    • Copy the token (it may be labeled as “API Token,” “Auth Token,” or similar).

  1. Add ENVs in FastMCP

    • In the FastMCP connection interface, use the "Install Now" button to add your environment variables.
    • Fill in the following fields:
      • LIBSQL_URL: Use either the local file path (for SQLite) or the remote URL (for libSQL/Turso).
      • LIBSQL_AUTH_TOKEN (only for remote): Paste your auth token.
    Variable Example Value
    LIBSQL_URL file:/path/to/database.db
    (or) libsql://your-database.turso.io
    LIBSQL_AUTH_TOKEN your-auth-token
  2. Save and Apply

    • Save your ENV values. The server will now connect to your specified database.

Note:

  • If you do not specify any LIBSQL_URL, the default is file:/memory-tool.db in the current directory.
  • For full details and graphical steps, refer to your libSQL provider’s documentation, such as the Turso Quickstart Guide.

How to Install LibSQL Memory

Install LibSQL Memory MCP server with one click through FastMCP. Choose your preferred AI development tool below:

Claude Desktop

Click "Claude Desktop" in Quick Start

Cursor IDE

Click "Cursor IDE" in Quick Start

VS Code

Click "VS Code" in Quick Start

Alternatives to LibSQL Memory

Looking for similar MCP servers? Browse other servers in the same categories on FastMCP, or check out the similar servers listed above.

Quick Start

View on GitHub

More for Memory Management

View All →

More for Database

View All →

Similar MCP Servers

Knowledge Graph Memory

Knowledge Graph Memory

Official

Build and query persistent semantic networks for data management. A basic implementation of persistent memory using a local knowledge graph. This lets Claude remember information about the user across chats.

Memory Management
K

Knowledge Graph

Provides persistent memory for Claude through a local knowledge graph that stores entities with observations and relations, enabling structured information retrieval and complex context retention across conversations.

Memory Management Database
182
0
M

Memento

Provides persistent memory capabilities through a SQLite-based knowledge graph that stores entities, observations, and relationships with full-text and semantic search using BGE-M3 embeddings for intelligent context retrieval across conversations.

Memory Management
448
0

Report Issue

Thank you! Your issue report has been submitted successfully.

Stay ahead of the MCP ecosystem

Get the top new MCP servers, trending tools, and dev tips delivered weekly. Free, no spam, unsubscribe anytime.

Join 2,847 developers. We send one email per week.