Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

okl — Observed Knowledge Ledger

by emeraldleafversion 0.14.0i★ –iRuns on your computer
Registry nameio.github.emeraldleaf/okl

Install

Overview

Description from the maker (original English)

Keeps your agent true to your rules. Keeps them true to the code. Keeps learning as you build.

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Accounting, finance & tax

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • The registry lists no key to fill in.

You need

  • PyPIPython’s uv installed (for the uvx command)

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "okl": {
      "command": "uvx",
      "args": [
        "observed-knowledge-ledger",
        "mcp"
      ]
    }
  }
}

Run this in your terminal

claude mcp add okl -- uvx observed-knowledge-ledger mcp

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "okl": {
      "command": "uvx",
      "args": [
        "observed-knowledge-ledger",
        "mcp"
      ]
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "okl": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "observed-knowledge-ledger",
        "mcp"
      ]
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 6, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account emeraldleaf, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Accounting, finance & taxi

  • More stars than 0% of the other 1720 servers in this category
  • Published to the registry more recently than 95% of the other 1720 servers in this category
  • Basic checks equal to or better than 100% of the other 1720 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is okl — Observed Knowledge Ledger safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (0.14.0) reached the registry yesterday.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.

What can I use instead?

In the same category: Finance Toolkit, SolidInvoice, Korea Tax Calculator

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Finance Toolkit

by JerBouma

500+ transparent financial methods calculated from raw statements, not third-party endpoints.

Computer or cloud★ 5,496MITUpdated yesterday
Install

SolidInvoice

by SolidInvoice

Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.

Runs in the cloud★ 981MITUpdated 7 days ago
Install

Korean tax calculation and tax-audit judgment MCP: 96 tools with statutory citations.

Runs on your computer★ 97MITUpdated today
Install

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

okl — Observed Knowledge Ledger

Keeps your coding agent true to your rules, specs and docs. Keeps them true to the code. Keeps learning as you build.

It guards against drift both ways: your agent drifting from your rules, and your rules, specs and docs drifting from the code.

Your rules, architecture decisions, past defects, documentation and diagrams: recorded once, briefed to your agent before every task (by a hook in Claude Code; any MCP agent can ask for the same briefing), each proven by a check you choose, flagged before you push (or in CI) when what it covers changes, and corrected or retired as you build. Prompts advise; the gate enforces. Use it in one repo, or share one store across every repo your team runs.

Under the hood: typed records, keyword search and one-step links. No model runs by default, okl calls no generative model unasked, and nothing is captured automatically. Three local models are optional, measured and off until you turn them on: an embedding arm, a reranker and a warm embedding model, okl warm (REPORT §4q, §4t, §4z). The scaffold's optional review step runs a generative model only if you name one, and okl review, which checks the lessons nothing re-checks, runs one only when you run it (REPORT §4ai). A lesson is written on purpose and proven by a check. The claim in full, how much of it holds today and how it has changed: docs/THESIS.md.

🚀 Quickstart · 📘 Getting started · 📥 Load your rules · 🔬 How it works · 📊 Results · 🧪 Eval report · 🧩 Plugin

pipx install 'observed-knowledge-ledger[mcp]'   # the command it installs is `okl`

okl init --repo my-repo # hooks, MCP server, push gate, starter lessons

42% → 7%. On eight tasks written to invite defects the store already knew about, 68 of 163 unbriefed attempts repeated one against 11 of 164 briefed, pooled over seven A/B runs with a different model judging than generating (the receipts, §5 finding 7). Small sample, one-shot code on bait tasks; what it does and does not show.

What goes wrong, and what catches it

WhenWhat okl does
The agent is about to repeat a defect you already paid forthe briefing puts the lesson in front of it before the task, selected by the task's words
Code a lesson covers changes after its last checkokl drift goes red; the pre-push hook holds the push (or CI fails) until the check passes again or the code is back to what passed; the next briefing marks the lesson STALE
A lesson turns out to be wrongokl retire --reason keeps it, briefed as AVOID so nobody restates it; nothing is deleted
A lesson is replacedokl retire --by ; the briefing points to the replacement
The store cannot be reachedthe Claude Code hook blocks the prompt and says why; the MCP tool says it was not briefed. Never a clean "no rules apply"
A session changed files and recorded nothingthe Claude Code Stop hook asks once what was learned, and names the lessons the session touched

Quickstart

New here? [docs/GETTING-STARTED.md](docs/GETTING-STARTED.md) walks through setup and the

habit of adding lessons as you build a feature. Already have a CLAUDE.md, ADRs, standards or

specs? [Load your rules](docs/LOAD-YOUR-RULES.md) shows how to load them, prove the ones

