# poppy [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/trags-garden/poppy  
**GitHub Stars:** 2  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/poppy

## Description
Developer memory CLI and MCP server. Remember decisions, preferences, and lessons locally.

## Tools
Capabilities this server exposes over MCP:

- **remember** — Store a memory. Use for facts, decisions, preferences, or lessons learned during coding.

        Args:
            content: The memory to store
            memory_type: One of: fact, decision, preference, lesson, summary, context
            project: Project name (optional, for scoping)
            related_to: IDs of related memories (optional)
            ttl: Expire after duration (e.g. "30d", "12h", "1w3d") for time-sensitive facts
            expires_at: ISO-8601 datetime to expire at (mutually exclusive with ttl)
            supersedes: ID of a memory this one replaces; the old memory is tombstoned (restorable for 7 days)
            check_conflicts: Dry-run LLM conflict detection only; returns candidates, writes nothing
            auto_supersede: If a high-confidence conflict (>=0.85) is found, supersede that memory
        
- **edit** — Edit a memory in place. Preserves id, created_at, and source. Bumps updated_at.

        Pass only the fields you want to change. clear_project / clear_expiry explicitly null those fields.

        Args:
            id: Memory ID to edit
            content: New content (optional)
            memory_type: New type: fact, decision, preference, lesson, summary, context (optional)
            project: New project name (optional)
            clear_project: Set project to null
            ttl: Reset expiry to a duration (e.g. "30d")
            expires_at: Reset expiry to an ISO-8601 datetime
            clear_expiry: Remove expiry: make memory permanent
        
- **recall** — Search memories by natural language query.

        Args:
            query: What to search for
            project: Scope to a specific project (optional)
            memory_type: Filter by type: fact, decision, preference, lesson (optional)
            since: Only memories created at or after this point: ISO date (2026-06-01) or duration (7d, 1w3d)
            limit: Max results (default 10)
        
- **recall_index** — Cheap first pass: returns IDs and snippets only. Use recall_full to fetch full content for relevant IDs.

        Args:
            query: What to search for
            project: Scope to a specific project (optional)
            memory_type: Filter by type (optional)
            limit: Max results (default 20)
        
- **recall_full** — Fetch full content for a batch of memory IDs returned by recall_index. Always batch.

        Args:
            ids: Memory IDs from a prior recall_index call
        
- **forget** — Delete a memory by ID.

        Args:
            id: The memory ID to delete
        
- **consolidate** — Store learnings from a coding session. Call at session end to persist what you learned.

        Args:
            session_summary: Brief summary of what was done in the session (stored as a 'summary' memory)
            facts: List of facts, decisions, preferences, or lessons learned
            project: Project name (optional, for scoping)
        
- **context** — Get the top-N most recent memories for a project. Useful for session-start priming.

        Args:
            project: Scope to a specific project (optional)
            limit: Max memories to return (default 20)
        

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

```json
"mcpServers": {
  "poppy": {
    "command": "uvx",
    "args": ["poppy-memory","serve"]
  }
}
```

## Documentation

## What poppy does

poppy gives coding agents a persistent memory store for decisions, preferences, facts, and lessons. Memories remain on the local machine in SQLite rather than being sent to a hosted service. The CLI can also be used directly to remember and recall information, while the MCP server lets compatible agents call the same memory functions during their work.

Memories can be associated with projects and memory types, assigned expiration information, or linked to related memories. New entries can optionally be checked for conflicts and configured to supersede older entries. At the end of a session, `consolidate` stores a summary together with a set of facts for later retrieval.

## How it works

The main retrieval path accepts a natural-language query and returns complete matching memories. For workflows that need to control context size, `recall_index` first returns memory IDs and snippets; `recall_full` then retrieves the full text for a batch of selected IDs. `context` provides the most recent memories for a project, which is useful for priming a new session.

Local hybrid search and reranking form the default retrieval pipeline. If the machine lacks the required ML dependencies or models, poppy falls back to keyword-only search. Claude Code, Cursor, and Codex can also use hooks to surface relevant memories and capture new ones. Zero-touch capture can extract durable memories from sessions locally after consent, using the coding-agent CLI already installed on the machine.

## Setup and configuration

Install the `poppy-memory` package with pipx or uv; both install the `poppy` command. The package requires Python 3.11 or newer when Python is supplied by the installation method. A one-line installer is also available and can use pipx, uv, or its own virtual environment.

After installation, verify that `poppy` is on the shell PATH with `command -v poppy`. Then run `poppy setup <client>` for the agent you want to configure and restart that agent. Restarting matters because clients load MCP servers and hooks when they start. `poppy doctor` checks the local engine, storage, MCP configuration, hooks, and installed integrations.

Setup supports Claude Code, Cursor, and Codex with MCP plus capture hooks. Claude Desktop, VS Code, Windsurf, Gemini CLI, GitHub Copilot CLI, Pi, and Goose use the MCP server; Hermes Agent uses a memory-provider plugin that calls the CLI. Claude Code can alternatively install the Poppy plugin, but the plugin and regular Claude Code setup should not be used together.

## Tools and capabilities

- `remember` stores a memory with optional type, project, expiration, relationships, conflict checking, and supersession.
- `recall` searches memories by natural-language query and can filter by project, type, or date.
- `recall_index` and `recall_full` provide a two-step search and retrieval flow.
- `forget` removes a memory by ID, while `edit` changes selected fields without changing the ID, creation time, or source.
- `context` returns recent memories for a project, and `consolidate` records a session summary plus facts.

## Limitations and notes

Storage is local, so memories are tied to the machine where poppy runs. Agent integrations depend on the client-specific setup and on the agent being restarted afterward. Hooks invoke the `poppy` command by name; if the agent cannot see the installation directory on its PATH, those hooks fail until the PATH is corrected and the agent is restarted. Removing the CLI before removing integrations can leave hooks that continue trying to invoke `poppy`.

_Full upstream README: https://allmcps.com/mcp/poppy/readme_

