Kept for developers

Kept is an MCP server and a JSON API on the Mac that runs it. Your agent asks, and gets a short answer that cites the exact passage in your team's runbooks and docs. Three read-only tools, one revocable key per tool.

On this page
  1. What it looks like
  2. Set it up
  3. Make your agent reach for it
  4. The three tools
  5. The HTTP API
  6. Safe by default

What it looks like

Claude Code calls Kept’s ask tool and gets numbered citations, each quoting the passage it came from. Every line below is from the MCP docs.

claude mcp add --transport http kept http://127.0.0.1:47822/mcp --header "Authorization: Bearer $KEPT_KEY"
claude
Using Kept, how do we roll back a deploy?
kept: ask (MCP)  question: "How do we roll back a deploy?"
kind: grounded, 2 citations
Roll back with the deploy tool's previous release, then confirm the error rate drops within 10 minutes [1]. Page the payments on-call if it doesn't [2].
[1] payments-runbook.md  “To roll back, run deploy rollback payments --to previous…”
[2] on-call.md  “If the error rate hasn't recovered within 10 minutes, page…”

Set it up

  1. Turn on the API. In Kept, Settings → Sharing, under Apps and AI tools. It’s off by default.
  2. Make a key for the tool. It starts with kept_ and is shown once. Put it in KEPT_KEY rather than a config file.
  3. Add Kept to your agent. Every agent needs the address http://127.0.0.1:47822/mcp and the header Authorization: Bearer $KEPT_KEY.
Add Kept to your agent
claude mcp add --transport http kept http://127.0.0.1:47822/mcp \
  --header "Authorization: Bearer $KEPT_KEY"

It also works with Windsurf, Cline, LM Studio, Goose and Claude Desktop, and any client that speaks Streamable HTTP with custom headers. Setup for every client

Make your agent reach for it

Agents decide when to call a tool from its description. To make yours use Kept without being told, add a line to its instructions file (CLAUDE.md, AGENTS.md, .cursor/rules and so on):

CLAUDE.md
For questions about our runbooks, policies or internal docs, ask the kept MCP server and cite its sources.

The three tools

ask
A short answer from your documents with numbered citations. A local model writes it, so it takes 5 to 60 seconds; pinned answers come back at once. If your docs don’t cover the question, it says so.
search
The passages closest to a query, best first, without writing an answer. Fast, and good when your agent wants the exact wording.
list_sources
The documents Kept answers from, with their category and status.

The HTTP API

The same things for scripts and apps on the Mac: read-only JSON at http://127.0.0.1:47822/v1, with the same keys and limits as MCP.

Ask a question
curl http://127.0.0.1:47822/v1/ask \
  -H "Authorization: Bearer $KEPT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"question": "How do we roll back a payments deploy?"}'
The answer
{
  "kind": "grounded",
  "answer": "Roll back with the deploy tool's previous release, then confirm the error rate drops within 10 minutes [1].",
  "citations": [
    {
      "number": 1,
      "source": "payments-runbook.md",
      "category": "Runbooks",
      "quote": "To roll back, run deploy rollback payments --to previous…"
    }
  ]
}

Each key gets 120 requests a minute, 20 of them questions. Endpoints, limits and error codes

Safe by default

  • This Mac only. Kept listens on 127.0.0.1 and refuses requests from websites.
  • Read-only. No tool or endpoint can add, change or delete anything.
  • A key per tool, shown once, stored only as a hash, revocable at any time.

If your agent uses a cloud model, the answers and passages Kept returns go to that model’s provider, like anything else in its context. Use a local model, such as one in LM Studio, to keep everything on the Mac.

In the docs

Kept is coming to your Mac.

It launches with a 14-day free trial, no card needed. Leave your email and you’ll get one message when it’s out.

One email when Kept is out, and nothing else.