Skip to content

Error running Basic Memory in Claude Code on fedora #218

@phernandez

Description

@phernandez

Installed with uv on Fedora 42.

I've added the following to .mcp.json in my root project:

{
    "basic-memory": {
      "command": "uvx",
      "args": ["basic-memory", "mcp"],
      "env": {}
    }
  }
}

  • I made sure I was on the main project
  • I tested basic-memory tool to write a simple md and it worked.
  • I deleted the 2 folders related to the package in ~ and relaunched in case it was corruption somehow

Terminal:

$ basic-memory tool write-note --title "First!" --folder "test" --content "Write your first note"
/home/user/.local/share/uv/tools/basic-memory/lib/python3.13/site-packages/aiosqlite/core.py:105: DeprecationWarning: The default datetime adapter is deprecated as of Python 3.12; see the sqlite3 documentation for suggested replacement recipes
  result = function()
# Created note
file_path: test/First!.md
permalink: test/first
checksum: a0c1d2a0

derek@pc:~$ basic-memory project default main
/home/user/.local/share/uv/tools/basic-memory/lib/python3.13/site-packages/sqlalchemy/sql/schema.py:3624: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
  return util.wrap_callable(lambda ctx: fn(), fn)  # type: ignore
Project 'main' set as default successfully
Project activated for current session

derek@pc:~$ uv tool update basic-memory
Nothing to upgrade

derek@pc:~$ uvx basic-memory mcp
[06/30/25 19:54:27] INFO     Starting MCP server 'Basic Memory' with transport 'stdio'                                                                                                                                             server.py:1307
/home/user/.local/share/uv/tools/basic-memory/lib/python3.13/site-packages/aiosqlite/core.py:105: DeprecationWarning: The default datetime adapter is deprecated as of Python 3.12; see the sqlite3 documentation for suggested replacement recipes
  result = function()

derek@pc:~$ basic-memory sync
Syncing project: main
Project path: /home/user/basic-memory
Project 'main': Everything up to date

Claude Code

╭───────────────────────────────────────────────────╮
│ Basic-memory MCP Server                           │
│                                                   │
│ Status: ✘ failed                                  │
│ Command: uvx                                      │
│ Args: basic-memory mcp                            │
│                                                   │
│ ❯ 1. Back                                         │
╰───────────────────────────────────────────────────╯

Any suggestions on what I can try next ?

Originally posted by @Extarys in https://github.com/basicmachines-co/basic-memory/discussions/196

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions