AKB Agent Knowledge Base
Lets your AI agent read and write a shared organizational knowledge base with hybrid search, tables, files and links.
165 stars on GitHubby dnotitiaLicense NOASSERTIONUpdated 18 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add akb -e AKB_MCP_URL="<your value>" -e AKB_PAT="<your value>" -- npx -y akb-mcp
What to fill in
| Name | What it is | Required |
|---|---|---|
AKB_MCP_URL | Your AKB backend MCP endpoint, e.g. https://akb.example.com/mcp/ β or try the public demo at https://akb-demo.agent.seahorse.dnotitia.ai/mcp/ | Yes |
AKB_PAT | AKB Personal Access Token (akb_...). Create one in your AKB instance, or sign up on the public demo with any email to get one. | Yes |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Search our vault for the decision about the billing migration.
Save this session summary as a document in the engineering vault.
What it is
AKB is a knowledge base built for AI agents rather than people clicking through a UI. Agents store Markdown documents, tables and files in vaults, search them by meaning and keyword together, and link them in a graph. It runs on PostgreSQL and you host it yourself.
What it can do
akb_put,akb_get,akb_update,akb_delete: document create, read, update, deleteakb_searchandakb_grep: hybrid search and literal searchakb_browse: walk through vaults and collectionsakb_relations,akb_link,akb_graph: links between documentsakb_create_tableandakb_sql: tables and SQLakb_historyandakb_diff: revisionsakb_grantandakb_revoke: permissions
When to use
- βΊWhen a team wants shared long-term memory for its agents
- βΊWhen you want agents to keep notes, decisions and session reports in one searchable place
- βΊWhen you need documents, tables and files linked together with access control
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
llm-wikiHelps your agent build a personal or team knowledge base in Obsidian, adding sources and keeping the links, index and notes up to date.mini-context-graphCreates a persistent knowledge base combining a knowledge graph with AI-generated wiki pages. Knowledge accumulates and cross-references over time.weknora-rag-searchGuides your agent to search a WeKnora knowledge base, choosing between a written answer, raw text passages, document matches, or session lookup.Frequently asked questions
Is it open source?
The readme shows a license badge and a public repository. You can self-host it.
Is there a demo?
Yes. A public demo is wiped weekly and has no uptime or privacy guarantees, so do not put real data in it.
How well does search work?
The readme reports Recall@5 of 98.4 percent on LongMemEval-S, with no reranker.
Which clients work?
Claude Code, Claude Desktop, Cursor, Windsurf, Cline and Continue, through the akb-mcp proxy or direct HTTP.
Does it have plugins?
Yes, plugins for Claude Code and Codex for wiki ingest, session notes and a session lifecycle bridge.
How is access separated?
By vaults, enforced with PostgreSQL roles.
If it does not work
- βΊCheck that your Personal Access Token is valid and that the server URL ends with /mcp/.
- βΊUpgrade the backend before the akb-mcp proxy when using image tools, then restart existing MCP processes.
- βΊIf tools look outdated, restart your client so it loads the new tool list.
5 new skills a week. 1 minute to read.