# Memographix

> Local AI agent memory layer for repeated developer tasks, fresh context packets, and low-token repo recall.

- **Type:** MCP server
- **Install:** `agentstack add mcp-coderalnaim-memographix`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [coderalnaim](https://agentstack.voostack.com/s/coderalnaim)
- **Installs:** 0
- **Category:** [Integrations](https://agentstack.voostack.com/c/integrations)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [coderalnaim](https://github.com/coderalnaim)
- **Source:** https://github.com/coderalnaim/memographix
- **Website:** https://pypi.org/project/memographix/

## Install

```sh
agentstack add mcp-coderalnaim-memographix
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Memographix

Memographix gives AI coding agents local memory for your repo.

Install it once, run setup once, and keep using Codex, Claude, Cursor, Copilot,
Gemini, OpenCode, Aider, Windsurf, or any MCP client normally. Memographix
retrieves fresh context before work and captures useful task memory after work.

## Quick Start

Run this inside the repo where you want AI-agent memory:

```bash
pipx install memographix
mgx setup
mgx doctor --live
mgx verify-agent --repair
mgx savings
```

`pipx` avoids system Python conflicts on macOS and Linux. The PyPI package
includes the CLI, local indexer, MCP server, and agent integration support.
`mgx setup` creates `.memographix/`, indexes the repo, writes MCP config for
supported agents, registers the repo for global MCP routing, and installs
project agent rules. For Codex it also installs a small global Codex skill so
new chats know to check Memographix before repo work.

If you are already inside a virtual environment or CI job, this also works:

```bash
python -m pip install memographix
```

PyPI resolves the latest release automatically, so install commands stay
versionless.

## Daily Use
Use your AI agent normally. In strict mode the agent asks Memographix for fresh
context before repo work, captures useful results after work, and marks old
memory stale when evidence files change.

```bash
mgx doctor --live
mgx verify-agent --repair
mgx heal
mgx guard
mgx savings --since 30d
```

`mgx doctor --live` verifies that the MCP server starts, expected tools are
available, and the router can resolve this repo. It does not prove your active
agent has actually called Memographix yet. `mgx verify-agent` gives you a short
prompt to paste into the agent and passes only after that agent performs a real
`resolve_task` and `capture_task`. `--repair` lets Memographix refresh stale
MCP config before verification. Restart agents after setup if they were
already open. This restart matters because Codex and other agents load MCP
tools/rules at chat startup.

Control it per repo:

```bash
mgx status
mgx disable --reason "not needed here"
mgx enable
```

Disabled repos keep existing memory but automatic agent calls return no context
and save nothing. Re-enabling refreshes the index before Memographix is used
again.

If savings are all zero, Memographix now tells you whether no agent tool calls
have been recorded yet. Run `mgx doctor --live`, `mgx verify-agent`, restart the
agent, and either open the chat from the repo or mention a registered repo name.
`mgx guard` warns when Memographix saw no MCP usage, saw context retrieval
without later capture, or sees modified files without any capture event.

Other useful commands:

```bash
mgx repos
mgx doctor --live --repair
mgx heal
```

`mgx heal` is safe to run repeatedly. It reruns setup, refreshes MCP command
paths, reinstalls project rules, registers the repo, and keeps existing memory.

## Proof

On the pinned Kubernetes benchmark, Memographix wins the repeated-task metrics it
is designed for: lower repeated tokens, faster repeated recall, stale-evidence
safety, and the best deterministic quality score. See [Benchmarks](BENCHMARKS.md)
for the public corpus, exact commands, honest losses, and unavailable-tool
notes.

## Boundaries

Memographix does not upload your code, save full chat transcripts by default,
treat stale memory as correct, or install benchmark tools in the runtime package.

## Docs

- [Benchmarks](BENCHMARKS.md): public Kubernetes results and claim policy.
- [Security](SECURITY.md): local privacy, skipped secrets, and sandbox safety.
- [Agent integrations](docs/AGENT_INTEGRATIONS.md): MCP and agent setup.
- [Architecture](docs/ARCHITECTURE.md): Python/Rust design and storage model.
- [Repeat task memory](docs/REPEAT_TASK_MEMORY.md): capsules and freshness.
- [Contributing](docs/CONTRIBUTING.md): local development and test expectations.
- [PyPI release](docs/PYPI_RELEASE.md): trusted publishing and release checks.

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [coderalnaim](https://github.com/coderalnaim)
- **Source:** [coderalnaim/memographix](https://github.com/coderalnaim/memographix)
- **License:** MIT
- **Homepage:** https://pypi.org/project/memographix/

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-coderalnaim-memographix
- Seller: https://agentstack.voostack.com/s/coderalnaim
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
