KSJ MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
git clone https://github.com/ChavezAILabs/ksj-mcp
cd ksj-mcp

Then follow the repository README for any remaining dependency or build steps before continuing.

2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add ksj-mcp -- node "<FULL_PATH_TO_KSJ_MCP>/dist/index.js"

Replace <FULL_PATH_TO_KSJ_MCP>/dist/index.js with the actual folder you prepared in step 1.

README.md

Turn your handwritten journal photos into a searchable, AI-powered knowledge base

KSJ MCP Server

Knowledge Synthesis Journal v2.0 — AI companion

Turn your handwritten journal photos into a searchable, AI-powered knowledge base — privately, on your own machine.

"Works great on paper. Magical with AI."

Get the journal: Knowledge Synthesis Journal v2.0 on Amazon


What it does

The KSJ MCP server connects your knowledge — handwritten or digital — to an AI assistant via the Model Context Protocol (MCP) — an open standard for linking AI models to local tools and data.

Physical journal → knowledge base

Photograph a journal page, upload it, and your AI assistant can:

  • Search across everything you've ever written
  • Find connections between ideas (shared tags, @ references)
  • Surface your open questions, key insights, and breakthroughs
  • Export your knowledge base as Markdown or JSON

AI research sessions → structured insights

Spend an hour going deep on a topic with an AI assistant and most of that thinking vanishes when the chat ends. extract_ai_insights fixes that — paste or pipe a session transcript and the server extracts what matters:

  • Novel hypotheses and seed ideas
  • Unexpected connections between concepts
  • Open questions worth pursuing
  • Decisions made and action items

Each insight is confidence-scored (🟢 Seed / 🔴 Developing / 🟡 Strong) and shown to you for review before anything is written to the database. Approved entries are stored alongside your journal captures with full tag support, so AI-extracted insights surface in searches, connection graphs, and synthesis suggestions alongside your handwritten notes.

All processing is local. Your notes stay on your machine.


AI Platform Support

This server uses MCP (Model Context Protocol), an open standard with growing support across AI platforms and developer tools.

Currently supported:

  • Claude Desktop (free) — full MCP support, recommended for getting started

Other MCP-compatible clients (Cursor, VS Code + GitHub Copilot, and others) can connect using the same config — check your client's MCP documentation for setup details.

Using ChatGPT, Gemini, or another platform? Use the export_captures tool to dump your knowledge base as Markdown or JSON, then paste it into your AI assistant of choice. Full native MCP support for additional platforms is on the roadmap as the ecosystem grows.


Setup (4 steps)

Step 1 — Install an MCP-compatible AI client

The fastest way to get started is Claude Desktop (free at claude.ai/download).

For other MCP clients, consult their documentation for how to register a local MCP server, then use the config in Step 4.

Step 2 — Install Tesseract OCR

Tesseract reads the text from your journal photos. It must be installed separately.

Platform Command
Windows Download the installer from UB-Mannheim/tesseract — check "Add to PATH" during install
macOS brew install tesseract
Linux sudo apt install tesseract-ocr

After installing, restart your AI client so the updated PATH is picked up.

Windows note: If you skip "Add to PATH", the server will still auto-detect Tesseract at the default install location (C:\Program Files\Tesseract-OCR\). Adding to PATH is recommended but not required.

Step 3 — Install uv and the KSJ server

uv is a fast Python package manager used to install and run the KSJ server.

Install uv:

Platform Command
Windows winget install astral-sh.uv or download from astral.sh/uv
macOS/Linux curl -LsSf https://astral.sh/uv/install.sh | sh

Verify with uv --version in a terminal before continuing.

Install the KSJ server (run once in a terminal):

uv tool install --from git+https://github.com/ChavezAILabs/ksj-mcp ksj-mcp

This installs ksj-mcp as a persistent command on your machine. Git must be installed for this step (Windows: Git for Windows).

Verify with ksj-mcp --help — if it shows a help message, the install worked.

To update later:

uv tool upgrade ksj-mcp

Step 4 — Register the server

Claude Desktop config file location:

Platform Path
Windows %APPDATA%\Claude\claude_desktop_config.json
macOS/Linux ~/.config/claude/claude_desktop_config.json

Add the following block:

{
  "mcpServers": {
    "ksj": {
      "command": "ksj-mcp"
    }
  }
}

Save and restart your AI client. You should see ksj listed in the tools/integrations panel.


Usage

Once connected, talk to your AI assistant naturally.

Uploading:

"Upload my journal photo from /Users/me/Desktop/RC-001.jpg"

"Process all the photos in my /Desktop/journal-scans folder"

Searching & browsing:

"Search my notes for ideas about spaced re

Tools (2)

extract_ai_insightsExtracts novel hypotheses, connections, open questions, and action items from AI session transcripts.
export_capturesDumps the knowledge base as Markdown or JSON for use in other AI platforms.

Configuration

claude_desktop_config.json
{"mcpServers": {"ksj": {"command": "ksj-mcp"}}}

Try it

Upload my journal photo from /Users/me/Desktop/RC-001.jpg
Process all the photos in my /Desktop/journal-scans folder
Search my notes for ideas about spaced repetition
Extract insights from this AI research session transcript

Frequently Asked Questions

What are the key features of KSJ MCP Server?

Converts handwritten journal photos to searchable text using Tesseract OCR. Extracts structured insights from AI research session transcripts. Supports tag-based connections and @ references across notes. Exports knowledge base as Markdown or JSON. Operates entirely locally for data privacy.

What can I use KSJ MCP Server for?

Digitizing handwritten journal entries for searchable long-term storage. Synthesizing key insights and action items from long AI research chats. Connecting ideas across disparate handwritten notes and digital research. Maintaining a private, local knowledge base without cloud dependency.

How do I install KSJ MCP Server?

Install KSJ MCP Server by running: uv tool install --from git+https://github.com/ChavezAILabs/ksj-mcp ksj-mcp

What MCP clients work with KSJ MCP Server?

KSJ MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep KSJ MCP Server docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare