MCP server wrapping pgmnemo ingest and recall for AI agent memory
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"pgmnemo-mcp","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# pgmnemo-mcp **MCP server for pgmnemo — provenance-gated agent memory in PostgreSQL.** [](https://pypi.org/project/pgmnemo-mcp/) [](https://github.com/pgmnemo/pgmnemo/blob/main/LICENSE) [](https://pypi.org/project/pgmnemo-mcp/) `pgmnemo-mcp` is an [MCP](https://modelcontextprotocol.io/) server that exposes [pgmnemo](https://github.com/pgmnemo/pgmnemo)'s ingest and recall capabilities as tool calls for AI agents and LLM hosts (Claude Desktop, Cursor, Zed, etc.). ## Requirements - Python ≥ 3.11 - A PostgreSQL database with `pgmnemo` extension installed (`CREATE EXTENSION pgmnemo CASCADE;`) - pgmnemo ≥ 0.5.0 ([install guide](https://github.com/pgmnemo/pgmnemo/blob/main/INSTALL.md)) ## Install ```bash pip install pgmnemo-mcp ``` ## Quick start ```bash # Set the database URL export DATABASE_URL="postgresql://user:pass@localhost/mydb" # Start the MCP server (stdio transport) pgmnemo-mcp ``` Add to **Claude Desktop** (`~/Library/Application Support/Claude/claude_desktop_config.json`): ```json { "mcpServers": { "pgmnemo": { "command": "pgmnemo-mcp", "env": { "DATABASE_URL": "postgresql://user:pass@localhost/mydb" } } } } ``` ## Configuration | Variable | Default | Description | |----------|---------|-------------| | `DATABASE_URL` | `postgresql://localhost/pgmnemo` | libpq connection string | | `MCP_PORT` | `8765` | Port for HTTP/SSE transport (optional) | ## Tools exposed | Tool | Arguments (all top-level) | Description | |------|-----------|-------------| | `pgmnemo.ingest` | `text` (req), `role`, `topic`, `importance`, `project_id`, `commit_sha`, `artifact_hash`, `metadata` | Store a lesson | | `pgmnemo.recall` | `query` (req), `top_k` | Retrieve relevant lessons | `ingest` arguments are **top-level** — do not nest them under `m…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.