Skip to content
FunCoding

rabbithole

An infinite canvas for learning — select text, ask, and answers branch out as documents. MCP server for Claude Code, Codex, and any agent.

Star
335
License
MIT
Last commit
Oct 27, 2026

Rabbithole

An infinite canvas for learning. Open a document, ask at any point, and follow each answer into a new document.

Rabbithole branching canvas demo

Open the web app · Explore the offline architecture tour

Rabbithole has two hosts and one canvas:

  • The static web app uses your chosen model endpoint or the coding-agent subscription already signed in on your machine.
  • The MCP server lets Claude Code, Codex, and other MCP clients answer while the canvas, storage, and local transport stay on your machine.

No account, telemetry, or hosted document store. Web documents live in your browser. MCP documents live under ~/.rabbithole/ unless RABBITHOLE_DIR overrides it.

Web

Visit rabbithole.ing, then paste a question or URL, drop Markdown or PDF, or import a Rabbithole file.

The web app supports OpenRouter, local and custom OpenAI-compatible endpoints, and the optional subscription bridge:

npx @shlokkhemani/rabbithole bridge

The bridge prints a private pairing link and connects the page to an installed, signed-in Claude Code or Codex CLI. It binds only to loopback.

MCP quick start

Requires Node 18+ and a browser.

Claude Code:

claude mcp add rabbithole -- npx -y github:shlokkhemani/rabbithole

Codex:

codex mcp add rabbithole -- npx -y github:shlokkhemani/rabbithole

Then start a fresh agent session and say:

Open this document in Rabbithole.

The tool call stays pending while the agent listens for canvas asks. If a client enforces a short MCP tool timeout, raise that client's timeout; saved asks survive disconnects and resume.

Develop

git clone https://github.com/shlokkhemani/rabbithole.git
cd rabbithole
npm install
npm run build
npm test

Useful references:

The canvas and frozen snapshots remain self-contained HTML. Package tarballs include the browser bundles built during packaging, so registry installs need no consumer-side build.

License

MIT. See LICENSE.

Similar MCP servers

Official

markitdown

Convert various file formats (PDF, Word, Excel, images, audio) to Markdown.

MImicrosoft/markitdown199k876 new stars in the last 7 days

HyperFrames by HeyGen

Official HyperFrames by HeyGen: the best AI video editor in chat. Captions, motion graphics, MP4.

HEheygen-com/hyperframes93k3,834 new stars in the last 7 days

Featured

tldraw

Collaborate with agents on a canvas: draw shapes and run code live.

TLtldraw/tldraw52k101 new stars in the last 7 days

Next AI Draw.io

draw.io diagrams your AI agent draws on a live browser canvas that you can also edit by hand

DADayuanJiang/next-ai-draw-io37k101 new stars in the last 7 days

Featured

mcp-for-blender

Let your agent model, build and edit 3D scenes in Blender.

AHahujasid/mcp-for-blender37k818 new stars in the last 7 days

screenpipe

Search your local screen recordings, audio transcripts, and computer activity from screenpipe.

SCscreenpipe/screenpipe23k83 new stars in the last 7 days