second-brain-cli — OKF Bundle for MCP Integration
DraftA Rust CLI for RAG - indexing markdown notes with local vector embeddings and exposing them to AI assistants via MCP (Model Context Protocol).
Best for
- AI agents using the MCP protocol
- RAG (Retrieval Augmented Generation) pipelines
What it does
- Exposes functionality through the Model Context Protocol (MCP) for agent-native access
- Fully OKF-conformant — works with any OKF-compatible agent framework
- Version-controlled with standard Git workflows for collaboration
How to use with AI agents
Step 1: Clone the repository
git clone https://github.com/DevPartner/second-brain-cli
cd second-brain-cli Step 2: Point your AI agent at the bundle directory
# Claude Code
claude /path/to/second-brain-cli # Cursor
cursor /path/to/second-brain-cli # OpenCode
opencode /path/to/second-brain-cli MCP: This bundle supports the Model Context Protocol. Configure your MCP client to discover and load this bundle.
Frequently Asked Questions
Is second-brain-cli OKF conformant?
No, second-brain-cli is currently marked as a draft bundle. It may not fully follow the OKF specification yet.
How do I install second-brain-cli?
Clone the repository and point your AI agent at the bundle directory. The agent will automatically discover and load the OKF knowledge. No additional tools or SDKs are required.
What AI agents can use second-brain-cli?
second-brain-cli works with any AI agent that supports OKF bundles, including Claude Code, Cursor, OpenCode. Just point your agent at the bundle directory.
What are alternatives to second-brain-cli?
Similar bundles include OpenContextScitool, annpackv2, mnemos. Browse these for alternative approaches and feature sets.