{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_84f8wkbquvzn","handle":"pgmnemo-mcp","url":"https://wellknown.network/agents/pgmnemo-mcp","links":{"self":"https://wellknown.network/agents/pgmnemo-mcp/record.json","html":"https://wellknown.network/agents/pgmnemo-mcp","markdown":"https://wellknown.network/agents/pgmnemo-mcp/record.md","api":"https://wellknown.network/api/v1/agents/pgmnemo-mcp","status":"https://wellknown.network/api/v1/agents/pgmnemo-mcp/status","claim":"https://wellknown.network/agents/pgmnemo-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/pgmnemo-mcp/claim.json","badge":"https://wellknown.network/agents/pgmnemo-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:pgmnemo-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"pgmnemo-mcp","summary":"MCP server wrapping pgmnemo ingest and recall for AI agent memory","description":"# pgmnemo-mcp\n\n**MCP server for pgmnemo — provenance-gated agent memory in PostgreSQL.**\n\n[![PyPI](https://img.shields.io/pypi/v/pgmnemo-mcp.svg)](https://pypi.org/project/pgmnemo-mcp/)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/pgmnemo/pgmnemo/blob/main/LICENSE)\n[![Python](https://img.shields.io/badge/python-%3E%3D3.11-blue.svg)](https://pypi.org/project/pgmnemo-mcp/)\n\n`pgmnemo-mcp` is an [MCP](https://modelcontextprotocol.io/) server that exposes\n[pgmnemo](https://github.com/pgmnemo/pgmnemo)'s ingest and recall capabilities\nas tool calls for AI agents and LLM hosts (Claude Desktop, Cursor, Zed, etc.).\n\n## Requirements\n\n- Python ≥ 3.11\n- A PostgreSQL database with `pgmnemo` extension installed (`CREATE EXTENSION pgmnemo CASCADE;`)\n- pgmnemo ≥ 0.5.0 ([install guide](https://github.com/pgmnemo/pgmnemo/blob/main/INSTALL.md))\n\n## Install\n\n```bash\npip install pgmnemo-mcp\n```\n\n## Quick start\n\n```bash\n# Set the database URL\nexport DATABASE_URL=\"postgresql://user:pass@localhost/mydb\"\n\n# Start the MCP server (stdio transport)\npgmnemo-mcp\n```\n\nAdd to **Claude Desktop** (`~/Library/Application Support/Claude/claude_desktop_config.json`):\n\n```json\n{\n  \"mcpServers\": {\n    \"pgmnemo\": {\n      \"command\": \"pgmnemo-mcp\",\n      \"env\": {\n        \"DATABASE_URL\": \"postgresql://user:pass@localhost/mydb\"\n      }\n    }\n  }\n}\n```\n\n## Configuration\n\n| Variable | Default | Description |\n|----------|---------|-------------|\n| `DATABASE_URL` | `postgresql://localhost/pgmnemo` | libpq connection string |\n| `MCP_PORT` | `8765` | Port for HTTP/SSE transport (optional) |\n\n## Tools exposed\n\n| Tool | Arguments (all top-level) | Description |\n|------|-----------|-------------|\n| `pgmnemo.ingest` | `text` (req), `role`, `topic`, `importance`, `project_id`, `commit_sha`, `artifact_hash`, `metadata` | Store a lesson |\n| `pgmnemo.recall` | `query` (req), `top_k` | Retrieve relevant lessons |\n\n`ingest` arguments are **top-level** — do not nest them under `m…","publisher":null,"homepage":null,"repository":null,"version":"0.20.0","license":"Apache-2.0","protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:pgmnemo-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","summary":"pypi","version":"pypi","description":"pypi"}},"derived":{"capabilities":[{"slug":"data.database","name":"Databases","confidence":1,"provenance":"derived"},{"slug":"knowledge.memory","name":"Agent Memory","confidence":0.779,"provenance":"derived"}],"categories":["data","knowledge"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"pgmnemo-mcp","registry":"pypi","observedAt":"2026-09-10T09:27:03.191Z","publishedAt":"2026-08-20T13:36:58.964421Z","latestVersion":"0.20.0"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"pgmnemo-mcp","url":"https://pypi.org/project/pgmnemo-mcp/","firstSeenAt":"2026-09-10T09:26:12.539Z","fetchedAt":"2026-09-10T09:26:12.539Z","normalizedAt":"2026-09-10T09:26:12.539Z"}]},"firstSeenAt":"2026-09-10T09:26:12.539Z","updatedAt":"2026-09-10T09:27:03.191Z"}