MCP server for read-only access to the claude-brain SQLite database. Provides tools for searching transcripts, retrieving profile data, project state, decisions, facts, and semantic search across conversation history.
11 tools with consistent verb-noun naming (get_*, search_*, lookup_*). All have descriptions (10-200 chars, within baseline). Input schemas present with type definitions and parameter descriptions. However, output schemas are undocumented, LLMs cannot infer what fields to expect from responses. Error handling is minimal; tools return plain strings without structured error guidance. No tool annotations (readOnlyHint, etc.). Parameter descriptions are adequate but lack format constraints (e.g., project enum values, decision_number range). Results are capped (20 for search_transcripts, 5-10 for summaries) but limits not always stated in descriptions.
Returns Mike's complete profile: all brain_facts and brain_preferences. Call this at the start of every session to load working context.
Returns recent decisions and key facts for a given project.
Returns a list of recent sessions with their metadata (project, date, message count, notes).
Returns recent session summaries (notes) from the database, useful for continuity across sessions.
Returns the SQLite schema for the claude-brain database (table definitions, columns, indexes).
Returns the full transcript for a given session_id, formatted as a conversation.
Output schemas undocumented. Tools return plain strings (markdown-formatted text) without structured field definitions. LLMs cannot infer what data is available for downstream tool calls or extraction.
Parameter 'project' in get_project_state, search_transcripts, lookup_fact, search_semantic lacks enum constraint. Description lists valid values ('jg, mb, gen, js, lt, jga, oth') as free text, not as a formal enum. LLMs may hallucinate invalid project codes.
No error handling guidance. Tools return plain strings on failure (e.g., 'No decisions or facts found for project X'). No structured error classification (retryable vs user-fixable vs fatal) or recovery hints for LLMs.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 58 | 2026-07-28+ | v2 |
Returns the status of the claude-brain system: database path, size, record counts, and semantic search availability.
Looks up a specific decision by number (e.g., 42) and returns its full details including rationale.
Looks up a specific fact by key and returns its value and confidence.
Semantic search across transcripts using sentence embeddings. Requires sentence-transformers to be installed. Falls back to keyword search if semantic search is unavailable.
FTS5 full-text search across all conversation transcripts. Returns up to 20 results ranked by relevance.
No tool annotations. Tools lack readOnlyHint, destructiveHint, or idempotentHint metadata. All tools are read-only (safe to retry), but this is not declared in the schema.
Result limits not consistently documented. search_transcripts caps at 20 results, get_recent_sessions/summaries default to 5-10, but descriptions do not state these limits. LLMs may expect more results than available.