open-source · self-hosted · mit forever

Docs your AI can actually read

An open-source knowledge base that you and your AI agents both read and write. Write ADRs with live Mermaid diagrams, and let Claude read them over MCP. Self-host with just Postgres.

MIT licensejust Postgresdocker compose up -d

Built for engineering documents.

mermaid

Diagrams render as you type

Fence a code block with ```mermaid and the diagram is live — in the editor, in shared links, everywhere.

mcp-native

Your AI reads your docs

A built-in MCP server means Claude answers with your architecture, not guesses.

⚒ search_docs("rate limiting")
⚒ get_doc(RFC-012)
“Per RFC-012, limits are per-token…”
templates

Guided ADRs, RFCs, post-mortems

## Context
What situation requires a decision?
## Decision
## Consequences
wiki-links

Linked, both ways

Type [[ to link any doc.

[[Search architecture]]

Referenced by 3 docs

cmd-k

Everything is one keystroke away

rate limirate limiting

Postgres full-text search — no extra service.

markdown

In and out as Markdown

docs/*.md → annexo

Import your repo docs. Your data leaves with you.

Three steps to an AI that knows your architecture

  1. 01

    Mint a token

    Settings → Access Tokens. Scoped read or read-write, revocable any time.

  2. 02

    Add one config block

    Point any MCP client at your Annexo with one entry: your URL and your token.

    "annexo": {
      "command": "npx",
      "args": ["-y", "annexo-mcp"],
      "env": {
        "ANNEXO_API_URL": "https://docs.example.com/api/v1",
        "ANNEXO_TOKEN": "annx_your_token"
      }
    }
  3. 03

    Ask about your architecture

    Claude searches, reads the doc you wrote, and answers with your context.

Works with Claude Code, Claude Desktop, and any MCP client.

Run it yourself in minutes

Annexo is fully self-hostable. Your documents never leave your servers — spin it up with Docker Compose and own your knowledge base end to end.

  • Just Postgres. No Redis. No S3. No identity server.
  • Email + password out of the box — no OIDC setup.
  • One command: docker compose up -d.
  • Import and export Markdown. Your data leaves with you.
View on GitHub
terminal
$ git clone annexo && cd annexo
$ docker compose up -d
✓ Annexo running at http://localhost:3000

MIT. Forever.

MIT. Forever. No rug-pulls, no open-core bait-and-switch. When SSO ships, it will be free in the self-hosted tier. Always.

Start your knowledge base tonight.

Sign in