Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Project Memory

Project Memory keeps a project's decisions, evidence, outcomes and reviewed lessons in a local SQLite database. An AI assistant retrieves the relevant records through three MCP tools; people inspect the same history in a self-contained HTML viewer.

Use it when a project repeatedly revisits research, loses the reasons behind decisions, or carries outdated requirements into new work. It preserves the original evidence and the conditions under which a decision or lesson applies.

Public beta. The runtime uses Python 3.11+ and its standard library. There is no model service, vector database, telemetry or background maintenance process. The assistant still interprets evidence and needs explicit agreement before accepting a lesson or changing project requirements. Evidence and limits describe what has actually been measured.

Install and connect

Install uv, then run this inside the project you want to remember:

uvx project-memory-mcp@0.5.0b1 setup --client codex --trust

This creates .memory/project.sqlite, adds a project-local MCP connection and nine command hooks, and asks the installed Codex host for the exact hook hashes to enable. Existing settings and records are preserved. Open a new Codex task afterwards. --trust explicitly enables these project hooks; omit it to review and enable them in Codex yourself.

For a permanent CLI installation:

uv tool install project-memory-mcp==0.5.0b1
project-memory doctor
project-memory view

For another local MCP client, run project-memory setup --client mcp, then configure the client to run project-memory serve --project /absolute/path/to/project. Generic MCP supports explicit records and retrieval; Codex's automatic receipts are a separately verified integration. Setup and lifecycle includes imports, upgrades, backup, uninstall and client configuration.

The same versioned wheel is available from GitHub Releases. The MCPB asset supports directory selection in compatible desktop clients.

The HTML viewer shows synthetic decisions, evidence, corrections and review status.

Use it in ordinary work

Ask your assistant:

Capture VISION.md and our decision log. Show which statements are evidence, proposals and agreed requirements. Preserve the originals. Before choosing an approach, retrieve relevant decisions and check whether their evidence is still current.

Then work normally. The assistant supplies record IDs and versions. You review the meaning, rather than maintain a second set of forms.

  • A decision records its evidence, initial choice, alternatives, uncertainty, expected consequences and conditions for reconsideration.
  • Actions and actual outcomes attach to that decision. Revisions retain the earlier choice and its result.
  • Successful practices, anti-patterns and recoveries can become proposed lessons. A separate review accepts, rejects or retires them, with their scope and exceptions intact.
  • Code reviews, writing corrections and research remain separate subjects. A dependency across subjects must name the evidence and explain why it matters.
  • Selected Markdown files are captured verbatim. Changed, missing and superseded evidence is flagged. Importing a vision does not approve its proposals.
  • Approved project requirements can evolve through append-only revisions. Earlier decisions retain the version they used and become reviewable when the agreed basis changes.

Run project-memory view for decisions, documents, corrections, patterns, drift, captures and unresolved work. It creates a fresh, offline HTML snapshot with evidence navigation. Source bodies are excluded unless you add --include-bodies.

What is automatic

Codex hooks mechanically record session and tool events, sizes, hashes and available execution metadata. They do not turn a failed command into a lesson or assume that an interrupted command rolled back. The assistant records interpretation separately and checks side effects before retrying uncertain work.

Retrieval returns bounded, complete records and preserves exceptions. Search indexes and explicit source slices support expansion when needed. The default MCP reply limit is 6,000 characters, with an explicit maximum of 20,000; these are characters in the tool result, not complete model-input tokens. Keeping every model input below 10K tokens remains a target, subordinate to quality and feature preservation.

Develop and verify

python -m unittest discover -s tests -q
python -m examples.document_case --output results/documents
python -m examples.host_example --output results/host-example
node tests/viewer_logic.cjs
uv build
python scripts/check_artifacts.py dist
python scripts/installed_smoke.py dist

The public artifacts contain code, documentation and synthetic examples. They exclude project databases, host transcripts, private evaluation archives and local configuration. Contributing, security, record fields, release process.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

project_memory_mcp-0.5.0b1.tar.gz (209.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

project_memory_mcp-0.5.0b1-py3-none-any.whl (58.1 kB view details)

Uploaded Python 3

File details

Details for the file project_memory_mcp-0.5.0b1.tar.gz.

File metadata

  • Download URL: project_memory_mcp-0.5.0b1.tar.gz
  • Upload date:
  • Size: 209.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for project_memory_mcp-0.5.0b1.tar.gz
Algorithm Hash digest
SHA256 d7b4b5e63399c5281940559634a732d2e718f56910108d879de0e78309178e04
MD5 d07b7d213ab15bad3eae965b572da679
BLAKE2b-256 60e42050d4fb1714b5d604fb7512719e1f36bc37b8525de6c216a445867ff68b

See more details on using hashes here.

Provenance

The following attestation bundles were made for project_memory_mcp-0.5.0b1.tar.gz:

Publisher: release.yml on Dankaro-projects/project-memory

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file project_memory_mcp-0.5.0b1-py3-none-any.whl.

File metadata

File hashes

Hashes for project_memory_mcp-0.5.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 1ff9314c280b5d0d6249dea2abfa9e330373d221a00e6c18d4c744e89f0e254e
MD5 0a04e072c3e08e61ac8bab85a8a4acb5
BLAKE2b-256 9b1ea83d76a08c933a8fd19db4d52a8910a365258289201aa16699cf8f1700d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for project_memory_mcp-0.5.0b1-py3-none-any.whl:

Publisher: release.yml on Dankaro-projects/project-memory

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.5.0b1 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page