OpenContext Docs

Persistent, project-local memory for AI coding agents.

Most coding agents lose important decisions between sessions. OpenContext solves that by exposing a lightweight MCP server that lets agents save and read markdown files in a local .opencontext/ directory.

Quick Start

terminal
npx -y opencontext-mcp
Full quickstart guide

How It Works

OpenContext stores files relative to the process working directory used by your MCP client:

project
your-project/
  .opencontext/
    architecture.md
    api-contracts.md
    coding_rules.md

Topics must be lowercase snake_case or kebab-case.