.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/zircote/subcog
home/mcp-servers/zircote/subcog
zircote avatar

subcog

byzircote· 1 MCP server

Stars

28

Forks

6

Category

Productivity & Workflow

View on GitHub

TL;DR

Persistent memory system for AI coding assistants. Captures decisions, learnings, and context from coding sessions. Features hybrid search (semantic + BM25), MCP server integration, SQLite persistence with knowledge graph, and proactive memory surfacing. Written in Rust.

How to install subcog?

zircote/subcog
$git clone https://github.com/zircote/subcog

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install subcog by running `git clone https://github.com/zircote/subcog`, then use it for the current task and follow its documentation at https://github.com/zircote/subcog.

Files · 1

View on GitHub
README.md
1# Subcog
2 
3[![CI](https://github.com/zircote/subcog/actions/workflows/ci.yml/badge.svg)](https://github.com/zircote/subcog/actions/workflows/ci.yml)
4[![GitHub Release](https://img.shields.io/github/v/release/zircote/subcog?logo=github&logoColor=white)](https://github.com/zircote/subcog/releases)
5[![Crates.io](https://img.shields.io/crates/v/subcog?logo=rust&logoColor=white)](https://crates.io/crates/subcog)
6[![Rust Version](https://img.shields.io/badge/rust-1.88%2B-dea584?logo=rust&logoColor=white)](https://www.rust-lang.org/)
7[![License](https://img.shields.io/badge/license-MIT-green)](LICENSE)
8[![Clippy](https://img.shields.io/badge/linting-clippy-orange?logo=rust&logoColor=white)](https://github.com/rust-lang/rust-clippy)
9[![cargo-deny](https://img.shields.io/badge/security-cargo--deny-blue?logo=rust&logoColor=white)](https://github.com/EmbarkStudios/cargo-deny)
10 
11A persistent memory system for AI coding assistants. Subcog captures decisions, learnings, and context from coding sessions and surfaces them when relevant.
12 
13![Subcog Prompt Library Workflow](docs/_assets/subcog-inforgraphic.png)
14 
15## Overview
16 
17Subcog delivers:
18 
19- **Single-binary distribution** (<100MB, <10ms cold start)
20- **Three-layer storage architecture**: SQLite persistence, FTS5 indexing, usearch HNSW vectors
21- **MCP server integration** for AI agent interoperability
22- **Claude Code plugin** with hooks for seamless IDE integration
23- **Semantic search** with hybrid vector + BM25 ranking (RRF fusion)
24- **Knowledge graph** with entity extraction and relationship inference
25- **Faceted storage** with project, branch, and file path filtering
26 
27## ADR Compliance
28 
29ADR compliance is tracked in [`docs/adrs/README.md`](docs/adrs/README.md). Current compliance is **95% (55/58 active ADRs)** with documented partials in ADR-0003 and ADR-0039.
30 
31## Benchmark Results
32 
33Subcog achieves **97% accuracy on factual recall** (LongMemEval) and **57% on personal context** (LoCoMo), compared to 0% baseline without memory. See [full benchmark results](docs/BENCHMARKS.md).
34 
35| Benchmark | With Subcog | Baseline | Improvement |
36|-----------|-------------|----------|-------------|
37| LongMemEval | 97% | 0% | +97% |
38| LoCoMo | 57% | 0% | +57% |
39| ContextBench | 24% | 0% | +24% |
40| MemoryAgentBench | 28% | 21% | +7% |
41 
42## Features
43 
44### Core (Always Available)
45- Memory capture with **automatic embedding generation** (384-dimensional vectors)
46- **Real semantic search** using all-MiniLM-L6-v2 via fastembed-rs
47- **Hybrid search** combining BM25 text search + vector similarity (RRF fusion)
48- **Normalized scores** (0.0-1.0 range) for intuitive relevance understanding
49- **SQLite persistence** as single source of truth (ACID-compliant)
50- **Faceted storage** with project_id, branch, and file_path fields
51- Multi-domain memories (project, user, organization)
52- 10 memory namespaces (decisions, learnings, patterns, blockers, etc.)
53- **Branch garbage collection** for tombstoning stale branch memories
54- **Migration tools** for upgrading existing memories to use embeddings
55 
56### Enhanced (Opt-in)
57- Entity and temporal extraction
58- Secrets filtering (API keys, PII detection)
59- OpenTelemetry observability
60- Full Claude Code hook integration
61 
62### LLM-Powered (Requires Provider)
63- Implicit capture from conversations
64- Memory consolidation and summarization
65- Supersession detection
66- Temporal reasoning queries
67 
68## Installation
69 
70Multiple installation methods are available. See [INSTALLATION.md](docs/INSTALLATION.md) for detailed instructions.
71 
72```bash
73# Cargo (recommended - Rust developers)
74cargo install subcog
75 
76# Homebrew (macOS/Linux)
77brew install zircote/tap/subcog
78 
79# Docker
80docker run --rm ghcr.io/zircote/subcog --help
81 
82# Binary download
83curl -LO https://github.com/zircote/subcog/releases/latest/download/subcog-VERSION-TARGET.tar.gz
84 
85# npm/npx (fallback if binary install unavailable)
86npx @zircote/subcog --help
87```
88 
89| Method | Platforms | Auto-update |
90|--------|-----------|-------------|
91| Cargo | All | `cargo install` |
92| Homebrew | macOS, Linux | `brew upgrade` |
93| Docker | linux/amd64, linux/arm64 | Pull latest tag |
94| Binary | All | Manual |
95| npm/npx | macOS, Linux, Windows | Via npm |
96 
97## Quick Start
98 
99```bash
100# Capture a memory
101subcog capture --namespace decisions "Use PostgreSQL for primary storage due to ACID requirements"
102 
103# Search memories (semantic search with normalized scores 0.0-1.0)
104subcog recall "database storage decision"
105 
106# Search with raw RRF scores (for debugging)
107subcog recall "database storage decision" --raw
108 
109# Check status
110subcog status
111 
112# Migrate existing memories to use real embeddings
113subcog migrate embeddings
114```
115 
116### Score Normalization
117 
118Search results return normalized scores in the 0.0-1.0 range:
119- **1.0**: Best match in the result set
120- **>=0.7**: Strong semantic match
121- **>=0.5**: Moderate relevance
122- **<0.5**: Weak match
123 
124Use `--raw` flag to see the underlying RRF (Reciprocal Rank Fusion) scores.
125 
126## MCP Server
127 
128Run as an MCP server for AI agent integration:
129 
130``

Preview

zircote/subcogzircote/subcog
Repozircote/subcog
TypeMCP Servers
CategoryProductivity & Workflow
UpdatedJul 2026
LicenseMIT
First seenJul 27, 2026

Tags

MCPaiai-assistant

Related

6 picks
Type
  1. homeassistant-ai avatarha-mcpComprehensive Model Context Protocol server for managing Home Assistant through AI assistants.MCP ServersJul 2026351k4.1k
  2. taylorwilsdon avatargoogle_workspace_mcpGoogle Workspace MCP server for Gmail, Drive, Calendar, Docs, Sheets, Slides, Forms, Tasks, Chat.MCP ServersJul 2026129k2.9k
  3. basicmachines-co avatarbasic-memoryLocal-first knowledge management with bi-directional LLM sync via Markdown files.MCP ServersJul 202644k3.5k
  4. mbailey avatarvoicemodeNatural voice conversations for AI assistants - STT/TTS via MCPMCP ServersJul 202638k1.3k
  5. githejie avatarmcp-server-calculatorA Model Context Protocol server for calculatingMCP ServersMay 202524k153
  6. codefuturist avataremail-mcpIMAP/SMTP email MCP server — 47 tools, IMAP IDLE push, multi-account, AI triage.MCP ServersMay 202622k83