that matter, and keep them current.

Starting from an empty folder? [Set up a repository from scratch](docs/FROM-SCRATCH.md)

builds the CI, linters and tests okl's checks point at, for Python, .NET or TypeScript.

1. Install the CLI. Python 3.11+ (0.8.9 is the last release for 3.10), git for drift. macOS and Linux; Windows is untested (#85).[^name]

pipx install 'observed-knowledge-ledger[mcp]'

2. Wire your repo, from its root:

okl init --repo my-repo --dry-run   # lists every file it would write; writes nothing

okl init --repo my-repo # config, Claude Code hooks, MCP server, pre-push drift gate, starter lessons

init detects your stack (*.csproj, package.json, pyproject.toml …), sets the repo's interests from it, and fills the store with 20 starter lessons that hold on almost any codebase plus the bundled packs for your stack, so the first prompt is already briefed (--interests chooses your own subjects; --no-seed leaves the store empty). It wires Claude Code when the repo has a .claude/ directory or claude is on your PATH (--claude / --no-claude), installs a pre-push hook that blocks a push only when lessons have drifted (--no-git-hook skips it; --ci installs the GitHub workflow instead, --ci --git-hook both), and remembers both choices. Every path it writes, and what each is for: What okl init writes. With a branch rule that requires code-owner review, --owner @you makes each change to the thesis need your approval; okl doctor says whether GitHub enforces it, and the rule and the agent's own identity are yours to set up: Give your agent its own identity.

3. Add a rule of your own. The starter lessons are generic; what pays is what only your codebase knows. Tell your agent — *"record an okl rule for this repo: order lookups are scoped to the signed-in customer; governs app/orders.py"* — and it records the lesson with okl's okl_record MCP tool (in Claude Code, /record drafts it and asks you first). Underneath, that is one CLI call you can also run yourself:

okl record --type Rule --scope repo --id order-owner-scope \

--title "Order lookups are scoped to the signed-in customer" \ --symptom "an endpoint fetches an order by id with no owner filter" \ --fix "filter by the caller's customer id in the query; return 404 on no match"

Then prove it: okl verify order-owner-scope --run "pytest -q tests/test_orders.py" --expect passed. Loading the rules, ADRs and specs you already wrote, and the bundled packs, is Seed it.

4. Check it works:

okl check --task "add an endpoint that returns an order for the logged-in user"

okl doctor # flags other memory tools, double wiring, and where drift is gated

Which agent, which part
Claude CodeAny MCP agent (Cursor, Codex, Copilot …)Any agent, or none
Briefing before each taska hook on every prompt, automatic, fails closedthe okl_check tool, when the agent calls itokl check in the terminal or a script
Briefing when a file is reada hook after each Read: the lessons governing the file, once a sessionokl_check with pathokl check --path
Recording what was learnedthe Stop hook asks once per session that changed filesthe okl_record toolokl record
Proof and driftokl verify, okl reverify, okl driftthe same commandsthe same commands
The gatethe pre-push hookthe pre-push hookthe pre-push hook, or the CI workflow (okl init --ci)

The hooks are Claude Code's; everything else is a command or an MCP tool and works anywhere. Setting up another agent: Getting started.

What a normal day looks like

  • You prompt as usual. In Claude Code, the pre-task hook runs okl check on what you typed and puts the relevant lessons in the agent's context before it starts, and shows you one line — *okl · briefed 9 lesson(s): …* — so you can see it working (OKL_QUIET=1 hides it).
  • When you learn something worth keeping — a decision, a convention the agent broke, a bug you fixed — say so and the agent records it (okl_record, or okl record), with the files it governs. In Claude Code the Stop hook also asks once, at the end of a session that changed files, what was learned, and names the lessons the session was briefed on and those whose files it changed, so the agent can propose correcting or retiring one (you approve).
  • Using another agent? The briefing and recording are MCP tools (okl mcp); register them and add one line to your AGENTS.md: *before each task call okl_check*. The hooks that do this automatically are Claude Code's; see Getting started.
  • When a lesson needs correcting, take its [id] from the briefing and change only what is wrong: okl update --fix "..." (or the okl_update tool) keeps the rest, including its proof, unless you change its governed --files: then it needs verifying again, and okl reverify re-runs its stored check. okl show prints the whole lesson, with how often its check has passed and failed: every run of okl verify and okl reverify is kept, so a check that caught a change leaves a record. Recording an existing id again is refused, because it used to replace the lesson and wipe its proof.
  • When a lesson is wrong or replaced, retire it with a reason; nothing is deleted. okl retire --reason "..." keeps a wrong one briefed as

Only the beginning is shown; read the rest in the repo

Ask PopNx