Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

memwright

MCP server by bolnet Community

Gives multi-agent AI systems self-hosted memory with role-based access, provenance, tenant isolation and auditable deletion. Built for teams that must show who wrote, read or forgot a memory. Runs as a Python library, REST sidecar or MCP server.

  • Score 59
  • 14 stars
  • MIT
  • Updated

Install memwright

Built from the published package, never by AI.

claude mcp add memwright -- uvx memwright

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install memwright in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the memwright block.

About

The listing name is memwright, but the source repository describes itself as Attestor, a self-hosted memory service for AI agents. It enforces roles through an AgentContext, records provenance on every memory, and sets per-agent token budgets and write quotas. Each memory is stored in Postgres and derived into Pinecone for vectors and Neo4j for graph search. Recall uses a deterministic ranking path with no LLM in scoring by default, and it can replay state as of a past time.

Forget-user and retention actions are audited, and governance jobs can run as durable Temporal workflows through an opt-in extra. The service runs as a Python library, a REST sidecar, or an MCP server with the same API. The source says it is for multi-agent products where agents with different trust levels share one memory, and for regulated systems that need point-in-time reconstruction. It is not meant as a personal memory for a single coding assistant.

Written from the project's README and checked against it.

What you need

  • Python, installable with pip
  • Docker, for the local stack
  • Ollama serving bge-m3, for the quickstart embedder
  • Postgres, Pinecone and Neo4j, for the full stack
SettingNeededWhat it is
PG_CONNECTION_STRINGEnvironment variableOptionalPostgreSQL connection string for pgvector (default: postgresql://memwright:memwright@localhost:5432/memwright)
NEO4J_PASSWORDEnvironment variable, secretOptionalNeo4j database password (default: memwright)
OPENROUTER_API_KEYEnvironment variable, secretOptionalOpenRouter API key for embeddings (required for semantic search)
OPENAI_API_KEYEnvironment variable, secretOptionalOpenAI API key for embeddings (alternative to OpenRouter)

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Recall what the team believed about the release plan last Friday
  • Show which agent wrote this memory and when
  • Forget all stored memories for this user and report the counts

Good to know

  • Role enforcement runs in process inside the AgentContext; REST and MCP surfaces rely on their own auth
  • The Pinecone lane ignores as_of and logs a warning
  • Forget-user and retention actions are audited, but compact() is not audited
  • Not designed as a personal memory for a single coding assistant

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

What you can do with it

  • Shared memory for multi-agent systems
  • Point-in-time recall for audits
  • Auditable deletion of user data

Alternatives to memwright

All alternatives →

Compare with Zotero MCP, Agentdb or Genkitx MCP

memwright: common questions

Does this MCP server enforce who can write or forget memories?

The source says role enforcement is an AgentContext guarantee that runs in process. The REST and MCP surfaces call the store directly and rely on their own auth.

Where are memories stored?

The source says every memory is stored once in Postgres as the source of truth, and derived into Pinecone for vectors and Neo4j for graph data.

Can it show what the memory looked like in the past?

Yes. The source says recall with an as_of time filters facts by transaction time, and supersession never deletes old facts.

How do I install memwright?

In Claude Code run claude mcp add memwright -- uvx memwright. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is memwright the official server?

memwright is a community project by bolnet, not verified by a company domain.

Is memwright free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is memwright safe to use?

It scores 59 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to memwright?

Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.

Does memwright work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

memwright Install

Add to stack

Loading.