Open source · Runs locally

Give your coding agent one sourced answer.

ContextCake brings together the relevant parts of your project docs, team decisions, and personal notes without losing where they came from.

Your agent gets a traceable result through MCP, with every source, date, and conflicting version still attached.

Apple silicon · Signed & notarized · Download for Intel Mac
WSL: install from source

ContextCakeWorked example
Question

What database setup should this service use?

decisions/primary-db
This example uses source priorityHighest first · section by section
  1. 1Personal
  2. 2Team
  3. 3Company
Combined answer

Postgres in every shared environment.

Highest-priority version

Postgres for OLTP, yes — but we added ClickHouse for analytics after the reporting queries started locking the primary.

Inherited from Team

Platform team owns provisioning, upgrades, and the backup policy.

Inherited from Company
Actual resolver output from the bundled demo. Here, higher-priority sources win only the sections they define; the rest falls through.

Connect through MCP

And other MCP clients

The decisions behind your code
aren’t all in your repo.

An architecture doc explains the database choice. A team runbook adds an exception. Your notes cover local setup. Handing an agent one file misses the rest. Pasting everything in leaves it to sort out the contradictions.

  1. 01

    Connect the sources you use.

    Add Markdown folders or GitHub repositories. Your files stay where you keep them. Start with a single source and add more when you need them.

    Markdown folders GitHub repositories
  2. 02

    Decide which source takes priority.

    Order your sources. For matching sections, the higher source takes precedence. Sections it doesn’t define are inherited from the sources below.

    PersonalTeamCompany
  3. 03

    Let your agent search and read.

    Connect your AI tool through MCP. It can find the relevant context and read the combined result, including where each section came from.

    searchread_fileSources included

This is the cascade: combine matching sections across sources, while keeping the other versions visible. Read the merge rules

See exactly what
your agent can read.

Browse the combined context in the app. Follow a section back to its file. Compare a disagreement before deciding what to change.

Try it in the browser
ContextCake Library showing the Primary database decision, its personal source and date, and the company’s alternate value alongside it.
ContextCake Library · Web DemoSample data, open to explore. No account required.

Disagreements stay in the result.

Each section carries its source and a date when available. Conflicting versions remain attached, so the agent can see what’s contested. Source priority is explicit; newer text doesn’t silently win.

Related knowledge stays connected.

Follow links between decisions, runbooks, and notes. ContextCake exposes those connections as a knowledge graph that both you and your agent can explore.

Your files.
Your rules.

Run ContextCake locally. Keep using Git and the editors you already know.

Read the source on GitHub

Local retrieval, open-source engine

The core runs on Node.js with no runtime dependencies. ContextCake reads and combines your sources locally; the AI tool you connect receives the context it requests.

Review before sharing

With capture enabled, preview a session finding before sharing it with the team. Promote reviewed captures into durable team context.

Bring an existing knowledge graph

Advanced setups can connect a trusted MCP source that implements the ContextCake graph contract. Its content joins the same cascade as your files.

MCP source guide

A few practical details.

How does this fit with AGENTS.md or CLAUDE.md?

Keep those files for instructions your coding tool loads directly. ContextCake adds a way to search and read knowledge across sources through MCP, including shared decisions and your own notes. You can include existing instruction files in a source; your tool’s native instruction-loading behavior stays the same.

Do I need to reorganize my docs?

You can start with a folder of Markdown files. To combine versions of a document across sources, they need the same relative path (the concept ID) and matching section keys. Explicit section anchors give you precise control. ContextCake doesn’t infer that two unrelated files describe the same thing.

How documents and sections match
Does my context leave my machine?

Local sources are read and combined on your machine. When a connected AI tool requests context, that content is passed to the tool and is subject to its data handling. GitHub sources use GitHub; team sync uses the repository you configure. Only run MCP source commands and manifests you trust.

Read the trust model
How do I know what my tools can read?

Native Diagnostics shows source health, retrieval performance, and indexing activity without Docker. The signed Mac app also includes optional Local Grafana dashboards and traces as an experimental feature. Telemetry stays local in this version.

Explore diagnostics
What can my agent do through MCP?

Six read-only tools let it search, read combined context, list concepts, follow links, find captures, and catch up on changes. Capture tools are opt-in.

searchread_filelist_conceptsget_linksfind_captureswhats_new
MCP tool reference
What are Packs?

Packs are optional collections of rules, templates, examples, and reference material for a specific kind of work. Inspect their files and add them as a source alongside your own knowledge.

Browse Packs

Start with the docs
you already have.

Add a folder, connect your coding agent, and ask it about your project.