Free software · AGPL-3.0 · MCP server

The LLM wiki, free and safe, for any MCP client.

Your model keeps a Markdown wiki for you; mindyard enforces the rules. Every batch of writes is a git commit, a stale edit is refused, sources stay untouched. On your machine over stdio, or on your server for Claude, ChatGPT and remote clients.

The idea: a wiki the model keeps for you

In April 2026, Andrej Karpathy described the "LLM wiki": instead of rereading your documents for every question, the model compiles them once into Markdown pages it maintains, with untouchable raw sources, a schema, an index and a log. mindyard serves exactly this structure over MCP, and adds what it needs to last: atomic writes in git, refusal of stale edits and a schema-driven linter.

Self-hosted, free

On your machine or your server, in git repositories you own. Every feature, as many vaults as you like.

Any MCP client

Claude Desktop and Claude Code over stdio; Claude, ChatGPT and other remote clients over HTTP, with Google sign-in or a token.

Obsidian-compatible

Plain Markdown, wikilinks, YAML frontmatter: open the vault in your usual editor.

A wiki kept by a model drifts, unless something keeps the books

Asking Claude to maintain a knowledge base works for a week. Then a page is overwritten by an older copy, a source gets "tidied up", a link points nowhere, and you cannot tell what changed when. mindyard splits the work: the model reasons about your notes, the server enforces the rules.

Lost updates

Two sessions, or you in your editor and Claude in a chat, edit the same page. The last writer silently wins.

Rewritten sources

The raw material you clipped is "improved" until nobody knows what the original said.

No history

Files edited in place leave no trace of what the model did, or of how to undo it.

How the mindyard MCP server works

Your wiki is a folder of Markdown files in a git repository. mindyard exposes it to your MCP client through six tools. No model runs on the server: it executes and records, it does not reason.

Your vault

Markdown pages, [[wikilinks]], YAML frontmatter, a wiki.yaml of rules. A git repository you own, Obsidian-compatible.

mindyard

list_wikis, read_page, list_pages, search_wiki, get_lint_report and one write path: write_batch.

Your client

Claude Desktop and Claude Code locally over stdio, Claude.ai and other MCP clients over HTTP.

Guarantees for a personal wiki in git

Each of them is enforced by the server and covered by tests. The model cannot talk its way around them.

Every write is one git commit

A batch of edits is validated whole, then applied in a single commit. If anything fails, nothing is written.

b36c63e Add marigold, a companion for the tomato bed
 4 files changed, 17 insertions(+), 1 deletion(-)

No lost updates

Changing a page requires the version you read. If it moved since, the edit is refused and the model has to read it again.

'wiki/plants/tomato.md' changed on disk since you read it

Write zones

Sources in raw/ are create-only. The index, log and schema cannot be deleted. wiki.yaml is read-only for the model: it may only write a new vault's first definition, once, with your agreement.

files under raw/ are create-only

The protocol travels with the server

The editorial method reaches the model through MCP instructions and tool descriptions. Clients without any skill or custom prompt still follow it.

Works with Claude.ai

Google sign-in (OAuth) for Claude.ai custom connectors, with an allowlist of accounts. Bearer tokens for remote clients and scripts. Locally, Claude Desktop and Claude Code need neither.

A deterministic linter

Broken links, orphans, frontmatter, and the rules your wiki.yaml declares: required fields, closed status lists, statuses implied by dates.

plant:
  required: [title, family]
  status: [planned, growing, harvested]

What a session looks like

A real exchange with the demo vault, an imaginary community garden, in a chat client with mindyard connected. Tool outputs are verbatim.

Volunteers say marigolds keep aphids off the tomatoes. Add that to the garden wiki.

