petroglyphs-mcp
Exports handwriting strokes as an Excalidraw file to a configurable output directory.
Saves content as markdown into an Obsidian vault at the path configured with --vault-path.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@petroglyphs-mcp show me my latest handwritten note"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
petroglyphs-mcp
MCP server that bridges iPad handwriting input with LLMs. Captures handwriting as PNG images and exposes them via Model Context Protocol tools and resources.
Quick Start (Claude Desktop + iPad)
Prerequisites: Node.js (v18+) and Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"petroglyphs": {
"command": "npx",
"args": ["-y", "petroglyphs-mcp", "--port", "3333"]
}
}
}Restart Claude Desktop — it starts the MCP server automatically with both stdio (for Claude) and HTTP (for the iPad) on port 3333.
Note: Do not run
npx petroglyphs-mcp --port 3333separately if Claude Desktop is already running — the port will conflict. Claude Desktop manages the server for you.
Connect the iPad
Make sure your iPad and computer are on the same Wi-Fi network
Find your computer's local IP:
Mac: System Settings → Wi-Fi → Details → IP Address
Windows:
ipconfigin terminal, look for IPv4 under your Wi-Fi adapterLinux:
hostname -Iorip addr
Open the Petroglyphs iPad app → Server → enter
http://<your-ip>:3333The connection dot turns green when connected
Claude Desktop only (no iPad)
If you just want stdio mode without HTTP:
{
"mcpServers": {
"petroglyphs": {
"command": "npx",
"args": ["-y", "petroglyphs-mcp"]
}
}
}HTTP only (standalone, without Claude Desktop)
npx -y petroglyphs-mcp --port 3333Related MCP server: obsidian-excalidraw-universal-mcp
CLI Flags
Flag | Default | Description |
|
| HTTP server port |
| — | Path to Obsidian vault (enables |
|
| Output directory for Excalidraw exports |
|
| Max submissions kept in memory |
MCP Tools
Tool | Description |
| Returns the latest handwriting image (base64 PNG) with metadata |
| Returns the last N submissions with metadata |
| Saves content as markdown to an Obsidian vault |
| Exports strokes as an Excalidraw file |
| Clears all submissions from memory |
HTTP Endpoints
Endpoint | Method | Description |
| GET | Health check |
| POST | Submit handwriting image + metadata |
| POST | MCP Streamable HTTP transport |
iPad App
The companion iPad app lives at petroglyphs-app.
License
MIT
Available Tools
6 toolsclear_historyB
Clears all stored handwriting submissions
Inputs: no named parameters.
export_to_excalidrawA
Exports the latest handwriting strokes as an Excalidraw file (.excalidraw JSON)
Inputs: filename.
get_handwritingA
Get the latest drawing from Petroglyphs (petro) iPad. Returns the handwriting image (base64 PNG) with stroke metadata.
Inputs: no named parameters.
get_handwriting_historyB
Get drawing history from Petroglyphs (petro) iPad. Returns the last N handwriting submissions with metadata.
Inputs: limit.
get_pairing_codeA
Returns a 4-character pairing code for this session. The user enters this code on their iPad to link it to this Claude session. Each session gets one stable code.
Inputs: no named parameters.
save_to_obsidianB
Saves content as a markdown file to an Obsidian vault with YAML frontmatter. Optionally embeds the handwriting image.
Inputs: title (required), content (required), tags, folder, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a distinct action+resource: fetching the latest drawing, fetching history, clearing history, saving to Obsidian, exporting to Excalidraw, and retrieving a pairing code. The two get_handwriting* tools are related but clearly differentiated by 'history' in the name and description. No tool appears to do the same thing as another.
All names follow a consistent snake_case verb_noun pattern (get_*, clear_*, save_to_*, export_to_*). The destination-oriented suffix (_to_obsidian, _to_excalidraw) is used consistently. No mixed conventions or vague verbs.
Six tools is well-scoped for a handwriting-capture bridge to an iPad. Every tool earns its place: capture, history, cleanup, two export destinations, and session pairing. No filler or redundant tools.
The core lifecycle is covered: pair with iPad, fetch latest drawing, browse history, clear storage, and export to two destinations. Minor gaps exist—no way to fetch or delete a single history submission by id, and no delete of just the latest drawing versus the whole history—but agents can work around these with clear_history and get_handwriting.
Maintenance
Related MCP Connectors
Handwritten iPad journal your AI can read and write tasks back to, over MCP.
MCP-native notes and memory for ChatGPT, Claude, and other AI tools.
Wren is the AI handwriting notes app for iPad and Apple Pencil. This MCP server connects your AI assistant to your Wren notebook: ask for a graph, flowchart, formula, mind map, or a full study page, and it appears as real, editable ink in your notebook — synced to your iPad. With Wren connected, your AI can create handwritten notes with graphs, flowcharts, formulas, tables, bar charts, timelines, number lines, labelled diagrams, worked solutions and mind maps; add pages and multi-section study pages to existing notes; list and read your notes and notebooks; and look up your account profile. Your handwriting is yours: connected AI can only write on pages it created — it can never modify your own handwriting. Sign-in is Google OAuth; guest Wren accounts cannot be linked. Try: 'Graph y = x^2 - 4 in a new Wren note called Quadratics' · 'Make me a study page on photosynthesis' · 'Find my Wren notes with chemistry in the title'
Persistent memory layer for AI tools. Save and recall notes across Claude and other MCP clients.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to interact with Ratta Supernote e-ink tablets over Wi-Fi, allowing live screen capture, reading and rendering of handwriting notes, and file upload.70 npm2MIT
- AlicenseNot gradedqualityDmaintenanceMCP server enabling AI assistants to read and write Obsidian notes, create and edit Excalidraw drawings, and run Excalidraw scripts via natural language commands.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to read and write to an iPad whiteboard via MCP, including structured elements, handwritten text, and image rendering.MIT
- AlicenseAqualityBmaintenanceEnables AI agents like Claude Code and Codex to read handwriting and sketches drawn on a tablet in real time via MCP, with local recognition to text/LaTeX, session recording, and export to Markdown/Excalidraw.9MIT