keshrath avatar

Agent Knowledge

keshrath/agent-knowledge

Builds a knowledge graph and semantic search layer on top of Claude Code, Cursor, Aider, Continue.dev, Cline, and OpenCode sessions. The six MCP tools expose knowledge base operations (create, update, search), session transcript search with hybrid TF-IDF and vector ranking, graph traversal with relationship types like supersedes and contradicts, and admin actions for git sync and promotion scoring. The system auto-discovers session files from installed tools, indexes verbatim messages into embeddings, and runs a background promoter that scores insights across six signals before moving them from candidates to established entries. Scores 98.8% R@5 on LongMemEval using offline hybrid search. Reach for this when you want cross-session memory that persists architecture decisions and debugging context in a git-synced markdown vault.

GitHub stars
19
tools
6
transport
STDIO
last updated
Oct 24, 2026

Tools

6 tools

Public tool metadata for what this MCP can expose to an agent.

knowledgeKnowledge base operations: list, read, write, delete, sync, and wakeup entries.

Knowledge base operations: list, read, write, delete, sync, and wakeup entries.

No parameter schema in public metadata yet.

knowledge_searchGeneral hybrid TF-IDF plus semantic search across sessions and knowledge, with scoped session-only recall when a scope is set.

General hybrid TF-IDF plus semantic search across sessions and knowledge, with scoped session-only recall when a scope is set.

No parameter schema in public metadata yet.

knowledge_sessionList sessions with metadata, retrieve full session conversations, and get session summaries.

List sessions with metadata, retrieve full session conversations, and get session summaries.

No parameter schema in public metadata yet.

knowledge_graphCreate, remove, invalidate, list, and traverse edges between knowledge entries, plus batch edge creation and deletion by origin.

Create, remove, invalidate, list, and traverse edges between knowledge entries, plus batch edge creation and deletion by origin.

No parameter schema in public metadata yet.

knowledge_analyzeAnalysis of the knowledge base: find near-duplicates, unconnected entries, most-connected entries, cross-category bridges, isolated entries, and a cached summary.

Analysis of the knowledge base: find near-duplicates, unconnected entries, most-connected entries, cross-category bridges, isolated entries, and a cached summary.

No parameter schema in public metadata yet.

knowledge_adminAdmin operations: vector store status, configuration, re-embedding, orphan pruning, vacuum, and scored promotion.

Admin operations: vector store status, configuration, re-embedding, orphan pruning, vacuum, and scored promotion.

No parameter schema in public metadata yet.

Sponsors

Readme

agent-knowledge

License: MIT Node >= 20 Tests: 604 passing MCP Tools: 6 LongMemEval R@5: 98.8%

Cross-session memory and recall for AI coding assistants -- works with Claude Code, Cursor, OpenCode, Cline, Continue.dev, and Aider out of the box. Git-synced knowledge base, hybrid semantic+TF-IDF search, auto-distillation with secrets scrubbing.


View the full README on GitHub

Details

Repository
github.com/keshrath/agent-knowledge
Categories
AI & LLM Tools, Documents & Knowledge, Search & Web Crawling
Package
agent-knowledge
Transport
STDIO
Registry
MCP registry, active

More from keshrath

Related AI & LLM Tools MCP servers

View all
1jmeyer1980 avatarNeurodivergent Memoryjmeyer1980/neurodivergent-memoryPersistent knowledge graph MCP server for neurodivergent thinking. BM25 search, no cloud LLM.12stars
2verivus-oss avatarLLM CLI Gatewayverivus-oss/llm-cli-gatewayOne MCP endpoint for Claude Code, Codex, Gemini, Grok and Mistral CLIs, with durable async jobs.8stars
3kapillamba4 avatarMeta Prompt Mcpkapillamba4/meta-prompt-mcpMCP server providing official Google and Anthropic prompting guides for meta-prompt generation.2stars
4capybearista avatarGemini Researchercapybearista/gemini-researcherStateless MCP server that proxies research queries to Gemini CLI, reducing agent context/model usage0stars
5tekgnosis avatarGnosis Memorytekgnosis/gnosismemoryPersistent memory and vector search for AI agents. Hosted, OAuth-protected via Google sign-in.0stars
6flsteven87 avatarLlm Wiki Mcpflsteven87/llm-wiki-mcpMCP server for Karpathy-style LLM wikis: persistent markdown your agent grows over time.0stars