Claude
mindyardlist_wikis
list_wikis()
→ [{"id": "garden", "label": "Garden", "description": "Plants, practices
   and events of the Harbor Lane community garden."}]
mindyardread_pageschema.md
read_page(wiki="garden", path="schema.md")
→ version de3cc0606bd87d75, 20 lines
  ...
  - wiki/plants/: one page per crop (entity_kind: plant).
  - A plant's status is one of: planned, growing, harvested, retired.
mindyardsearch_wikimarigold
search_wiki(wiki="garden", query="marigold")
→ []
mindyardread_pagetomato.md
read_page(wiki="garden", path="wiki/plants/tomato.md", raw=True)
→ version 45ab73651af99a31, 14 lines
mindyardread_pageindex.md
read_page(wiki="garden", path="index.md", raw=True)
→ version d63489e2037083f8, 11 lines
mindyardread_pagelog.md
read_page(wiki="garden", path="log.md", raw=True)
→ version 1562193c679c5233, 6 lines

There is no Marigold page yet. I'll create one as a planned plant, as the schema asks, link it from Tomato, and add it to the index and the log, all in one batch. Shall I go ahead?

Go.

Claude
mindyardwrite_batch4 edits
write_batch(wiki="garden", message="Add marigold, a companion for the tomato bed", edits=[
  {op: "create",  path: "wiki/plants/marigold.md", ...},
  {op: "replace", path: "wiki/plants/tomato.md", expected_version: "45ab73651af99a31", ...},
  {op: "replace", path: "index.md", expected_version: "d63489e2037083f8", ...},
  {op: "replace", path: "log.md", expected_version: "1562193c679c5233", ...}])
→ {"commit": "b36c63e", "applied": [4 ops]}

Done, in a single commit, b36c63e: a new Marigold page, a link from Tomato, and entries in the index and the log. If any of the four edits had failed, none would have been written.

In your terminal, the batch is one commit:

$ git log -1 --stat
b36c63e Add marigold, a companion for the tomato bed
 index.md                |  1 +
 log.md                  |  3 +++
 wiki/plants/marigold.md | 12 ++++++++++++
 wiki/plants/tomato.md   |  2 +-
 4 files changed, 17 insertions(+), 1 deletion(-)

A later edit built on the old version is refused, instead of erasing this one:

'wiki/plants/tomato.md' changed on disk since you
read it (your version 45ab73651af99a31 is stale).
Re-read the page to get its current content and
version, then rebuild the edit on that content
and retry.

Compared with a filesystem MCP server

A generic file server lets the model read and write Markdown. mindyard adds the contract that keeps a long-lived wiki consistent.

FeaturemindyardFilesystem MCP server
Several edits applied atomically, as one git commitYesNo
Stale edits rejected (optimistic concurrency)YesNo
Create-only sources, undeletable index and logYesNo
Editorial method sent to the client by the serverYesNo
Linter driven by a per-vault schemaYesNo
OAuth sign-in for Claude.ai custom connectorsYesVaries

Quickstart: a Claude knowledge base in two commands

You need uv, which fetches Python 3.12 if needed, and git: every write is a commit. On Windows, install Git for Windows first. pip install mindyard works too.

  1. Create a vault. Drop --demo for an empty one: Claude will offer to define it with you (what it is for, kinds of pages, required fields).

    uvx mindyard init ./data/vaults/garden --demo
  2. Connect Claude Code. It launches mindyard itself, over stdio: no port, no token.

    claude mcp add mindyard -e MINDYARD_DATA_ROOT=$PWD/data -- uvx mindyard serve --stdio

Claude.ai

Deploy behind TLS with MINDYARD_AUTH=google and an allowlist of accounts, then add the URL as a custom connector. Step-by-step VPS guide. Or skip the server with hosted mindyard.

Claude Desktop

Same command in claude_desktop_config.json: uvx with mindyard serve --stdio, and MINDYARD_DATA_ROOT in its environment.

Remote clients and scripts

MINDYARD_AUTH=bearer, then mindyard token new laptop prints a token once. Only its hash is stored.

Docker

A compose.example.yaml ships with the repository. Put a TLS reverse proxy in front.

Full documentation in the README

Rather not run a server?

Hosted mindyard gives you the same server, in France, with nothing to install: Google sign-in, an address to paste into your AI, and your vaults stay exportable as git repositories. 14-day free trial, no card, then €3.99 a month.

Discover the hosted offer Pricing

Questions

Does mindyard send my notes anywhere?

Self-hosted, no: mindyard runs on your machine or your server and stores everything in a git repository you own. Hosted, your vaults live on a server in France, run by an identified operator, and stay exportable as git repositories. Either way, your notes reach only the MCP client you connect, such as Claude.

Does mindyard run a language model?

No. The model stays in your client. The server executes and records: it validates edits, commits them and lints the vault, without reasoning about the content.

Is it compatible with Obsidian?

Yes. A vault is plain Markdown with [[wikilinks]] and YAML frontmatter. Open it in Obsidian or any editor; edits made there are protected by the same version check as the model's.

Which clients work with mindyard?

Any MCP client: Claude Desktop and Claude Code launch it locally over stdio, Claude.ai reaches a deployed server through a custom connector with Google sign-in, and remote clients use a bearer token over streamable HTTP.

Can I keep several wikis?

Yes. Every directory under vaults/ holding a wiki.yaml is served as its own wiki, and the model picks one per operation.

What does it cost?

Self-hosting costs nothing: mindyard is free software under the AGPL-3.0. Hosted mindyard, in France, costs €3.99 a month or €39.90 a year for 3 vaults, after a 14-day free trial without a card; see pricing.