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 sync

MCP Client Setup

Claude Code / Claude Desktop

{
  "mcpServers": {
    "rememble": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/Rememble", "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.1.tar.gz (158.7 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.1-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rememble-0.1.1.tar.gz
  • Upload date:
  • Size: 158.7 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.1.tar.gz
Algorithm Hash digest
SHA256 189dbd39d1df0321a1cf9d8902e6bcd9f3d62197faadacb29c15fdf2e1014da5
MD5 20aa249e67822f3de30f0460f74be5c0
BLAKE2b-256 f6bc7aca8aa4a1fdb78d114e52f3281e138afddabfd04d6f4ff6988c2143b850

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rememble-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 24.1 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 814da9ec72e697b9d543ac26156043c9012b4fd9e6a6f5e0eb90cf9b6dc51a65
MD5 1ad3c2b1fb45c8e8509482fc20e10032
BLAKE2b-256 7f44b602a0f8b66b9b31eb9fdb23de4f4d7b6ad26d09f16bbf2199bc7ff5fb2f

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