# poppy

poppy keeps decisions, preferences, and lessons in a local store, then retrieves relevant memories for an AI coding agent. Use it to carry project context across sessions.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 2 repo stars
- Author: trags-garden
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/trags-garden/poppy
- Updated: 2026-10-25
- Security check: automated, 2026-11-16 (text) — warning: a command downloads a script from trags.ai and runs it right away. Do not run such commands without an explicit yes from the human.
- HTML: https://affpapa.org/en/nevibecode/mcp/poppy

## What it does

poppy saves facts, decisions, preferences, and lessons in a local SQLite store. An agent can add memories, search for relevant ones, and remove or consolidate them through MCP. The same actions are available from the `poppy remember` and `poppy recall` CLI commands.

For Claude Code, add the server with the command in the FAQ and restart the agent. It runs through `uvx poppy-memory`; you can install the package with `pipx install poppy-memory`. Hooks call `poppy` by name, so they fail if the agent cannot find that command on its `PATH`. Claude Code also has memory-capture hooks, while automatic capture needs one-time consent.

## Requirements
- Needs: Python and uv (commands run via uvx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add poppy -- uvx poppy-memory
```
uvx runs the command named after the package; if the README names another one, use uvx --from poppy-memory <command>

### Codex

**Platform CLI**
```bash
codex mcp add poppy -- uvx poppy-memory
```
uvx runs the command named after the package; if the README names another one, use uvx --from poppy-memory <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "poppy": {
            "command": "uvx",
            "args": [
                "poppy-memory"
            ]
        }
    }
}
```
uvx runs the command named after the package; if the README names another one, use uvx --from poppy-memory <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "poppy": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "poppy-memory"
            ]
        }
    }
}
```
uvx runs the command named after the package; if the README names another one, use uvx --from poppy-memory <command>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add poppy uvx poppy-memory
```
uvx runs the command named after the package; if the README names another one, use uvx --from poppy-memory <command>

## When to use it
- save a project decision for later sessions
- retrieve a preference from a natural-language query
- bring earlier project context into an agent session
- remove or consolidate stored memories

## Example prompts
- Remember that we use `uv` for Python dependencies.
- Recall which package manager I chose for Python.
- Remove the outdated memory about the project setup.

## Similar
- [Context7](https://affpapa.org/en/nevibecode/mcp/context7.md) — MCP server · 5563 installs
- [Search Google Flights](https://affpapa.org/en/nevibecode/mcp/search-google-flights.md) — MCP server · 2595 installs
- [Math-MCP](https://affpapa.org/en/nevibecode/mcp/math-mcp.md) — MCP server · 5958 installs
- [pipeworx gateway](https://affpapa.org/en/nevibecode/mcp/pipeworx-gateway.md) — MCP server · 419019 installs
- [SparkForge](https://affpapa.org/en/nevibecode/mcp/sparkforge.md) — MCP server · 219896 installs
- [OpenWebSearch](https://affpapa.org/en/nevibecode/mcp/openwebsearch.md) — MCP server · 494 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
