Skip to main content

MCP server for Sibyl Memory Plugin — wraps the local SQLite + FTS5 memory engine and exposes it to MCP-compatible agents (Claude Code, Codex, Cursor, Continue, anything that speaks MCP).

Project description

sibyl-memory-mcp

MCP server for Sibyl Memory Plugin. Exposes the local SQLite + FTS5 memory engine to any MCP-compatible agent: Claude Code, Codex CLI, Cursor, Continue, anything that speaks Model Context Protocol.

Install

pip install sibyl-memory-mcp

You also need an activated Sibyl Memory account. If you haven't already:

sibyl init

This creates ~/.sibyl-memory/credentials.json (server-issued, HMAC-signed) and a local SQLite database at ~/.sibyl-memory/memory.db. The MCP server reads both automatically.

Add to Claude Code

Edit ~/.claude/settings.json (global) or .mcp.json (project-local):

{
  "mcpServers": {
    "sibyl-memory": {
      "command": "sibyl-memory-mcp"
    }
  }
}

Restart Claude Code. The 8 memory tools (prefixed memory_*) become available immediately.

Add to Codex CLI

Edit ~/.codex/config.toml:

[[mcp_servers]]
name = "sibyl-memory"
command = "sibyl-memory-mcp"

Restart Codex.

Tools exposed

Tool What it does
memory_remember Store an entity by (category, name)
memory_recall Read an entity by exact key
memory_search FTS5 search across all entities
memory_list List entities in a category
memory_forget Archive an entity (recoverable)
memory_set_state Write a HOT-tier state doc
memory_get_state Read a HOT-tier state doc
memory_record_event Append a COLD-tier journal event

Full docs at docs.sibyllabs.org/memory/integrations.

Environment overrides

Var Default What it overrides
SIBYL_MEMORY_DB ~/.sibyl-memory/memory.db Local SQLite path
SIBYL_CREDENTIALS ~/.sibyl-memory/credentials.json Credentials file path

Tier behavior

  • Free tier: 8 tools work. Hard-capped at 2 MB of local storage. Writes that would push past the cap return CAP_EXCEEDED with an upgrade_url. Self-learning and memory-check-up tools are not exposed on free tier.
  • Paid tiers (Sync / Stake / Lifetime / Enterprise): cap removed. All tools enabled.

The cap-gate runs against the server-authoritative tier (verified via HMAC-signed credentials) — the MCP server can't bypass it by editing the local file.

License

MIT — same as the rest of the sibyl-memory-* family.

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

sibyl_memory_mcp-0.1.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

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

sibyl_memory_mcp-0.1.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file sibyl_memory_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: sibyl_memory_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for sibyl_memory_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 902fd2b22c3a2cbb13e62be3fe9bb2596411331ceaed4a3ab09c9711e2bc4be6
MD5 54a8e7cabda7c741bb49ffef5e9e9515
BLAKE2b-256 bf06357c3f481b02344420d8f9a395f27011a5477f7a3f9c52247175997394aa

See more details on using hashes here.

File details

Details for the file sibyl_memory_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sibyl_memory_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dfb0646a4b74316a9318eb3ab9b819c726430a9118fac161eb4ca6e348cfdb13
MD5 0f4922fc8e00faaa2e49e7fbdfe7ceb0
BLAKE2b-256 e6d1e8493a031fef5b1dacbd92fc61c408da6f7e29989d7a345bf4638a100a92

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