Skip to main content
Glama

Visual Thinker

Interact, play, learn and contribute.

A shared canvas where Claude sees your drawing as data, not pixels.

CI License: MIT

Writing H and I, teaching a new letter t in the chat, then writing t again and it is read alone

🚧 Early days. Visual Thinker is being built in the open toward its first release, v0.1.0. Every change you can see lands with a GIF in docs/changes.md.

What it is

You draw on a canvas, and every stroke reaches Claude as structured events instead of a screenshot: the ink, and what the canvas read from it (a line, a circle, an X). Claude answers on the same canvas, by object id, never by pixels.

Related MCP server: tl-draw-mcp

✍️ Teach it your handwriting

Handwriting is the first ability: the canvas reads your letters, and you teach it the ones it doesn't know.

step

what happens

✏️ you write

each letter's strokes are measured: its lines, curves, where they meet and cross, its loops

πŸ”Ž it reads

your own saved examples first, then built-in character cards, then Claude when nothing is sure

πŸ’¬ you teach

say "it's t" in the chat; Claude labels the letter and it's saved as one of your examples

πŸ” it learns

next time that letter is read alone, from your example, often from just one

Your examples are kept with the ability, in abilities/handwriting/data/examples.json. The ability has its own README.

The canvas after a teaching session: capitals A–Z and digits, each labelled with its score and who taught it

Taught so far, in one sitting: all capitals but Q and the digits 0–9, 60 examples. Next: lowercase, then sentences, then Claude writing back through the same examples.

Try it

The canvas runs on its own. You need Node 24 and pnpm.

pnpm install
pnpm dev

Then open the address it prints. Draw with the pen, place boxes, circles and arrows, select with the arrow, a box or a lasso, and resize or rotate with the handles.

Use it with Claude Code

Once the visthinker package is on npm, adding it to Claude Code is one line:

claude mcp add visthinker -- npx visthinker

It isn't published yet. Until then, build it from this repo and point Claude Code at the built file:

pnpm install && pnpm build
claude mcp add visthinker -- node "$PWD/packages/visthinker/dist/visthinker.js"

Then ask Claude to open the canvas, draw something, and talk about it in the chat.

How it works

How a stroke reaches Claude, and back

part

what it does

status

πŸ–ΌοΈ Canvas

React + Konva in your browser: ink, shapes, select, transform, chat, events, projects

βœ… first draft

πŸ“œ Contract

the shared shapes: events, scene objects, strokes, MCP tools, packs

βœ… working

⚑ Core

pure TypeScript: the event story, the scene, undo, and the Fast Brain that reads your strokes

βœ… working

πŸ”Œ Bridge

a local MCP server that connects the canvas to Claude Code

βœ… working

πŸ“¦ Packs

knowledge as small data packs, not code changes

βœ… working

✍️ Handwriting

an ability: you write, it reads, you teach it in the chat; Claude writing back is next

βœ… first cut

More in docs/architecture.md.

Layout

packages/contract   the shared shapes, as Zod schemas
packages/core       the Fast Brain: no React, no Konva, no Node
packages/bridge     the MCP server
packages/visthinker the npm package: the bridge bundled with the canvas and packs
apps/canvas         the React + Konva app
packs/              the starter packs: shapes, modes
docs/               how it's built, why, and where it's going

Imports go one way: the canvas uses the core, and the core uses only the contract. Lint enforces it.

Docs

file

what's in it

architecture.md

the packages, and how a stroke travels

decisions.md

the decisions that shape this repo

journey.md

how it got here

design-system.md

how the whole app looks

user-stories.md

who it's for and what they can do

changes.md

every visible change, with its GIF

CLAUDE.md

how an agent works in this repo

Open core

The app runs fully on your machine and is open source under the MIT licence. An optional hosted API can add packs later, and you can plug in your own.

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides a collaborative SVG canvas that allows Claude to create, read, and manipulate graphics in real-time through a browser-based Fabric.js editor. It enables seamless bidirectional interaction between the AI and user for visual tasks like UI prototyping, diagramming, and template management.
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables Claude to draw on a live tldraw canvas from prompts, with real-time visualization in a browser. Provides tools for creating, updating, deleting shapes and retrieving canvas state.
      16
      MIT