# @anmol-srv/sigil [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/Anmol-Srv/sigil  
**GitHub Stars:** 10  
**npm Downloads (last month):** 590  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/anmol-srv-sigil

## Description
Local-first memory infrastructure for AI coding agents. One brain shared across Claude Code, Codex CLI, Cursor, Kiro, Continue, Cline, Windsurf, or any MCP client. Organized in pluggable pods, stored in your own Postgres. No cloud, no telemetry. Auto-capt

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "sigil": {
    "command": "npx",
    "args": ["-y","@anmol-srv/sigil"]
  }
}
```

## Documentation

## 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`:

```bash
npm i -g @anmol-srv/sigil
sigil
```

```bash
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.

_Full upstream README: https://allmcps.com/mcp/anmol-srv-sigil/readme_

