Sigil logo

Sigil

by @anmol-srv

Shared, local-first agent memory backed by your Postgres, available through a CLI and nine-tool MCP server.

Install Sigil

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "anmol-srv-sigil": {
      "command": "npx",
      "args": [
        "-y",
        "@anmol-srv/sigil"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio anmol-srv-sigil -- npx -y @anmol-srv/sigil

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y @anmol-srv/sigil

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

@anmol-srv/sigil provides shared memory for coding agents through a local CLI and a nine-tool MCP server backed by your Postgres database. It organizes memory into pods such as sessions, projects, people, playbooks, and vitals, with retrieval using vector, text, and reciprocal-rank fusion search. Claude Code can use hooks for session recall and capture, while other agents connect through MCP or shell commands. Reach for it when multiple agents or machines need access to the same searchable project context without sending data to a hosted memory service.

Use cases

  • Share project decisions across Claude Code, Cursor, and Codex
  • Search and save coding-agent memory from shell scripts or CI runners
  • Retrieve relevant context automatically at the start of Claude Code sessions
  • Point multiple machines at one Postgres-backed memory store

Key features

  • Postgres-backed shared memory
  • CLI and nine-tool MCP interfaces
  • Pod-based memory organization
  • Hybrid vector and full-text retrieval
  • Agent hooks and connection diagnostics
  • Fact provenance, decay, and supersession

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 17h ago via OSV.dev · @anmol-srv/sigil (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars10Stargazers on the source repository.
npm downloads590Package downloads in the last 30 days.
Last commit16d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.

How Sigil works

What @anmol-srv/sigil does

@anmol-srv/sigil gives coding agents a shared memory layer stored in a Postgres database you control. The same memory can be used by Claude Code, Codex CLI, Cursor, Hermes, Kiro, Continue, Cline, Windsurf, Claude Desktop, and other agents that support MCP or can execute shell commands.

Memory is organized into typed pods. Built-in pod kinds include claude_session, project, person, playbook, and vital. Pods define retrieval behavior, identity, decay, and hot-context limits. New pod kinds can be added through contract files without schema migrations.

How it works

Sigil offers two interfaces. The sigil command is useful for agents with terminal access and supports operations such as searching memory, saving a fact, listing recent facts, and explaining a search. MCP-capable clients can instead use the same memory through a nine-tool MCP server. The sigil register --print command generates MCP client configuration.

Claude Code can be connected with hooks that warm up memory at session start, retrieve context for prompts, save durable information after turns, and finalize sessions. Other supported agents use their native hooks, plugins, MCP configuration, or generated instruction files where applicable. sigil init detects coding agents on the machine, and sigil agents reports whether connections are working, available, unused, or need repair.

Retrieval combines pgvector embeddings, PostgreSQL full-text search with tsvector BM25 behavior, and reciprocal-rank fusion. The storage model includes raw document chunks, atomic facts with confidence and temporal validity, and an entity graph. Facts can decay, be superseded, and receive importance weighting. Multiple installations can point to one Postgres instance for shared access across machines.

Setup and configuration

Install with npm, the shell installer, or npx:

Terminal
npm i -g @anmol-srv/sigil
sigil
Terminal
curl -fsSL https://raw.githubusercontent.com/Anmol-Srv/sigil/master/install.sh | sh

The installer places Sigil in ~/.sigil and starts setup in a browser or terminal. Node.js 20+ and Git are required. After installation, run sigil init to detect and connect agents. Configuration is handled through the dashboard, and sigil connect can repair missing agent connections. Update with sigil update or the npm @latest tag.

Tools and capabilities

  • Search stored memory with sigil search "...".
  • Save durable facts with sigil remember "...".
  • List recent facts using sigil facts --limit=20.
  • Inspect search reasoning with sigil why "...".
  • Expose the same memory through nine MCP tools.
  • Share one Postgres-backed memory across agents and machines.
  • Track source, confidence, importance, and temporal validity for facts.
  • Connect agents through hooks, plugins, MCP configuration, and generated instructions.

Limitations and notes

Sigil requires Node.js 20+, Git, and a Postgres database. Agents need either shell execution or MCP support to use the system. Codex requires approving its new hook once through /hooks. Agent configuration changes are limited to Sigil’s own entries, and the first edit to each configuration file creates a .sigil.bak backup. Built-in agent memory files can still be retained for fixed project rules; Sigil is intended for searchable shared context.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Sigil

@anmol-srv/sigil is an MCP server that connects coding agents to shared memory stored in your own Postgres database. Its main interfaces are a nine-tool MCP server and the `sigil` CLI, which can search memory, save facts, list recent facts, and explain search results across supported agents.

Install it with `npm i -g @anmol-srv/sigil && sigil`, the shell installer, or `npx @anmol-srv/sigil`. Setup then starts in a browser or terminal. Node.js 20+ and Git are required, and `sigil init` connects detected agents.

Yes, Cursor is supported through Sigil’s MCP configuration and hooks. Run setup and connection commands to register the agent; Cursor can then use the shared memory through MCP search and write tools.

Yes, multiple Sigil installations can use the same Postgres database. This lets facts captured by an agent on one machine become available to agents connected to that database elsewhere, without a separate synchronization protocol.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSigil AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/anmol-srv-sigil?style=directory)](https://allmcps.com/mcp/anmol-srv-sigil)
HTML Embed
<a href="https://allmcps.com/mcp/anmol-srv-sigil"><img src="https://allmcps.com/api/badge/anmol-srv-sigil?style=directory" alt="Sigil on AllMCPs" /></a>