Akb logo

Akb

by dnotitia

PostgreSQL-backed agent knowledge base with vaults, hybrid search, revisions, files, tables, relations, and access controls.

Install Akb

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://akb-demo.agent.seahorse.dnotitia.ai/mcp/

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Overview

The dnotitia/akb MCP server gives AI agents a permissioned organizational knowledge base built around PostgreSQL, Markdown documents, structured tables, files, and URI-linked relations. Agents can browse vaults, create and revise content, run dense-plus-BM25 searches or literal grep, retrieve specific sections, and manage permissions through MCP tools. Use it when an agent needs durable, searchable memory with revision history and vault-level access boundaries rather than a simple document store. It connects through the akb-mcp stdio proxy or directly over MCP HTTP, with support for Claude Code, Claude Desktop, Cursor, Windsurf, Cline, Continue, and custom MCP clients.

Use cases

  • Store team documentation in access-controlled vaults
  • Search agent memory with semantic and exact-text retrieval
  • Track document revisions and inspect changes
  • Link related documents through explicit knowledge-graph relations
  • Publish selected knowledge-base content publicly

Key features

  • Vault-scoped Markdown documents with revisions
  • Hybrid dense and BM25 search
  • Structured per-document tables and SQL access
  • URI-based relations between knowledge items
  • File and validated inline-image attachments
  • Per-user, organization, and public permissions

Tools12

What Akb lets your agent do. Expand a tool for its parameters.

Self-reported~142 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

20/20 checks healthy over the last 79d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars163Stargazers on the source repository.
Last commit1d agoMost recent push to the default branch.
Tools exposed12Callable tools this server registers over MCP.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How Akb works

What dnotitia/akb does

dnotitia/akb provides a knowledge base for AI agents, organized into access-controlled vaults. Content can include Markdown documents with YAML frontmatter, structured tables, and attached files. Documents, collections, and other resources can be connected through a URI-based knowledge graph, allowing agents to follow explicit relationships such as dependencies, related items, and implementations.

PostgreSQL is the primary source of truth for document text, metadata, revisions, and lexical-search data. Native revision history supports reviewing changes over time, while the system can also publish selected content through public links. Vaults provide the main boundary for organizing knowledge and controlling access across users and organizations.

How it works

Agents communicate with the tool layer using MCP. The server can be reached directly through a stateless HTTP MCP endpoint or through the akb-mcp stdio proxy. The proxy supports local-file operations, including file attachments and validated inline Markdown images in version 2.2 and later.

Search combines dense semantic retrieval with BM25 keyword matching and fuses the results in a single request. Literal grep is available when exact text matching is more appropriate. A separate drill-down operation retrieves content at section level, while browse traverses the hierarchy from collections to documents.

Dense embeddings and sparse corpus vectors are kept in a replaceable vector-store driver, while PostgreSQL retains the authoritative content and metadata. Supported storage arrangements include pgvector by default, with optional Qdrant and Seahorse-based drivers. Index data can be rebuilt from PostgreSQL if the vector store is lost.

Setup and configuration

The npm package akb-mcp provides the stdio proxy. The default authentication flow uses a Personal Access Token. Custom agents can send authenticated HTTP requests to /mcp/ with a Bearer token. Deployments that enable the MCP OAuth Resource Server path can also use Keycloak for authorization and support Claude Code's HTTP transport and login flow.

Claude Code and Codex plugins are distributed with the repository. The plugin marketplace commands are:

  • /plugin marketplace add dnotitia/akb for Claude Code
  • codex plugin marketplace add dnotitia/akb for Codex

The repository also describes Docker Compose and Kubernetes as deployment options for self-hosting.

Tools and capabilities

  • akb_list_vaults manages vault access and discovery.
  • akb_put creates or updates documents while recording revisions and indexing content.
  • akb_put_file attaches files through the proxy and requires access to a local filesystem.
  • akb_put_image validates inline Markdown images through akb-mcp 2.2 or later.
  • akb_create_table adds tabular content that can be queried per document and with SQL.
  • akb_browse walks collections and their documents.
  • akb_search performs hybrid semantic and BM25 retrieval or literal grep.
  • akb_drill_down retrieves individual document sections.
  • akb_relations reads and works with the URI knowledge graph.
  • akb_edit supports in-place changes, diffs, and revision history.
  • akb_grant sets per-user, per-organization, or public permission boundaries.
  • akb_publish publishes content for public access.

The repository also includes akb-wiki, akb-sessions, and akb-claude-code plugins for ingestion and grounded answers, session capture, and Claude Code lifecycle memory workflows.

Limitations and notes

The public demonstration is periodically wiped and re-seeded, runs on minimal resources, and should not be used for sensitive or durable data. AKB's core records write events in a PostgreSQL outbox; optional Redis configuration publishes them to the akb:events stream for external consumers. Consolidation, summarization, and similar automation are intended to be implemented by those external consumers rather than built into the core server.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Akb

dnotitia/akb is an MCP server that connects AI agents to a PostgreSQL-backed organizational knowledge base. Its main tools manage vaults, create and edit Markdown documents, attach files, create tables, browse collections, search with semantic and BM25 retrieval, inspect relations, manage permissions, and publish content.

Install and run the `akb-mcp` npm stdio proxy, then configure it with an AKB endpoint and Personal Access Token. Agents can also connect directly to the `/mcp/` HTTP endpoint with a Bearer token; self-hosted deployments can use Docker Compose or Kubernetes.

dnotitia/akb works with Claude Code, Claude Desktop, Cursor, Windsurf, Cline, Continue, and other MCP-aware clients. Claude Code can use stdio or, with the OAuth path enabled, HTTP login; Cursor, Windsurf, Cline, and Continue use the `akb-mcp` stdio proxy.

Yes. `akb_search` combines dense semantic retrieval and BM25 keyword matching in one call, and it also supports literal grep for exact-text searches. `akb_drill_down` can retrieve content at section level after a result is found.

Access is organized around vaults and can be granted per user, organization, or public share. The `akb_grant` tool manages permission boundaries, while `akb_publish` exposes selected content publicly.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAkb AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/dnotitia-akb?style=directory)](https://allmcps.com/mcp/dnotitia-akb)
HTML Embed
<a href="https://allmcps.com/mcp/dnotitia-akb"><img src="https://allmcps.com/api/badge/dnotitia-akb?style=directory" alt="Akb on AllMCPs" /></a>