Quick Start
Install Pyrite, create a knowledge base, and connect to Claude in 5 minutes.
Install
pip install pyrite # Core
pip install "pyrite[all]" # Core + AI + semantic search + dev tools
pip install "pyrite[ai]" # OpenAI + Anthropic + Gemini SDKs
pip install "pyrite[semantic]" # sentence-transformers + sqlite-vec
Create a knowledge base
mkdir my-kb && cd my-kb
pyrite init --name my-brain
Add some entries
pyrite create --type person --title "Sarah Chen" \
--body "Engineering lead. Considering move to consulting." --tags "team,engineering"
pyrite create --type decision --title "Switch to async standups" \
--body "Decided 2026-03-01. Reduces meeting load by 3hrs/week." --tags "process"
Search
# Keyword search
pyrite search "career transition"
# Semantic search (finds conceptually related content)
pyrite search "team decisions" --mode=semantic
# Hybrid (both at once)
pyrite search "team decisions" --mode=hybrid
Connect to Claude Desktop or Claude Code
Add to your MCP configuration:
{
"mcpServers": {
"pyrite": {
"command": "pyrite",
"args": ["mcp"]
}
}
}
Now any AI that speaks MCP can search, read, and write your knowledge base.
What just happened
Pyrite created markdown files with YAML frontmatter in a git-versioned directory. It built a SQLite FTS5 index on top for fast search, and the MCP server exposes that index to any AI agent.
Your files are the source of truth. The index is derived. Rebuild it any time with pyrite index build.