Skip to main content

Local MCP memory server with hybrid search, knowledge graph, and RAG

Project description

Rememble

Local-first memory server with hybrid search, knowledge graph, and RAG context assembly.

SQLite + sqlite-vec + FTS5 backend. Works with any MCP client.

Features

  • Hybrid search: BM25 + vector KNN + temporal scoring (RRF fusion)
  • Knowledge graph: entities, observations, relations
  • Token-budgeted RAG context assembly
  • Multiple embedding providers: Ollama, local (sentence-transformers), OpenAI-compat

Install

uv tool install rememble

Upgrade:

uv tool upgrade rememble

MCP Client Setup

Claude Code / Claude Desktop

{
  "mcpServers": {
    "rememble": {
      "command": "rememble"
    }
  }
}

Configuration

Config file: ~/.rememble/config.json (auto-created on first run).

All fields can be overridden via env vars with REMEMBLE_ prefix and __ as nested delimiter.

Env var Default Description
REMEMBLE_DB_PATH ~/.rememble/memory.db SQLite database path
REMEMBLE_EMBEDDING__PROVIDER ollama ollama | local | compat
REMEMBLE_EMBEDDING__MODEL nomic-embed-text Model name for active provider
REMEMBLE_EMBEDDING__DIMENSIONS 768 Embedding dimensions
REMEMBLE_EMBEDDING__OLLAMA_URL http://localhost:11434 Ollama base URL
REMEMBLE_EMBEDDING__API_TYPE openrouter Label for compat provider (logging only)
REMEMBLE_EMBEDDING__API_ENDPOINT https://openrouter.ai/api/v1 OpenAI-compat base URL
REMEMBLE_EMBEDDING__API_KEY API key (or set OPENROUTER_API_KEY / OPENAI_API_KEY)

Embedding Providers

Ollama (default)

{ "embedding": { "provider": "ollama", "model": "nomic-embed-text", "dimensions": 768 } }

Local (sentence-transformers, no network)

uv sync --extra local
{ "embedding": { "provider": "local" } }

OpenAI-compat (OpenRouter, OpenAI, Cohere compat, etc.)

OpenRouter:

{
  "embedding": {
    "provider": "compat",
    "api_type": "openrouter",
    "api_endpoint": "https://openrouter.ai/api/v1",
    "model": "openai/text-embedding-3-small",
    "dimensions": 1536
  }
}

Cohere via OpenAI compat API:

{
  "embedding": {
    "provider": "compat",
    "api_type": "cohere",
    "api_endpoint": "https://api.cohere.com/compatibility/v1",
    "model": "embed-english-light-v3.0",
    "dimensions": 384
  }
}

Set REMEMBLE_EMBEDDING__API_KEY or OPENROUTER_API_KEY / OPENAI_API_KEY env var.

Development

make dev      # install deps
make test     # run tests
make check    # fmt + lint + test

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rememble-0.1.3.tar.gz (166.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rememble-0.1.3-py3-none-any.whl (29.7 kB view details)

Uploaded Python 3

File details

Details for the file rememble-0.1.3.tar.gz.

File metadata

  • Download URL: rememble-0.1.3.tar.gz
  • Upload date:
  • Size: 166.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for rememble-0.1.3.tar.gz
Algorithm Hash digest
SHA256 6e43f0a93289a53a4174d6bd8e2407f4b24048e5f519d3851b466903bbfb4688
MD5 dfdcea6e1931072b6f4bdca886d26aee
BLAKE2b-256 15da319202eefff207ce39e084c91013a6480ace5da9f0ff5f4b2ac1e17f417c

See more details on using hashes here.

File details

Details for the file rememble-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: rememble-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 29.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for rememble-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cffe17b7e4a67ed4292db0d8f9d7e7b7d5bcfe9aa01cad1bd94ae787508d4c2d
MD5 7199382436cd257be6156b8a892ba3af
BLAKE2b-256 1139c470e24e2c80dca1b9975e774c436379a662a00306c4f92c79adf2e55ccd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page