Koskamo

sqlite-graph-memory MCP

An MCP server providing persistent, associative memory for AI coding agents like Claude Code, Cursor, and Codex. It indexes markdown notes and Obsidian vaults using vector search combined with a graph structure derived from wikilinks, storing all data in a single SQLite file without external dependencies or ETL processes.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

sqlite-graph-memory MCP logo, by tonydziCommunity listingLocal stdioSource reviewed; not executedPublished by tonydzi
Vendor documentation

What you can do with it

  • Provide long-term memory for coding agents across sessions
  • Perform associative recall over markdown notes using wikilinks
  • Index Obsidian vaults for agent retrieval
  • Enable vector search with graph hops for context discovery

Source and maintenance

Community listingRegistry 0.3.3
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

sqlite-graph-memory 0.3.3

pypiuvx
sqlite-graph-memory package definition
{
  "version": "0.3.3",
  "transport": "stdio",
  "identifier": "sqlite-graph-memory",
  "runtimeHint": "uvx",
  "registryType": "pypi",
  "registryBaseUrl": "https://pypi.org",
  "runtimeArguments": [
    {
      "name": "--with",
      "type": "named",
      "value": "sqlite-graph-memory[embeddings]==0.3.3",
      "description": "Recall needs the embedding and reranker models; the base package leaves them out to stay small."
    }
  ],
  "environmentVariables": [
    {
      "name": "BRAIN_INDEX_DIR",
      "format": "filepath",
      "isRequired": true,
      "description": "Directory holding the index. Build it once with `sgm-index /path/to/notes`."
    },
    {
      "name": "TURNSTATE_DB",
      "format": "filepath",
      "default": "./turnstate.db",
      "description": "SQLite file for recall telemetry."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "sqlite-graph-memory-mcp": {
      "command": "uvx",
      "args": [
        "sqlite-graph-memory==0.3.3"
      ],
      "env": {
        "BRAIN_INDEX_DIR": "<YOUR_BRAIN_INDEX_DIR>",
        "TURNSTATE_DB": "<YOUR_TURNSTATE_DB>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "sqlite-graph-memory-mcp": {
      "command": "uvx",
      "args": [
        "sqlite-graph-memory==0.3.3"
      ],
      "env": {
        "BRAIN_INDEX_DIR": "<YOUR_BRAIN_INDEX_DIR>",
        "TURNSTATE_DB": "<YOUR_TURNSTATE_DB>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "sqlite-graph-memory-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "sqlite-graph-memory==0.3.3"
      ],
      "env": {
        "BRAIN_INDEX_DIR": "<YOUR_BRAIN_INDEX_DIR>",
        "TURNSTATE_DB": "<YOUR_TURNSTATE_DB>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "sqlite-graph-memory-mcp": {
      "command": "uvx",
      "args": [
        "sqlite-graph-memory==0.3.3"
      ],
      "env": {
        "BRAIN_INDEX_DIR": "<YOUR_BRAIN_INDEX_DIR>",
        "TURNSTATE_DB": "<YOUR_TURNSTATE_DB>"
      }
    }
  }
}

Let your agent find its tools

Find servers like sqlite-graph-memory MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.